News and Announcements » |
Description:
Usage: filter_fasta.py [options]
Input Arguments:
Note
[REQUIRED]
[OPTIONAL]
Output:
Keep all sequences that show up in an OTU map:
filter_fasta.py -f inseqs.fasta -o filtered_seqs.fasta -m uclust_ref_otus.txt
Discard all sequences that show up in chimera checking output. NOTE: It is very important to pass -n here as this tells the script to negate the request, or discard all sequences that are listed via -s. This is necessary to remove the identified chimeras from inseqs.fasta:
filter_fasta.py -f inseqs.fasta -o non_chimeric_seqs.fasta -s chimeric_seqs.txt -n
Keep all sequences listed in a text file:
filter_fasta.py -f inseqs.fasta -o filtered_seqs.fasta -s seqs_to_keep.txt