Skip to content

Factor out umi handling #155

Factor out umi handling

Factor out umi handling #155

GitHub Actions / JUnit Test Report failed Dec 10, 2024 in 0s

2 tests run, 1 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 1 in Test pipeline with STAR aligner and RSEM for quantification

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

Test pipeline with STAR aligner and RSEM for quantification.Params: --aligner star_rsem

Assertion failed: 

2 of 2 assertions failed
Raw output
Nextflow stdout:

N E X T F L O W  ~  version 24.04.2
Launching `/home/runner/work/rnaseq/rnaseq/tests/../main.nf` [romantic_shannon] DSL2 - revision: 85c9b75b8b
Downloading plugin [email protected]

------------------------------------------------------
                                        ,--./,-.
        ___     __   __   __   ___     /,-._.--~'
  |\ | |__  __ /  ` /  \ |__) |__         }  {
  | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                        `._,._,'
  nf-core/rnaseq 3.18.0dev
------------------------------------------------------
Input/output options
  input                       : https://raw.githubusercontent.com/nf-core/test-datasets/626c8fab639062eade4b10747e919341cbf9b41a/samplesheet/v3.10/samplesheet_test.csv
  outdir                      : /home/runner/work/rnaseq/rnaseq/~/tests/e9ed2c3496454a69937adc9eb340c688/output

Reference genome options
  fasta                       : https://raw.githubusercontent.com/nf-core/test-datasets/626c8fab639062eade4b10747e919341cbf9b41a/reference/genome.fasta
  gtf                         : https://raw.githubusercontent.com/nf-core/test-datasets/626c8fab639062eade4b10747e919341cbf9b41a/reference/genes_with_empty_tid.gtf.gz
  gff                         : https://raw.githubusercontent.com/nf-core/test-datasets/626c8fab639062eade4b10747e919341cbf9b41a/reference/genes.gff.gz
  transcript_fasta            : https://raw.githubusercontent.com/nf-core/test-datasets/626c8fab639062eade4b10747e919341cbf9b41a/reference/transcriptome.fasta
  additional_fasta            : https://raw.githubusercontent.com/nf-core/test-datasets/626c8fab639062eade4b10747e919341cbf9b41a/reference/gfp.fa.gz
  hisat2_index                : https://raw.githubusercontent.com/nf-core/test-datasets/626c8fab639062eade4b10747e919341cbf9b41a/reference/hisat2.tar.gz
  rsem_index                  : https://raw.githubusercontent.com/nf-core/test-datasets/626c8fab639062eade4b10747e919341cbf9b41a/reference/rsem.tar.gz
  salmon_index                : https://raw.githubusercontent.com/nf-core/test-datasets/626c8fab639062eade4b10747e919341cbf9b41a/reference/salmon.tar.gz
  hisat2_build_memory         : 3.GB

Read filtering options
  bbsplit_fasta_list          : https://raw.githubusercontent.com/nf-core/test-datasets/626c8fab639062eade4b10747e919341cbf9b41a/reference/bbsplit_fasta_list.txt

UMI options
  umitools_bc_pattern         : NNNN

Alignment options
  aligner                     : star_rsem
  pseudo_aligner              : salmon

Process skipping options
  skip_bbsplit                : false

Institutional config options
  config_profile_name         : Test profile
  config_profile_description  : Minimal test dataset to check pipeline function

Generic options
  pipelines_testdata_base_path: s3://ngi-igenomes/testdata/nf-core/pipelines/rnaseq/3.15/

Core Nextflow options
  runName                     : romantic_shannon
  containerEngine             : docker
  launchDir                   : /home/runner/work/rnaseq/rnaseq/~/tests/e9ed2c3496454a69937adc9eb340c688
  workDir                     : /home/runner/work/rnaseq/rnaseq/~/tests/e9ed2c3496454a69937adc9eb340c688/work
  projectDir                  : /home/runner/work/rnaseq/rnaseq
  userName                    : runner
  profile                     : test,docker
  configFiles                 : 

!! Only displaying parameters that differ from the pipeline defaults !!
------------------------------------------------------
* The pipeline
    https://doi.org/10.5281/zenodo.1400710

* The nf-core framework
    https://doi.org/10.1038/s41587-020-0439-x

* Software dependencies
    https://github.com/nf-core/rnaseq/blob/master/CITATIONS.md

WARN: The following invalid input values have been detected:

* --modules_testdata_base_path: s3://ngi-igenomes/testdata/nf-core/modules/


