extracting sequence from large fasta file
I want to extract subsequences from a large fasta file. For example, I need to extract the subsequence from location 46 to 3615 for the id IWGSC_scaff_1308330. I have 1500 such ids and each id contains a range. Is there any script available?
• 3,558 views
•
link
1 answer
Load sequence in a java String or StringBuilder and get the substring between your two positions
• 0 views
•
link
Log in to answer this question.
search biostars please. This question has been already asked a gazillon times. E.g: Getting Sequence Based On Chromosome No And Coordinates From Whole Genome Fasta File
does it.
duplicate question, but: http://sites.psu.edu/biomonika/2014/08/08/extract-sequence-from-fasta-file-at-particular-positions-only/
Hello sbdk82!
Questions similar to yours can already be found at:
We have closed your question to allow us to keep similar content in the same thread.
If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.
Cheers!
PS: Duplicate post of question asked many times