-
Notifications
You must be signed in to change notification settings - Fork 0
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
Blast Database in unmapped_blast rule #7
Comments
@ezhang113 could you add the branch you're working under and the example LARP6 downsampled fasta file to that branch? |
Here is the link to my branch and file: https://github.com/YeoLab/eclip-qc/blob/Emily_working/Snakefile |
Can you try using diamond? It's another aligner that is supposed to be similar in performance to BLAST, but run much faster:
|
@ezhang113 can you include the snakemake command? You also need to update the envs so I can see how you're deploying diamond (which version you're using etc) as I don't see any updated spec here: https://github.com/YeoLab/eclip-qc/tree/Emily_working/envs |
diamond prepdb -d /projects/ps-yeolab3/bay001/annotations/nr/nr Sorry I forgot to update the envs for diamond. I updated it just now. |
try installing diamond 2.0.4 instead? There might be a bug that requires dropping down a version, since the index appears to work with 2.0.4 |
actually try this fix instead: bbuchfink/diamond#503 |
I found something similar: https://github.com/bbuchfink/diamond_docs/blob/master/Documentation.MD that suggests this command to prep fasta databases to run with diamond before the diamond command so I changed my command to: but now I get an error: Command must be given as string after the shell keyword. (Snakefile, line 74) |
hmm I tried changing the version and I get a new issue: I'm now thinking it's an issue with the envs/diamond.yaml file I made |
@byee4 |
@ezhang113 Fix your pie chart script but the blastx rule works: https://github.com/YeoLab/eclip-qc/tree/testing-3/11-brian |
Describe the bug
Unable to run unmapped_blast rule of the snakemake file due to issues with blast database.
To Reproduce
Steps to reproduce the behavior:
Or alternatively in command line:
Nonworking code:
export BLASTDB=/projects/ps-yeolab3/bay001/annotations/nr
blastx -db nr -query LARP6.CTRL_IN1.umi.r1.fq_unmapped_downsampled.fasta -out LARP6.CTRL_IN1.umi.r1.fq_unmappedblast_downsampled_blastx.tsv -outfmt 6 -max_target_seqs 5 -max_hsps 1
Working code: blastx -db pdbaa -query LARP6.CTRL_IN1.umi.r1.fq_unmapped_downsampled.fasta -out LARP6.CTRL_IN1.umi.r1.fq_unmappedblast_downsampled_blastx.tsv -outfmt 6 -max_target_seqs 5 -max_hsps 1
Expected behavior
If the rule was to run as intended, a tsv file should be produced (and subsequent piechart).
Additional context
Seems to be an issue with the database. Have tried running with a ncbi database (pdbaa), which worked out okay.
The text was updated successfully, but these errors were encountered: