fasta output headers

97 views
Skip to first unread message

fre...@uci.edu

unread,
Jan 16, 2019, 1:51:41 PM1/16/19
to TransDecoder-users
I noticed that in the headers for the output .cds and .pep files that the fasta headers don't include the gene IDs from the input gtf/fasta file, and I was wondering if this is on purpose, especially considering that the transcript ID is duplicated 3 times in the same fasta header. It seems unnecessary and would be useful to have the gene IDs in the fasta headers as well. I've written a script to solve this but the more I think about it the more I imagine that the gene IDs were supposed to make it into the fasta output. I've attached a picture of the output .pep file from a run with the headers underlined.

Screen Shot 2019-01-16 at 10.48.57.png


Brian Haas

unread,
Jan 17, 2019, 9:14:21 AM1/17/19
to fre...@uci.edu, TransDecoder-users
Hi,

If you provide the --gene_trans_map file to the TransDecoder.LongOrfs step, it should use that to retain any original gene/transcript relationship info and carry it through.  You'd need to rerun from the beginning in a clean workspace, though, since it would otherwise try to reuse earlier generated outputs, in the case you want to give it a whirl.

best,

~b

On Wed, Jan 16, 2019 at 1:51 PM <fre...@uci.edu> wrote:
I noticed that in the headers for the output .cds and .pep files that the fasta headers don't include the gene IDs from the input gtf/fasta file, and I was wondering if this is on purpose, especially considering that the transcript ID is duplicated 3 times in the same fasta header. It seems unnecessary and would be useful to have the gene IDs in the fasta headers as well. I've written a script to solve this but the more I think about it the more I imagine that the gene IDs were supposed to make it into the fasta output. I've attached a picture of the output .pep file from a run with the headers underlined.

Screen Shot 2019-01-16 at 10.48.57.png


--
You received this message because you are subscribed to the Google Groups "TransDecoder-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to transdecoder-us...@googlegroups.com.
To post to this group, send email to transdeco...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/transdecoder-users/a59a8d95-98f8-4972-97eb-e05d74f358e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
--
Brian J. Haas
The Broad Institute
http://broadinstitute.org/~bhaas

 

fre...@uci.edu

unread,
Jan 17, 2019, 1:03:33 PM1/17/19
to TransDecoder-users
Thanks!
Reply all
Reply to author
Forward
0 new messages