Goor morning :wave: I have an issue with tree crea...
# ampliseq
t
Goor morning 👋 I have an issue with tree creation :
Copy code
6644   │   error [nextflow.exception.ProcessFailedException]: Process `NFCORE_AMPLISEQ:AMPLISEQ:QIIME2_DIVERSITY:QIIME2_TREE (1)` terminated with an error exit status (1)
6645   │ Oct-09 22:44:46.627 [TaskFinalizer-1287] ERROR nextflow.processor.TaskProcessor - Error executing process > 'NFCORE_AMPLISEQ:AMPLISEQ:QIIME2_DIVERSITY:QIIME2_TREE
       │ (1)'
6646   │
6647   │ Caused by:
6648   │   Process `NFCORE_AMPLISEQ:AMPLISEQ:QIIME2_DIVERSITY:QIIME2_TREE (1)` terminated with an error exit status (1)
6649   │
6650   │
6651   │ Command executed:
6652   │
6653   │   export XDG_CONFIG_HOME="./xdgconfig"
6654   │   export MPLCONFIGDIR="./mplconfigdir"
6655   │   export NUMBA_CACHE_DIR="./numbacache"
6656   │
6657   │   qiime alignment mafft \
6658   │       --i-sequences filtered-sequences.qza \
6659   │       --o-alignment aligned-rep-seqs.qza \
6660   │       --p-n-threads 6
6661   │   qiime alignment mask \
6662   │       --i-alignment aligned-rep-seqs.qza \
6663   │       --o-masked-alignment masked-aligned-rep-seqs.qza
6664   │   qiime phylogeny fasttree \
6665   │       --i-alignment masked-aligned-rep-seqs.qza \
6666   │       --p-n-threads 6 \
6667   │       --o-tree unrooted-tree.qza
6668   │   qiime phylogeny midpoint-root \
6669   │       --i-tree unrooted-tree.qza \
6670   │       --o-rooted-tree rooted-tree.qza
6671   │   qiime tools export \
6672   │       --input-path rooted-tree.qza  \
6673   │       --output-path phylogenetic_tree
6674   │   cp phylogenetic_tree/tree.nwk .
6675   │
6676   │   cat <-END_VERSIONS  versions.yml
6677   │   "NFCORE_AMPLISEQ:AMPLISEQ:QIIME2_DIVERSITY:QIIME2_TREE":
6678   │       qiime2: $( qiime --version | sed '1!d;s/.* //' )
6679   │   END_VERSIONS
6680   │
6681   │ Command exit status:
6682   │   1
6683   │
6684   │ Command output:
6685   │   (empty)
6686   │
6687   │ Command error:
6688   │   INFO:    Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
6689   │   INFO:    Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
6690   │   INFO:    Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
6691   │   QIIME is caching your current deployment for improved performance. This may take a few moments and should only happen once per deployment.
6692   │   Plugin error from alignment:
6693   │
6694   │     Command '['mafft', '--preservecase', '--inputorder', '--thread', '6', '/tmp/qiime2/tweber/data/9a90d464-40f0-4476-a2d5-b2935d297d92/data/dna-sequences.fasta']'
       │  returned non-zero exit status 1.
