Skip to content
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

INTERNAL_SYSCALL_ERRNO #62

Open
nick-youngblut opened this issue Jan 24, 2021 · 2 comments
Open

INTERNAL_SYSCALL_ERRNO #62

nick-youngblut opened this issue Jan 24, 2021 · 2 comments

Comments

@nick-youngblut
Copy link

DAS-tool 1.1.2 generated the following error:

#CPU threads: 256
Scoring parameters: (Matrix=BLOSUM62 Lambda=0.267 K=0.041 Penalties=11/1)
Database file: /ebio/abt3_projects/amylase_oral_stool_microbiome/bin/llmga/.snakemake/conda/dc497901/share/das_tool-1.1.2-1/db/arc.all.faa
Opening the database file...  [0.001456s]
Loading sequences...  [0.939619s]
Masking sequences... diamond: ../nptl/pthread_mutex_lock.c:433: __pthread_mutex_lock_full: Assertion `INTERNAL_SYSCALL_ERRNO (e, __err) != ESRCH || !robust' failed.
makeblastdb did not work for /ebio/abt3_projects/amylase_oral_stool_microbiome/bin/llmga/.snakemake/conda/dc497901/share/das_tool-1.1.2-1/db/arc.all.faa, please check your input file
single copy gene prediction using diamond failed. Aborting

The arc.all.faa contains 198238 sequences, and appears to be a valid fasta. The entire log: bins_DASTool.log

@nick-youngblut
Copy link
Author

I received a similar error from another DAS-tool job:

#CPU threads: 256
Scoring parameters: (Matrix=BLOSUM62 Lambda=0.267 K=0.041 Penalties=11/1)
Database file: /ebio/abt3_projects/Georg_animal_feces/data/metagenome/HiSeqRuns-n11/LLMGA/v0.12/cluster2/bin_refine/X238_Hanuman_Langur/DAS_Tool/bins_proteins.faa
Opening the database file...  [0.002661s]
Loading sequences...  [1.06957s]
Masking sequences...  [26.7932s]
Error: pthread_create error: Insufficient resources to create another thread, or a system-imposed limit on the number of threads was encountered.
makeblastdb did not work for /ebio/abt3_projects/Georg_animal_feces/data/metagenome/HiSeqRuns-n11/LLMGA/v0.12/cluster2/bin_refine/X238_Hanuman_Langur/DAS_Tool/bins_proteins.faa, please check your input file
single copy gene prediction using diamond failed. Aborting

It appears that DAS-tool (at least makeblastdb) is trying to use more threads that what was provided via the qsub job

@cmks
Copy link
Owner

cmks commented Jan 26, 2021

Interesting. I'm not sure what causes the issue here. However, multiple users had problems with the single copy gene prediction step lately. I'll have to refactor some parts and maybe get rid of the ruby dependency.

Did you define 12 threads in the qsub command (or script header) as well as in the DAS_Tool command? I'm curious where the 256 comes from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants