Question: Find Protein Id From Gff File For Results Of Cufflinks
0
gravatar for ferris.us
5.1 years ago by
ferris.us20
ferris.us20 wrote:

I have transcripts.gtf file from cufflinks and gff file from JGI. How can I find the protein id from gff file for each transcript in transcripts.gtf?

id gff cufflinks protein • 1.6k views
ADD COMMENTlink modified 3.4 years ago by Biostar ♦♦ 20 • written 5.1 years ago by ferris.us20

Are you saying that transcript ID appears in both files and you want to know how to match? It would help to see an example line and example IDs from each file.

ADD REPLYlink written 5.1 years ago by Neilfws48k
0
gravatar for Alex Reynolds
5.1 years ago by
Alex Reynolds28k
Seattle, WA USA
Alex Reynolds28k wrote:

BEDOPS gtf2bed, gff2bed and bedmap could perhaps help, if the GTF and GFF inputs follow specification:

$ gtf2bed < transcripts.gtf > transcripts.bed
$ gff2bed < proteinIds.gff > proteinIds.bed
$ bedmap --echo --echo-map-id-uniq transcripts.bed proteinIds.bed > answer.bed

The file answer.bed will contain transcript elements from the GTF file, along with a semi-colon-delimited list of unique protein IDs from the GFF file, where the GFF element overlaps the Cufflinks-sourced transcript by one or more bases.

ADD COMMENTlink modified 5.1 years ago • written 5.1 years ago by Alex Reynolds28k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 752 users visited in the last hour