Closed hexylena closed 5 years ago
The existence of the dot in the sample name might mess it up:)
looks like you were right, ugh, ok, going to have to do some aggressive post-processing to ensure compliant naming. Thanks!
Next issue:
Can you clarify your setup
Ok, I was serving this locally, deploying to an nginx server in order to share with you and it works perfectly there, I'm guessing a byte range issue again :(
Argh, so sorry for the noise, it was rendering fine (which initially confused me into closing) but exhibits the same "mousing over results in weird moving of blocks"
This occurs in current firefox + chrome on linux for me
Edit
Edit 2
This seems to be a minimal example:
a score=8422
s CP0240901 1551524 122 + 4592887 CGTAGGCCGGATAAGGCGTTCA---CGCTGCATCCGGCAC-------CCGGAGCCTGATGCGACGCTGGCGCGTCTTATCAGGCCTACAAA-------CCGAGCCGTAGGCCGGATAAGGCGTTTACGCCGCATCCGGC
s Ecoli_C 965232 139 - 4576293 CGTAGGCCGGATAAGGCGTTCATTACGCCGCATCCGGCATTTGTGCGCTGATGCCTGATGCGACGCTGACGCGTCTTATCATGCCTACAAATCTGTACCCGAACCGTAGGCCGAATAATGCGTTTACGCCGCATCCGAC
a score=8422
s LT9064741 1550663 122 + 4625968 CGTAGGCCGGATAAGGCGTTCA---CGCTGCATCCGGCAC-------CCGGAGCCTGATGCGACGCTGGCGCGTCTTATCAGGCCTACAAA-------CCGAGCCGTAGGCCGGATAAGGCGTTTACGCCGCATCCGGC
s Ecoli_C 965232 139 - 4576293 CGTAGGCCGGATAAGGCGTTCATTACGCCGCATCCGGCATTTGTGCGCTGATGCCTGATGCGACGCTGACGCGTCTTATCATGCCTACAAATCTGTACCCGAACCGTAGGCCGAATAATGCGTTTACGCCGCATCCGAC
a score=8422
s Ecoli_C 1550662 122 + 4576293 CGTAGGCCGGATAAGGCGTTCA---CGCTGCATCCGGCAC-------CCGGAGCCTGATGCGACGCTGGCGCGTCTTATCAGGCCTACAAA-------CCGAGCCGTAGGCCGGATAAGGCGTTTACGCCGCATCCGGC
s Ecoli_C 965232 139 - 4576293 CGTAGGCCGGATAAGGCGTTCATTACGCCGCATCCGGCATTTGTGCGCTGATGCCTGATGCGACGCTGACGCGTCTTATCATGCCTACAAATCTGTACCCGAACCGTAGGCCGAATAATGCGTTTACGCCGCATCCGAC
{
"formatVersion": 1,
"tracks": [
{
"chunkSizeLimit": "2800000",
"label": "MAF",
"samples": [
"CP0205431",
"CP0240901",
"Ecoli_C",
"LT9064741"
],
"storeClass": "MAFViewer/Store/SeqFeature/MAFTabix",
"type": "MAFViewer/View/Track/MAF",
"urlTemplate": "mwe.txt.gz"
}
]
}
$ ./plugins/MAFViewer/bin/maf2bed.pl < mwe.maf 2>/dev/null | sort -k1,1 -k2,2n | bgzip > data/mwe.txt.gz
$ tabix -p bed data/mwe.txt.gz
It is also displaying for the incorrect genomes:
Edit 4
Trying to minimize the example further, noticed that the perl script needs a final print, it's returning 1 fewer region than I have in my maf file.
$ cat mwe.maf
a score=8422
s CP0240901 1551524 122 + 4592887 CGTAGGCCGGATAAGGCGTTCA---CGCTGCATCCGGCAC-------CCGGAGCCTGATGCGACGCTGGCGCGTCTTATCAGGCCTACAAA-------CCGAGCCGTAGGCCGGATAAGGCGTTTACGCCGCATCCGGC
s Ecoli_C 965232 139 - 4576293 CGTAGGCCGGATAAGGCGTTCATTACGCCGCATCCGGCATTTGTGCGCTGATGCCTGATGCGACGCTGACGCGTCTTATCATGCCTACAAATCTGTACCCGAACCGTAGGCCGAATAATGCGTTTACGCCGCATCCGAC
a score=8422
s LT9064741 1550663 122 + 4625968 CGTAGGCCGGATAAGGCGTTCA---CGCTGCATCCGGCAC-------CCGGAGCCTGATGCGACGCTGGCGCGTCTTATCAGGCCTACAAA-------CCGAGCCGTAGGCCGGATAAGGCGTTTACGCCGCATCCGGC
s Ecoli_C 965232 139 - 4576293 CGTAGGCCGGATAAGGCGTTCATTACGCCGCATCCGGCATTTGTGCGCTGATGCCTGATGCGACGCTGACGCGTCTTATCATGCCTACAAATCTGTACCCGAACCGTAGGCCGAATAATGCGTTTACGCCGCATCCGAC
$ ./plugins/MAFViewer/bin/maf2bed.pl < mwe.maf Ecoli_C
Ecoli_C 965232 965371 Ecoli_C_1 1 CP0240901:1551524:122:+:4592887:CGTAGGCCGGATAAGGCGTTCA---CGCTGCATCCGGCAC-------CCGGAGCCTGATGCGACGCTGGCGCGTCTTATCAGGCCTACAAA-------CCGAGCCGTAGGCCGGATAAGGCGTTTACGCCGCATCCGGC,Ecoli_C:965232:139:-:4576293:CGTAGGCCGGATAAGGCGTTCATTACGCCGCATCCGGCATTTGTGCGCTGATGCCTGATGCGACGCTGACGCGTCTTATCATGCCTACAAATCTGTACCCGAACCGTAGGCCGAATAATGCGTTTACGCCGCATCCGAC
This is an issue related to https://github.com/cmdcolin/mafviewer/issues/7 I think, I recommend making sure there are non-overlapping chunks
I dunno if there's a better way, open to opinions
So does the mwe.maf
above count as overlapping? I experience the error with only that 7 line maf file converted/indexed. It only has two mapped regions, to two different genomes. Yes they're in the same place but diff targets.
If you load the feature as a plain CanvasFeatures track it should have no overlapping elements for this plugin. MAF files from UCSC were what I originally designed it for which have this property
Here is how it looks in the test dataset for c.elegans ?data=plugins/MAFViewer/test/data. You can see that all the canvas features are not overlapping, yet it still contains all the info for each species
This is how it looks in your dataset
What it expects is that each "block" contains all the info for all the species, not separate species in different overlapping blocks. I think if you wanted separate species in different overlapping blocks you might make them different tracks entirely, or this plugin would require a fair amount of re-coding
I'm working with small orgs so, not quite confident on how things should be working? Maybe you can provide some advice @cmdcolin
I've got an e coli genome (+ some relatives) https://usegalaxy.eu/u/helena-rasche/h/maf-test, specifically dataset 24, and I'm trying to get this setup in jbrowse locally.
I've run:
My tracklist looks like:
(samples determined by grepping through my MAF file, is it not possible to determine those at runtime?)
And I'm not seeing anything. When I include "Ecoli_C" in the samples list, I see
but only for that one genome. Is there something I'm missing here?