WARN: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Both '--gtf' and '--gff' parameters have been provided.
  Using GTF file as priority.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WARN: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  '--transcript_fasta' parameter has been provided.
  Make sure transcript names in this file match those in the GFF/GTF file.

  Please see:
  https://github.com/nf-core/rnaseq/issues/753
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WARN: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  When using '--additional_fasta <FASTA_FILE>' the aligner index will not
  be re-built with the transgenes incorporated by default since you have 
  already provided an index via '--rsem_index <INDEX>'.

  Set '--additional_fasta <FASTA_FILE> --rsem_index false --gene_bed false --save_reference'
  to re-build the index with transgenes included and the index and gene BED file will be saved in
  'results/genome/index/rsem/' for re-use with '--rsem_index'.

  Ignore this warning if you know that the index already contains transgenes.

  Please see:
  https://github.com/nf-core/rnaseq/issues/556
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[d4/0d32b0] Submitted process > NFCORE_RNASEQ:PREPARE_GENOME:GUNZIP_ADDITIONAL_FASTA (gfp.fa.gz)
[90/b94abe] Submitted process > NFCORE_RNASEQ:PREPARE_GENOME:UNTAR_SALMON_INDEX (salmon.tar.gz)
[2b/294a40] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:CAT_FASTQ (RAP1_UNINDUCED_REP2)
[55/2423f4] Submitted process > NFCORE_RNASEQ:PREPARE_GENOME:GUNZIP_GTF (genes_with_empty_tid.gtf.gz)
[36/f615c9] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FQ_LINT (RAP1_UNINDUCED_REP1)
[cc/c0b149] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:FASTQC (RAP1_UNINDUCED_REP1)
[b1/2f0409] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:TRIMGALORE (RAP1_UNINDUCED_REP1)
[f3/1bfa55] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FQ_LINT (RAP1_IAA_30M_REP1)
[f5/0d0f8d] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:TRIMGALORE (RAP1_IAA_30M_REP1)
[7d/894c3a] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:FASTQC (RAP1_IAA_30M_REP1)
[c9/7eb512] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:TRIMGALORE (WT_REP2)
[14/79a476] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:FASTQC (WT_REP2)
[db/aa519e] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FQ_LINT (WT_REP2)
[86/5a4d2c] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:CAT_FASTQ (WT_REP1)
[61/c13fc1] Submitted process > NFCORE_RNASEQ:PREPARE_GENOME:UNTAR_RSEM_INDEX (rsem.tar.gz)
[8a/e8521e] Submitted process > NFCORE_RNASEQ:PREPARE_GENOME:GTF_FILTER (genome.fasta)
[45/7f1dae] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:FASTQC (RAP1_UNINDUCED_REP2)
[78/b74bf9] Submitted process > NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FQ_LINT (RAP1_UNINDUCED_REP2)
ERROR ~ Error executing process > 'NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:FASTQC (RAP1_UNINDUCED_REP2)'

Caused by:
  Process `NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:FASTQC (RAP1_UNINDUCED_REP2)` terminated with an error exit status (1)


Command executed:

  printf "%s %s\n" RAP1_UNINDUCED_REP2.merged.fastq.gz RAP1_UNINDUCED_REP2_raw.gz | while read old_name new_name; do
      [ -f "${new_name}" ] || ln -s $old_name $new_name
  done
  
  fastqc \
      --quiet \
      --threads 2 \
      --memory 1536 \
      RAP1_UNINDUCED_REP2_raw.gz
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:FASTQC":
      fastqc: $( fastqc --version | sed '/FastQC v/!d; s/.*v//' )
  END_VERSIONS

Command exit status:
  1

Command output:
  application/gzip

Command error:
  application/gzip
  Failed to process file RAP1_UNINDUCED_REP2_raw.gz
  uk.ac.babraham.FastQC.Sequence.SequenceFormatException: invalid block type
  	at uk.ac.babraham.FastQC.Sequence.FastQFile.readNext(FastQFile.java:222)
  	at uk.ac.babraham.FastQC.Sequence.FastQFile.next(FastQFile.java:129)
  	at uk.ac.babraham.FastQC.Analysis.AnalysisRunner.run(AnalysisRunner.java:77)
  	at java.base/java.lang.Thread.run(Thread.java:833)

Work dir:
  /home/runner/work/rnaseq/rnaseq/~/tests/e9ed2c3496454a69937adc9eb340c688/work/45/7f1dae63677adead3c5baebbd622e1

Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

 -- Check '/home/runner/work/rnaseq/rnaseq/~/tests/e9ed2c3496454a69937adc9eb340c688/meta/nextflow.log' file for details
Execution cancelled -- Finishing pending tasks before exit
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting

 -- Check '/home/runner/work/rnaseq/rnaseq/~/tests/e9ed2c3496454a69937adc9eb340c688/meta/nextflow.log' file for details
-[nf-core/rnaseq] Pipeline completed with errors-
Nextflow stderr:

Nextflow 24.10.2 is available - Please consider updating your version to it