Wrong URI while adding GFF track
See original GitHub issueWhile adding a new track to an assembly with the following command;
jbrowse add-track --trackType=FeatureTrack -n 'Annotation' --assemblyNames=CHL-ADG1 -l inPlace /mnt/www/pgdp-jbrowse2/jbrowse2/data/chl-adg1/ADG1_cp.gff.gz
It outputs this in the config.json as;
{
"type": "FeatureTrack",
"trackId": "ADG1_cp.gff",
"name": "Annotation",
"assemblyNames": [
"CHL-ADG1"
],
"adapter": {
"type": "Gff3TabixAdapter",
"gffGzLocation": {
"uri": "ADG1_cp.gff.gz"
},
"index": {
"location": {
"uri": "ADG1_cp.gff.gz.tbi"
},
"indexType": "TBI"
}
}
}
Which generates a HTTP 404 error due to file being not located. I solved the problem by adding the location of the file to the URIs manually.
{
"type": "FeatureTrack",
"trackId": "ADG1_cp.gff",
"name": "Annotation",
"assemblyNames": [
"CHL-ADG1"
],
"adapter": {
"type": "Gff3TabixAdapter",
"gffGzLocation": {
"uri": "data/chl-adg1/ADG1_cp.gff.gz"
},
"index": {
"location": {
"uri": "data/chl-adg1/ADG1_cp.gff.gz.tbi"
},
"indexType": "TBI"
}
}
}
Thank you, Ilayda
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
Frequently Asked Questions: Custom Annotation Tracks
This error is caused by a logical conflict in the Genome Browser software. It accepts custom GFF tracks that have multiple "exons" at...
Read more >GFF format trouble · Issue #20 · jaumlrc/ProphET - GitHub
I validated my GFF file and i still receive this error "The following line does not have 9 columns separated by , a...
Read more >Error in parseURI("") : cannot parse URI (issue resolved)
I tried, but the read counting was not finished after 72hrs, so I assumed the counting was too heavy, shift my effort to...
Read more >Troubleshooting - JBrowse
From what we have seen, the "Integer overflow error" sometimes appears on BigWig tracks when your webserver is not configured correctly.
Read more >Adding Custom Tracks - Ensembl GRCh37
Upload a file to our servers (max 20MB unzipped), from either your own computer or a location on the web (URL-based data). If...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
To keep things organized, you can use --subDir which will copy the file to a subdirectory e.g.
jbrowse add-track myfile.bam --load copy --subDir bams
This will copy myfile.bam and myfile.bam.bai to a bams subdirectory, and output a track config like this
It is true that it would get hard to organize the data directory properly without using something like --subDir, but let me know if that helps.
It is also allowed to use --load inPlace as you were using it if we fix the bug with it!
To be clear, using
--load inPlace data/chl-adg1/ADG1_cp.gff.gz.tbi
and not--load inPlace /mnt/www/pgdp-jbrowse2/jbrowse2/data/chl-adg1/ADG1_cp.gff.gz
…once we fix the bug