From: Paul S. <pau...@gm...> - 2010-08-06 16:05:52
|
I'm trying to create a feature track that contains nested features, similar to the mRNA track in the Drosophila. Here is the GFF file that I am using as input, ##gff-version 3 NC_004578 GenBank gene 8438 15223 . + 1 ID=1489763; NC_004578 GenBank CDS 9000 10000 . + 1 ID=9695423; Parent:1489763; NC_004578 GenBank CDS 11000 12000 . + 1 ID=9695424; Parent:1489763; Here is how I am invoking flatfile-to-json.pl, ./bin/flatfile-to-json.pl --gff2 test.gff --getType --getSubs --tracklabel test --key test --subfeatureClasses '{"CDS": "transcript-CDS"}' I can see that both trackData.json and subfeatures-1.json are being created in the right track directory. Here is what gets inserted into trackInfo.js { "url" : "data/tracks/{refseq}/test/trackData.json", "type" : "FeatureTrack", "label" : "test", "key" : "test" } For starters, I see that "subfeatures":true needs to be added to trackInfo.js, but what else? (I tried following the configuration provided for the Drosophila, but the syntax used for that example and for the for the config file reference documentation appear to be out of sync with the current implementation.) Thanks. |