Hi everybody, Im running <#C0493FQQZ3P> and this i...
# rnasplice
n
Hi everybody, Im running #C0493FQQZ3P and this is my code
./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
Copy code
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 appreciated
👀 1
m
I can see that you're specifying fasta, but you don't specify --genome null, can you try that?
do you have any extra error messages?
n
Copy code
Genome '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.
m
--igenomes_ignore
sorry
forgot to add that one too
n
okay so,
--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.
m
since you're giving your own fasta, I'd go with
--igenomes_ignore
n
Hi Maxime, Im getting the same error; Here's the .command.sh
#!/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_VERSIONS
m
can you check if you have more info in the
.command.log
or
.command.err
?
n
.command.log
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_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, exiting
.command.err
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
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, exiting
m
ok, so definitively issue with STAR version
you generated with
2.7
, right?
so you need at least
2.7.4
I'd say
The pipeline is using
2.7.10a
, so I'd recommend this one
✅ 1
the pipeline should do it for you if you don't specify the star_index params
n
ok ill try that.
@Maxime Garcia it ran with --igenomes_ignore parameter. I have one question in sample sheet. For a paired end bulk seq, what should the stradeness column be? I tried to put auto and the pipeline stopped at DRIMSeq step it took it as single ended. here's my header for sample sheet.
Copy code
sample,fastq_1,fastq_2,strandedness,condition
m
oooh good news
I'm afraid I'm not familiar enough with the pipeline or the technology to answer that question
n
Should i create a different post? in the same channel? I just need help with that. to carry out the complete pipeline. Right now it stopped after alignment.
m
create a different post in the same channel
that'll be perfect
j
Hello again @nissi The strandedness column must be one of unstranded, forward, or reverse. We have yet to implement an auto feature (as in nf-core/rnaseq). Thanks @Maxime Garcia for your advice regarding the genome and STAR version mismatch. Thanks, James
n
@James Ashmore thank you. Sorry if this is a repost. I dont see the post. My pipeline stopped at DRIMSeq and didint go ahead with further downstream analysis. DRIMSeq error
Copy code
Command 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 singleend
j
Hey @nissi Could you try with v1.0.1 - we recently released a patch for the workflow which solved this same issue which another user encountered. Let us know if it works for you as well. Thanks, James
s
Did you finally solve this problem? I am having the same one