How to filter out special sequences from a fasta file based on sequence IDs txt
0
0
Entering edit mode
9.2 years ago
Ginsea Chen ▴ 140

Dear all

I want to remove some sequences from a fasta file based on a sequence IDs txt file. I have known that a available python script (filter_fasta.py) can be used to do this, while the installation of this package (filter_fasta.py is one of scripts of QIIME suite, this package need real 64-bit machine, while all of my computers are 32-bit) is so complex. So I want to know if other script can be used.

Example

fasta file

>A
ATGCGGCGCGAGAGA
>B
AGCTCGATCGATACGTAG
>C
AGCTAAGCTAGATAGCTAG

sequence IDs file

A
B

I want to remove A and B sequences from fasta file. Thanks for your help!

Best Regards

fasta • 8.2k views
ADD COMMENT
1
Entering edit mode
ADD REPLY
1
Entering edit mode
ADD REPLY

Login before adding your answer.

Traffic: 1858 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6