Skip to content

Instantly share code, notes, and snippets.

@suryasaha
Created January 29, 2014 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suryasaha/8690930 to your computer and use it in GitHub Desktop.
Save suryasaha/8690930 to your computer and use it in GitHub Desktop.
polypeptide example
feature_id | name | uniquename | type_id | fmin | fmax | type_name
------------+------------------------------+------------------------------------+---------+----------+----------+-------------
17711944 | Solyc01g112000.2.1 | mRNA:Solyc01g112000.2.1 | 22157 | 89896493 | 89898383 | mRNA
17711943 | Solyc01g112000.2 | gene:Solyc01g112000.2 | 22627 | 89896493 | 89898383 | gene
17711945 | exon:Solyc01g112000.2.1.1 | exon:Solyc01g112000.2.1.1 | 22070 | 89896493 | 89896528 | exon
17711946 | intron:Solyc01g112000.2.1.1 | intron:Solyc01g112000.2.1.1 | 22111 | 89896528 | 89896791 | intron
17711947 | exon:Solyc01g112000.2.1.2 | exon:Solyc01g112000.2.1.2 | 22070 | 89896791 | 89896911 | exon
18050281 | Solyc01g112000.2.1 | auto18050281 | 22027 | 89896799 | 89898180 | polypeptide
17711948 | intron:Solyc01g112000.2.1.2 | intron:Solyc01g112000.2.1.2 | 22111 | 89896911 | 89896990 | intron
17711949 | exon:Solyc01g112000.2.1.3 | exon:Solyc01g112000.2.1.3 | 22070 | 89896990 | 89897100 | exon
17711950 | intron:Solyc01g112000.2.1.3 | intron:Solyc01g112000.2.1.3 | 22111 | 89897100 | 89897182 | intron
17711951 | exon:Solyc01g112000.2.1.4 | exon:Solyc01g112000.2.1.4 | 22070 | 89897182 | 89897361 | exon
17711952 | intron:Solyc01g112000.2.1.4 | intron:Solyc01g112000.2.1.4 | 22111 | 89897361 | 89897710 | intron
17711953 | exon:Solyc01g112000.2.1.5 | exon:Solyc01g112000.2.1.5 | 22070 | 89897710 | 89897843 | exon
17711954 | intron:Solyc01g112000.2.1.5 | intron:Solyc01g112000.2.1.5 | 22111 | 89897843 | 89897928 | intron
17711955 | exon:Solyc01g112000.2.1.6 | exon:Solyc01g112000.2.1.6 | 22070 | 89897928 | 89898383 | exon
17711958 | exon:Solyc01g112010.2.1.7 | exon:Solyc01g112010.2.1.7 | 22070 | 89898591 | 89898903 | exon
@suryasaha
Copy link
Author

SQL: select feature.feature_id,feature.name,uniquename,type_id,fmin,fmax,cvterm.name as type_name from feature,featureloc,cvterm where feature.feature_id=featureloc.feature_id and feature.name like '%Solyc01g112%' and feature.type_id=cvterm.cvterm_id order by fmin;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment