Remove Motif Sequence From The Fasta File Of Sequences
1
0
Entering edit mode
10.1 years ago
tarakaramji ▴ 10

Dear colleagues! I have a file with sequences in FASTA format. I want to remove part of sequence with known coordinates from the fasta file. In detail, i have a file1 with sequence ID with coordinates and file 2 has the fasta sequences of all that were mentioned in the file1. taking this coordinates into consideration from file1, matching them with fasta file2 and get the sequence without the mentioned coordinate part sequence. Any help would be highly appreciated.

fasta perl bioperl • 3.2k views
ADD COMMENT
1
Entering edit mode

Could you please write an example of what you need to get done? It's hard to understand from verbal description only.

ADD REPLY
0
Entering edit mode

This falls into the category "parse a FASTA file and do something with it." As you have tagged your question "perl/bioperl", step 1 is "learn how to parse a FASTA file using those tools". So start with the SeqIO how-to.

ADD REPLY
0
Entering edit mode
10.1 years ago

Rather than make a perl solution, you could try BEDTools. It should be able to get you the intersection of a fasta file with a .bed file of coordinates.

ADD COMMENT

Login before adding your answer.

Traffic: 2616 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