News and Announcements » |
Description:
This script combines the output of the denoising step with the OTU picker results. This script has to be run after denoising and OTU picking to combine the denoiser clusters and OTU clusters. The input to the script is:
DENOISER_MAP_FILE: the cluster mapping from the denoiser, usually denoiser_mapping.txt in the denoiser output directory
DENOISED_FASTA_FP: path to the output FASTA file of the denoiser (centroids.fasta and singletons.fasta in the denoiser output dir. Concatenate if you want to include both)
OTU_PICKER_MAP_FILE: path to OTU mapping file from OTU picking on the
FASTA_FP: path to FASTA input file, thus has to be the output of split_libraries.py
See the tutorial on 454 Denoising in the QIIME tutorials on how to use this script properly.
Usage: merge_denoiser_output.py [options]
Input Arguments:
Note
[REQUIRED]
[OPTIONAL]
Output:
Two files are generated:
These two files need to be provided to pick_rep_set using -m first
Example usage:
Merge the output of denoising (denoised_seqs.fasta and denoiser_mapping.txt) the OTU picker results on denoised_seqs.fasta (uclust_picked_otus/denoised_seqs_otus.txt) and replace the read IDs with the sampleIDs from the output of split_libraries.py (seqs.fna)
merge_denoiser_output.py -f seqs.fna -d denoised_seqs.fasta -m denoiser_mapping.txt -p uclust_picked_otus/denoised_seqs_otus.txt