-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wga bam files in Jbrowse config #27
Comments
seems like this isn't quite working. The error I get suggests that it is trying to assign the same track id to both the track representing the paf file and the one representing the bam file (which probably is because it is stripping off the .bam and .paf.gz suffixes to generate a track id). So, probably we'll have to explicitly set the track id for at least on of these. Maybe just using the filename without stripping off suffixes is as sensible as anything else I could imagine doing. For the record here's the full error:
|
@ctcncgr this is now technically working, although I'd like to see some further changes. At the moment the name/ids for a given comparison are as reported here:
One problem seen in the above is that the bam is getting written to ./config.json while the paf is getting written to test/config.json; the latter is correct, given that I had specified --jbrowse_out test Another problem (somewhat cosmetic) is that the name for the bam track switches the order of the two genomes in the comparison (ie araip is coming first) and the separator should be ".x." not just "x". Also, I think for consistency we ought to just have the name end with ".bam" instead of " BAM" and the trackId should also have ".bam" added (similar to how the other one is using ".paf" in both these contexts). I'll comment on dotplot stuff over on #28 |
…g issues with BAM file wga tracks. #27.
@adf-ncgr I think I fixed the naming inconsistencies and changed the order of the refs in the BAM. |
almost there, I think you just need to also add the .bam to the end of the trackId for the bam tracks; still coming out as the unsuffixed file name: |
@adf-ncgr ok this should now set the trackId correctly. |
yes, I think it's good now, thanks |
currently, the populate-jbrowse handles adding the paf files from genome_alignments but doesn't seem to add tracks for the associated bam files. Although the two files contain similar data, JBrowse2 only uses indexing with respect to the bam files, meaning that they are much faster to load when just looking at a linear genome view. So, I think we ought to make both available as tracks.
The text was updated successfully, but these errors were encountered: