-
Notifications
You must be signed in to change notification settings - Fork 63
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
Create BLAST tabular adapter #4627
Conversation
5a6c786
to
ad9fd29
Compare
plugins/comparative-adapters/src/BlastTabularAdapter/BlastTabularAdapter.ts
Outdated
Show resolved
Hide resolved
I rebased this off main and gzipped the sample data file in case you get merge conflicts when pulling! |
Here's a new share link with the gene tracks: https://s3.amazonaws.com/jbrowse.org/code/jb2/create_blast_tabular_adapter/index.html?config=test_data%2Fgrape_peach_synteny%2Fconfig.json&session=share-csnO59YS7_&password=wSNlc I also added a config option so users can specify their columns in case they used the custom column option in BLAST's outfmt. If you ran the command with |
if you get a chance, i would be curious how outfmt 17 (SAM, then convert to BAM) works in jbrowse too... |
3843c2d
to
c33489a
Compare
912f5e4
to
050a993
Compare
outfmt 17 only works with blastn, so I've attached both the outfmt 6 file and outfmt 17 file using blastn. For some reason the raw SAM output has Here's what it looks like with outfmt 6 loaded as a synteny track and outfmt 17 loaded as an alignments track: |
This adds a synteny adapter that works with files generated by BLAST usint the
-outfmt 6
option (called "tabular" output in the docs).You can see a demo of this branch here: https://s3.amazonaws.com/jbrowse.org/code/jb2/create_blast_tabular_adapter/index.html?config=test_data%2Fgrape_peach_synteny%2Fconfig.json&session=share-4SDMC98yDL&password=JI48K
The demo file is just matches for the first 1,000,000 bases of Pp05 for peach and chr18 for grape. The file was generated like this:
This took ~1m15s to generate on my computer.