DNA sequences trimming methods
Hello,
This is my situtation:
I have about 2000 DNA sequences to process, but I just want to work with the coding region of them. I have the coordinates of all CDSs (that I got with Prodigal) in a file with this format:
DEFINITION seqnum=1;seqlen=8075;seqhdr="KU821590.1 Foot-and-mouth disease virus - type SAT 1 isolate SAT1/NAM01/2010, complete
genome";version=Prodigal.v2.6.3;run_type=Single;model="Ab initio";gc_cont=53.37;transl_table=11;uses_sd=0
FEATURES Location/Qualifiers
CDS 1026..8045
/note="ID=1_1;partial=00;start_type=ATG;rbs_motif=None;rbs_spacer=None;gc_cont=0.537;conf=99.99;score=1639.83;cscore=1612.89;sscore=26.93;rscore=-13.40;uscore=34.66;tscore=5.68;"
How could I extract the sequence file that corresponds to the coordinates into a FASTA file?
• 2,780 views
•
link
1 answer
I could solve my problem calling ' -d ' in PRODIGAL parametres.
• 0 views
•
link
Log in to answer this question.
You'll need to parse out the header and coordinate information from your file, then match to the headers in your fasta, and use the coordinates per header to cut each sequence.
Can you post a few more lines of your file from Prodigal?
The file consists of repetitions like this...
Is this genbank format? You can convert it to bed (see some discussion here) and get the regions of interest with bedtools or bedops.
Not all of my sequences are genebank format!
What is the output format you chose for prodigal? Do you have a mix of formats?
Hello Lucas Souza!
We believe that this post does not fit the main topic of this site.
I could solve my problem calling ' -d ' in PRODIGAL parametres.
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!
hi Lucas, you do not need to close the question, you may add your own answer and accept it. This would be better, as it would point a good solution to people with the same or similar questions.
Hi h.mom, I opened the question again. Thank you for the info!