I'm running gappa examine assign to assign taxonomy to queries placed into a reference tree of 48313 sequences.
The command is:
gappa examine assign \
--threads 2 \
--out-dir out \
--jplace-path epa-ng_result.jplace \
--taxon-file chesters_expanded_taxonomy_reformat.tsv \
--ranks-string 'Kingdom|Phylum|Class|Order|Family|Clade|Genus|Species' \
--consensus-thresh 1 \
--best-hit \
--allow-file-overwriting \
--per-query-results
but it quits after running for about 5 minutes with Segmentation fault error.
I've tried with both version 0.9.0 and 0.8.4, running with both apptainer and a conda environment, with the same result. This is part of a workflow where the input queries are split into files of 500 sequences each and weirdly enough I noticed that one of the files did not fail and in fact produced the per-query-result file. Then I also noted that if I reduce the consensus threshold from 1 then the command completes without errors, also for the input file that failed with consensus threshold set to 1. Anything below a strict 1 seems to work (I tested 0.5 and 0.99).
I'm attaching the --taxon-file and two *.jplace files:
- epa-ng_result.FAILS.jplace : This is the jplace file that fails with consensus threshold 1 (but works with threshold <1)
- epa-ng_result.WORKS.jplace : This file works with threshold = 1 (and <1).
I'm wondering if the problem could be that some queries get placed so that using a strict consensus of 1 results in no label being possible?
If you have time to look into this I'd greatly appreciate it.
jplace.tar.gz
I'm running
gappa examine assignto assign taxonomy to queries placed into a reference tree of 48313 sequences.The command is:
gappa examine assign \ --threads 2 \ --out-dir out \ --jplace-path epa-ng_result.jplace \ --taxon-file chesters_expanded_taxonomy_reformat.tsv \ --ranks-string 'Kingdom|Phylum|Class|Order|Family|Clade|Genus|Species' \ --consensus-thresh 1 \ --best-hit \ --allow-file-overwriting \ --per-query-resultsbut it quits after running for about 5 minutes with
Segmentation faulterror.I've tried with both version
0.9.0and0.8.4, running with both apptainer and a conda environment, with the same result. This is part of a workflow where the input queries are split into files of 500 sequences each and weirdly enough I noticed that one of the files did not fail and in fact produced the per-query-result file. Then I also noted that if I reduce the consensus threshold from 1 then the command completes without errors, also for the input file that failed with consensus threshold set to 1. Anything below a strict 1 seems to work (I tested0.5and0.99).I'm attaching the
--taxon-fileand two*.jplacefiles:I'm wondering if the problem could be that some queries get placed so that using a strict consensus of 1 results in no label being possible?
If you have time to look into this I'd greatly appreciate it.
jplace.tar.gz