-
Notifications
You must be signed in to change notification settings - Fork 10
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
hs-blastn alignment failed #7
Comments
Hi, I am not sure. Can you try to run with --force to regenerate the blast index files? You can run it with the BAM file generated to save time. Best, |
Hi, |
Hi, Did you try to run with --force? cy |
Hi, |
Hi, Thanks for trying. Can you send me your log file? cy |
Hi, Please find the attached file for the log. |
Hi, Thanks for the log file. I am guessing that the loading of the blast indexes might have failed, since it got terminated at that step. You mentioned that hs-blastn ran fine alone. Can you send me the output file (e.g. test.fa) and the command line output? Also, can you try running with this smaller test reference genome? Please decompress it before using. ref_test.fa.tar.gz Thanks |
Hi, Here's the beginning of output:
When running hs-blastn alone, it did not look like there was an issue for loading the indexes. Thanks for the test file. I will try it now. |
Hi, Thanks a lot. |
Hi, Like you said, running the hs-blastn alone seems fine. Thanks for sending me the logs. cy |
Hi, I will look into the files generated with test reference genome to figure out what caused this issue. Thanks a lot for looking into it. I will let you know if I find something! |
Hi, ok, I will also test it on the HPC. Will let you know if I get any hints. Thanks, |
Hi, Thanks, |
@sidiropoulos are you running NanoVar on the HPC too? can you please attach your log file. Thanks, |
@d2389758 any updates on this issue? I have successfully ran NanoVar on my HPC. |
I re-downloaded again the reference fasta file (without index) and re-ran the nanovar from scratch. |
@d2389758 I see, thanks for trying it out and I'm glad it works now. Were you running any other aligners in parallel with NanoVar using the same reference FASTA file? I am guessing that the indexes created by another aligner might have clashed with the index created by blast as they might have the same suffixes. BWA is known to override some of blast's indexes. Is the previous FASTA file the same as the newly downloaded FASTA file? Can you check their md5sum? Indexing of a FASTA file should not alter the file. @sidiropoulos are you able to resolve your issue? Thanks, |
@cytham Interestingly, my previous fasta was indexed with minimap2. After the failed nanovar run, I re-indexed with blast alone without issue, but the same problem still persisted. No, the new fasta was downloaded from Ensembl, whereas the old fasta was downloaded from UCSC server. I could try to download the same fasta from UCSC and re-run nanovar again for testing, but maybe later in time. |
@d2389758 minimap2 indexing neither produce any index files nor alter the FASTA file. So I am not sure how that will affect the usage of the same FASTA for NanoVar. |
I will close this for now. If you still have issues, I will open it again. |
Hi, I tried to run nanovar using nanopore reads from human genome, but it gave me the hs-blastn index failed error. Reading through this issue page, I have tried using new reference sequence (hg38 downloaded from UCSC, as well as hg38chromosome1 from ensembl), both returned with the same error. I installed nanovar and all dependencies according to the installation guide, and this is the command line I used to call SV: nanovar -t 4 /path to fastq file/ /path to reference fasta file/ /working directory/ -x ont. I have tried initially using bam files generated using minimap2, but same outcome. Can you please advice what I might have done wrong? Thank you |
@yusmiatiliau sorry that you encountered this error. I believe this error is caused by a new version of HS-BLASTN (version 1.0.0) present only on GitHub. And I guess you install HS-BLASTN by cloning its GitHub repo? Please try the following steps to fix it:
Another way would be to install NanoVar using Conda, which will install v0.0.5 of HS-BLASTN. Hope it works |
Hi @cytham, thanks so much for your prompt response. Yes, I installed hs-blastn by cloning from github. CC sources/mask_misc.cpp => objs/./sources/mask_misc.o Thanks a lot! |
That seems like a bug in line 205 of ./sources/utility.h file. Can you replace "isnan" with "std::isnan" at line 205 of ./sources/utility.h and try to make again. |
Hi @cytham |
That's great! |
I also get this issue when running nanovar on a HPC but only when running it with multiple threads strangly. e.g if I use a single thread it avoids this error |
Hi,
I am running nanovar v1.3.2 (installed via bioconda) using nanopore reads from cattle genome.
I encountered the error when nanovar ran hs-blastn:
I ran the hs-blastn commend alone (see below) and did not have issue.
hs-blastn align -db /nfs/nas12.ethz.ch/fs1201/green_groups_tg_public/data/fang/pacbio_snake/ref/UCD_ref.fa \ -window_masker_db UCD_ref.counts.obinary -query temp2.fa -out test.fa \ -outfmt 7 -max_target_seqs 3 -gapopen 0 -gapextend 4 -penalty -3 -reward 2
I am not sure why the pipeline failed. Could you please suggest where the problem is?
Thanks!
The text was updated successfully, but these errors were encountered: