Filtering Fasta files in QIIME

Just discovered this script to filter my input fasta sequences in QIIME (e.g. post-demultiplexed samples with SampleId_SeqID header format). Needed to do some filtering on the GOM Illumina data, as follows:

filter_fasta.py -f /Users/hollybik/Desktop/Data/Illumina_GOM/demultiplexed_qiime1.7/GOM_concat1.7_rev_demulti_1to12_2.fna -o /Users/hollybik/Desktop/Data/Illumina_GOM/demultiplexed_qiime1.7/GOM_concat1.7_rev_demulti_1to12_2_F04only.fna --sample_id_fp /Users/hollybik/Dropbox/Projects/GOM_Illumina_Dauphin/QIIME_files/Dec_2013/QIIMEmappingfile_GOM_Illumina_fakebarcodes_F04only.txt
filter_fasta.py -f /Users/hollybik/Desktop/Data/Illumina_GOM/demultiplexed_qiime1.7/GOM_concat1.7_rev_demulti_1to12_2.fna -o /Users/hollybik/Desktop/Data/Illumina_GOM/demultiplexed_qiime1.7/split_by_sample_Dec2013/GOM_concat1.7_rev_demulti_1to12_2_R22only.fna --sample_id_fp /Users/hollybik/Dropbox/Projects/GOM_Illumina_Dauphin/QIIME_files/Dec_2013/QIIMEmappingfile_GOM_Illumina_fakebarcodes_R22only.txt
filter_fasta.py -f /Users/hollybik/Desktop/Data/Illumina_GOM/demultiplexed_qiime1.7/GOM_concat1.7_fwd_demulti_1to12_1.fna -o /Users/hollybik/Desktop/Data/Illumina_GOM/demultiplexed_qiime1.7/split_by_sample_Dec2013/GOM_concat1.7_fwd_demulti_1to12_1_F04only.fna --sample_id_fp /Users/hollybik/Dropbox/Projects/GOM_Illumina_Dauphin/QIIME_files/Dec_2013/QIIMEmappingfile_GOM_Illumina_fakebarcodes_F04only.txt
filter_fasta.py -f /Users/hollybik/Desktop/Data/Illumina_GOM/demultiplexed_qiime1.7/GOM_concat1.7_fwd_demulti_1to12_1.fna -o /Users/hollybik/Desktop/Data/Illumina_GOM/demultiplexed_qiime1.7/split_by_sample_Dec2013/GOM_concat1.7_fwd_demulti_1to12_1_R22only.fna --sample_id_fp /Users/hollybik/Dropbox/Projects/GOM_Illumina_Dauphin/QIIME_files/Dec_2013/QIIMEmappingfile_GOM_Illumina_fakebarcodes_R22only.txt
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: