jbrowse-components icon indicating copy to clipboard operation
jbrowse-components copied to clipboard

Gene with CDS subfeatures is not rendered

Open cmdcolin opened this issue 1 year ago • 3 comments
trafficstars

GFF from NCBI for SARS-CoV2 has this format

image

more support for "bare CDS" type features in general may benefit (e.g. allowing sequence feature panel to work on them, currently it only works on transcript type features)

cmdcolin avatar Jan 31 '24 00:01 cmdcolin

gff lines look approximately like this

NC_045512.2	RefSeq	gene	266	21555	.	+	.	ID=gene-GU280_gp01;Dbxref=GeneID:43740578;Name=ORF1ab;gbkey=Gene;gene=ORF1ab;gene_biotype=protein_coding;locus_tag=GU280_gp01
NC_045512.2	RefSeq	CDS	266	13468	.	+	0	ID=cds-YP_009724389.1;Parent=gene-GU280_gp01;Dbxref=GenBank:YP_009724389.1,GeneID:43740578;Name=YP_009724389.1;Note=pp1ab%3B translated by -1 ribosomal frameshift;exception=ribosomal slippage;gbkey=CDS;gene=ORF1ab;locus_tag=GU280_gp01;product=ORF1ab polyprotein;protein_id=YP_009724389.1
NC_045512.2	RefSeq	CDS	13468	21555	.	+	0	ID=cds-YP_009724389.1;Parent=gene-GU280_gp01;Dbxref=GenBank:YP_009724389.1,GeneID:43740578;Name=YP_009724389.1;Note=pp1ab%3B translated by -1 ribosomal frameshift;exception=ribosomal slippage;gbkey=CDS;gene=ORF1ab;locus_tag=GU280_gp01;product=ORF1ab polyprotein;protein_id=YP_009724389.1

note that this technically also has ribosomal slippage

cmdcolin avatar Jan 31 '24 00:01 cmdcolin

gff from "Send to->File->Complete record->GFF3" at https://www.ncbi.nlm.nih.gov/nuccore/NC_045512

cmdcolin avatar Jan 31 '24 00:01 cmdcolin

motivated by testing msa viewer on non-human examples

cmdcolin avatar Jan 31 '24 00:01 cmdcolin

worth checking into this some more, ian's students trying to load some viral genomes:)

cmdcolin avatar Nov 26 '24 18:11 cmdcolin