6695   │
6696   │   Debug info has been saved to /tmp/qiime2-q2cli-err-j613ufx9.log
6697   │
6698   │ Work dir:
6699   │   /g/korbel2/weber/workspace/TREC_workspace/ampliseq_fork/work/66/4f3aba23d4046da29b545e4d1165fc
Using the following command :
Copy code
nextflow run nf-core/ampliseq -r 2.14.0 -profile singularity --outdir /g/fvincent/SAMPLES/20240614_Genoscope_SZ/pipeline-results/nf-core-ampliseq-results-downstream-test-090925 --input soraya-genoscope-samplesheet_down.tsv --dada_ref_taxonomy pr2 --ignore_failed_trimming --ignore_empty_input_files --metadata soraya-genoscope-samplesheet_down_metadata.tsv --skip_dada_addspecies --skip_tse --FW_primer GTGYCAGCMGCCGCGGTAA --RV_primer CCGYCAATTYMTTTRAGTTT --mergepairs_consensus_gap=-4 --mergepairs_consensus_mismatch=-2 --mergepairs_consensus_match=1 --mergepairs_strategy=consensus --extension "/*_{1,2}.fastq.gz" -process.executor slurm -process.clusterOptions '-A datasci' -executor.queueSize 1000 -resume
And following samplesheet:
Copy code
sampleID	run	forwardReads	reverseReads
sample_112506262	run1	/g/fvincent/SAMPLES/20240614_Genoscope_SZ/Sequencing/112506262.1.fastq.gz	/g/fvincent/SAMPLES/20240614_Genoscope_SZ/Sequencing/112506262.2.fastq.gz
sample_112506263	run1	/g/fvincent/SAMPLES/20240614_Genoscope_SZ/Sequencing/112506263.1.fastq.gz	/g/fvincent/SAMPLES/20240614_Genoscope_SZ/Sequencing/112506263.2.fastq.gz
sample_112506264	run1	/g/fvincent/SAMPLES/20240614_Genoscope_SZ/Sequencing/112506264.1.fastq.gz	/g/fvincent/SAMPLES/20240614_Genoscope_SZ/Sequencing/112506264.2.fastq.gz
sample_112506283	run1	/g/fvincent/SAMPLES/20240614_Genoscope_SZ/Sequencing/112506283.1.fastq.gz	/g/fvincent/SAMPLES/20240614_Genoscope_SZ/Sequencing/112506283.2.fastq.gz
sample_112506285	run1	/g/fvincent/SAMPLES/20240614_Genoscope_SZ/Sequencing/112506285.1.fastq.gz	/g/fvincent/SAMPLES/20240614_Genoscope_SZ/Sequencing/112506285.2.fastq.gz
sample_112506286	run1	/g/fvincent/SAMPLES/20240614_Genoscope_SZ/Sequencing/112506286.1.fastq.gz	/g/fvincent/SAMPLES/20240614_Genoscope_SZ/Sequencing/112506286.2.fastq.gz
...
And metadata:
Copy code
ID	name	condition_binary	cycle	condition	bio_rep
sample_112506262	112506262_1-T0_HSW_SO2-R1	control	1-T0	HSW	SO2-R1
sample_112506263	112506263_1-T0_HSW_SO2-R2	control	1-T0	HSW	SO2-R2
sample_112506264	112506264_1-T0_HSW_SO2-R3	control	1-T0	HSW	SO2-R3
sample_112506273	112506273_1-T0_HSW_DMSO_SO2-R1	pollution	1-T0	HSW_DMSO	SO2-R1
sample_112506274	112506274_1-T0_HSW_DMSO_SO2-R2	pollution	1-T0	HSW_DMSO	SO2-R2
sample_112506275	112506275_1-T0_HSW_DMSO_SO2-R3	pollution	1-T0	HSW_DMSO	SO2-R3
sample_112506283	112506283_1-T0_POLL_1_SO2-R1	pollution	1-T0	POLL_1	SO2-R1
sample_112506285	112506285_1-T0_POLL_1_SO2-R2	pollution	1-T0	POLL_1	SO2-R2
sample_112506286	112506286_1-T0_POLL_1_SO2-R3	pollution	1-T0	POLL_1	SO2-R3
...
Is it possible to skip that step or how to identify the issue and fix it ?
d
Hi there, potentially its a similar problem to https://github.com/nf-core/ampliseq/issues/516, some ideas are there, maybe they help. To skip tree generation append the params
--skip_alpha_rarefaction --skip_diversity_indices -resume
.
🙏 1
t
Thanks Daniel, I'm getting a look at the issue thread as I'd like to have alpha-rarefaction actually, will investigate! 🙂