nissi
11/14/2023, 11:44 AM./nextflow run nf-core/rnasplice \
--input <path>/Samplesheet_test.csv \
--contrasts <path>/contrasts_test.csv \
--source fastq \
--skip_fastqc \
--fasta <path>/GRCm38.primary_assembly.genome.fa \
--outdir <pathtooutdir> \
--aligner star \
--star_index <>/STAR_index/ \
--gtf <>/gencode.vM25.annotation.gtf \
--rmats \
-profile singularity
The error I'm getting is
Error executing process > 'NFCORE_RNASPLICE:RNASPLICE:ALIGN_STAR:STAR_ALIGN (CONTROL_Wt8w_Rep1)'
Caused by:
Process `NFCORE_RNASPLICE:RNASPLICE:ALIGN_STAR:STAR_ALIGN (CONTROL_Wt8w_Rep1)` terminated with an error exit status (105)
Command executed:
STAR \
--genomeDir STAR_index \
--readFilesIn input1/CONTROL_Wt8w_Rep1_1_val_1.fq.gz input2/CONTROL_Wt8w_Rep1_2_val_2.fq.gz \
--runThreadN 12 \
--outFileNamePrefix CONTROL_Wt8w_Rep1. \
\
--sjdbGTFfile gencode.vM25.annotation.gtf \
--outSAMattrRGline 'ID:CONTROL_Wt8w_Rep1' 'SM:CONTROL_Wt8w_Rep1' \
--quantMode TranscriptomeSAM --twopassMode Basic --outSAMtype BAM Unsorted --readFilesCommand gunzip -c --runRNGseed 0 --outFilterMultimapNmax 20 --alignSJDBoverhangMin 1 --outSAMattributes NH HI AS NM MD --quantTranscriptomeBan Singleend
if [ -f CONTROL_Wt8w_Rep1.Unmapped.out.mate1 ]; then
mv CONTROL_Wt8w_Rep1.Unmapped.out.mate1 CONTROL_Wt8w_Rep1.unmapped_1.fastq
gzip CONTROL_Wt8w_Rep1.unmapped_1.fastq
fi
if [ -f CONTROL_Wt8w_Rep1.Unmapped.out.mate2 ]; then
mv CONTROL_Wt8w_Rep1.Unmapped.out.mate2 CONTROL_Wt8w_Rep1.unmapped_2.fastq
gzip CONTROL_Wt8w_Rep1.unmapped_2.fastq
fi
cat <<-END_VERSIONS > versions.yml
"NFCORE_RNASPLICE:RNASPLICE:ALIGN_STAR:STAR_ALIGN":
star: $(STAR --version | sed -e "s/STAR_//g")
samtools: $(echo $(samtools --version 2>&1) | sed 's/^.*samtools //; s/Using.*$//')
gawk: $(echo $(gawk --version 2>&1) | sed 's/^.*GNU Awk //; s/, .*$//')
END_VERSIONS
Command exit status:
105
Command output:
STAR --genomeDir STAR_index --readFilesIn input1/CONTROL_Wt8w_Rep1_1_val_1.fq.gz input2/CONTROL_Wt8w_Rep1_2_val_2.fq.gz --runThreadN 12 --outFileNamePrefix CONTROL_Wt8w_Rep1. --sjdbGTFfile gencode.vM25.annotation.gtf --outSAMattrRGline ID:CONTROL_Wt8w_Rep1 SM:CONTROL_Wt8w_Rep1 --quantMode TranscriptomeSAM --twopassMode Basic --outSAMtype BAM Unsorted --readFilesCommand gunzip -c --runRNGseed 0 --outFilterMultimapNmax 20 --alignSJDBoverhangMin 1 --outSAMattributes NH HI AS NM MD --quantTranscriptomeBan Singleend
STAR version: 2.7.9a compiled: 2021-05-04T09:43:56-0400 vega:/home/dobin/data/STAR/STARcode/STAR.master/source
Nov 14 03:40:09 ..... started STAR run
Nov 14 03:40:09 ..... loading genome
Command error:
INFO: Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
STAR --genomeDir STAR_index --readFilesIn input1/CONTROL_Wt8w_Rep1_1_val_1.fq.gz input2/CONTROL_Wt8w_Rep1_2_val_2.fq.gz --runThreadN 12 --outFileNamePrefix CONTROL_Wt8w_Rep1. --sjdbGTFfile gencode.vM25.annotation.gtf --outSAMattrRGline ID:CONTROL_Wt8w_Rep1 SM:CONTROL_Wt8w_Rep1 --quantMode TranscriptomeSAM --twopassMode Basic --outSAMtype BAM Unsorted --readFilesCommand gunzip -c --runRNGseed 0 --outFilterMultimapNmax 20 --alignSJDBoverhangMin 1 --outSAMattributes NH HI AS NM MD --quantTranscriptomeBan Singleend
STAR version: 2.7.9a compiled: 2021-05-04T09:43:56-0400
Can someone tell me if the error because of the STAR indices I created with star/2.7?
Any help or guidance would be appreciatedMaxime Garcia
11/14/2023, 12:01 PMMaxime Garcia
11/14/2023, 12:01 PMnissi
11/14/2023, 2:04 PMGenome 'null' not found in any config files provided to the pipeline.
Currently, the available genome keys are:
GRCh37, GRCh38, CHM13, GRCm38.
Error when i used --genome null .I gave my own fasta and gtf as i didnt want to use igenomes.Maxime Garcia
11/14/2023, 2:05 PMMaxime Garcia
11/14/2023, 2:05 PMMaxime Garcia
11/14/2023, 2:05 PMnissi
11/14/2023, 2:09 PM--genome GRCm38\ --igenome_ignore or just --igenome-ignore?
cause if i dont give --igenome-ignore its runs till alignment and gives the star index error posted on 1st post.Maxime Garcia
11/14/2023, 2:27 PM--igenomes_ignorenissi
11/14/2023, 5:28 PM#!/bin/bash -euo pipefail
STAR \
--genomeDir STAR_index5 \
--readFilesIn input1/CONTROL_Wt8w_Rep1_1_val_1.fq.gz input2/CONTROL_Wt8w_Rep1_2_val_2.fq.gz \
--runThreadN 12 \
--outFileNamePrefix CONTROL_Wt8w_Rep1. \
\
--sjdbGTFfile gencode.vM25.annotation.gtf \
--outSAMattrRGline 'ID:CONTROL_Wt8w_Rep1' 'SM:CONTROL_Wt8w_Rep1' \
--quantMode TranscriptomeSAM --twopassMode Basic --outSAMtype BAM Unsorted --readFilesCommand gunzip -c --runRNGseed 0 --outFilterMultimapNmax 20 --alignSJDBove$
if [ -f CONTROL_Wt8w_Rep1.Unmapped.out.mate1 ]; then
mv CONTROL_Wt8w_Rep1.Unmapped.out.mate1 CONTROL_Wt8w_Rep1.unmapped_1.fastq
gzip CONTROL_Wt8w_Rep1.unmapped_1.fastq
fi
if [ -f CONTROL_Wt8w_Rep1.Unmapped.out.mate2 ]; then
mv CONTROL_Wt8w_Rep1.Unmapped.out.mate2 CONTROL_Wt8w_Rep1.unmapped_2.fastq
gzip CONTROL_Wt8w_Rep1.unmapped_2.fastq
fi
cat <<-END_VERSIONS > versions.yml
"NFCORE_RNASPLICE:RNASPLICE:ALIGN_STAR:STAR_ALIGN":
star: $(STAR --version | sed -e "s/STAR_//g")
samtools: $(echo $(samtools --version 2>&1) | sed 's/^.*samtools //; s/Using.*$//')
gawk: $(echo $(gawk --version 2>&1) | sed 's/^.*GNU Awk //; s/, .*$//')
END_VERSIONSMaxime Garcia
11/14/2023, 5:35 PM.command.log or .command.err?nissi
11/14/2023, 5:41 PMINFO: Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
STAR --genomeDir STAR_index5 --readFilesIn input1/CONTROL_Wt8w_Rep1_1_val_1.fq.gz input2/CONTROL_Wt8w_Rep1_2_val_2.fq.gz --runThreadN 12 --outFileNamePrefix$
STAR version: 2.7.9a compiled: 2021-05-04T09:43:56-0400 vega:/home/dobin/data/STAR/STARcode/STAR.master/source
Nov 14 10:49:36 ..... started STAR run
Nov 14 10:49:36 ..... loading genome
EXITING because of FATAL ERROR: Genome version: 20201 is INCOMPATIBLE with running STAR version: 2.7.9a
SOLUTION: please re-generate genome from scratch with running version of STAR, or with version: 2.7.4a
Nov 14 10:49:36 ...... FATAL ERROR, exitingnissi
11/14/2023, 5:43 PMINFO: Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
EXITING because of FATAL ERROR: Genome version: 20201 is INCOMPATIBLE with running STAR version: 2.7.9a
SOLUTION: please re-generate genome from scratch with running version of STAR, or with version: 2.7.4a
Nov 14 10:49:36 ...... FATAL ERROR, exitingMaxime Garcia
11/14/2023, 5:43 PMMaxime Garcia
11/14/2023, 5:43 PM2.7, right?Maxime Garcia
11/14/2023, 5:45 PM2.7.4 I'd sayMaxime Garcia
11/14/2023, 5:46 PM2.7.10a, so I'd recommend this oneMaxime Garcia
11/14/2023, 5:46 PMnissi
11/14/2023, 5:57 PMnissi
11/15/2023, 3:18 PMsample,fastq_1,fastq_2,strandedness,conditionMaxime Garcia
11/15/2023, 3:19 PMMaxime Garcia
11/15/2023, 3:20 PMnissi
11/15/2023, 3:29 PMMaxime Garcia
11/15/2023, 3:29 PMMaxime Garcia
11/15/2023, 3:30 PMJames Ashmore
11/15/2023, 3:39 PMnissi
11/15/2023, 3:49 PMCommand executed:
run_drimseq_filter.R salmon.merged.txi.dtu.rds tximport.tx2gene.tsv Samplesheet_test.csv \
4 \
2 \
2 \
10 \
0.1 \
10
cat <<-END_VERSIONS > versions.yml
"NFCORE_RNASPLICE:RNASPLICE:DRIMSEQ_DEXSEQ_DTU_SALMON:DRIMSEQ_FILTER":
r-base: $(echo $(R --version 2>&1) | sed 's/^.*R version //; s/ .*$//')
bioconductor-drimseq: $(Rscript -e "library(DRIMSeq); cat(as.character(packageVersion('DRIMSeq')))")
END_VERSIONS
Command exit status:
1
Command output:
(empty)
Command error:
INFO: Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
Attaching package: 'DRIMSeq'
The following object is masked from 'package:base':
proportions
Error in .local(x, ...) :
min_samps_gene_expr >= 0 && min_samps_gene_expr <= ncol(x@counts) is not TRUE
Calls: -> -> .local -> stopifnot
Execution halted
Any suggestions?
Is it something to do with my sample sheet? I saw one of the analysis it took it as singleendJames Ashmore
11/17/2023, 12:57 PMSergio Manzano
05/12/2024, 11:13 AM