Hi, I sourced some bulk rna-seq data from here: <h...
# rnaseq
a
Hi, I sourced some bulk rna-seq data from here: https://www.ncbi.nlm.nih.gov/Traces/study/?acc=PRJNA562768&o=acc_s%3Aa and ran it through this pipeline with default params and encountered an error. I'm attaching the nextflow log. Could anyone help out here? I have no idea what error was encountered. I noticed the following:
Copy code
Oct-16 18:15:07.407 [Actor Thread 145] DEBUG nextflow.weblog.WebLogObserver - Successfully sent message to http://localhost:32841 -- received status code 200.
Oct-16 18:15:07.412 [Task monitor] DEBUG n.processor.TaskPollingMonitor - <<< barrier arrives (monitor: awsbatch) - terminating tasks monitor poll loop
Oct-16 18:15:07.412 [main] DEBUG nextflow.Session - Session await > all processes finished
Oct-16 18:15:07.412 [main] DEBUG nextflow.Session - Session await > all barriers passed
Oct-16 18:15:07.437 [Actor Thread 129] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=NFCORE_RNASEQ:RNASEQ:ALIGN_STAR:BAM_SORT_STATS_SAMTOOLS:BAM_STATS_SAMTOOLS:SAMTOOLS_FLAGSTAT; work-dir=null
  error [java.lang.IllegalStateException]: Cannot obtain the semaphore to fork operator's body.
Oct-16 18:15:07.438 [Actor Thread 138] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=NFCORE_RNASEQ:RNASEQ:ALIGN_STAR:BAM_SORT_STATS_SAMTOOLS:BAM_STATS_SAMTOOLS:SAMTOOLS_IDXSTATS; work-dir=null
  error [java.lang.IllegalStateException]: Cannot obtain the semaphore to fork operator's body.
Oct-16 18:15:07.439 [Actor Thread 138] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=NFCORE_RNASEQ:RNASEQ:QUANTIFY_STAR_SALMON:TX2GENE; work-dir=null
  error [java.lang.IllegalStateException]: Cannot obtain the semaphore to fork operator's body.
but it's unclear to me if these
java.lang.IllegalStateException
killed the job
m
your logs contain:
Copy code
Read 2 output is truncated at sequence count: 49039643, please check your paired-end input files! Terminating...
In the
Copy code
Oct-16 18:15:07.287 [TaskFinalizer-1] ERROR nextflow.processor.TaskProcessor - Error executing process > 'NFCORE_RNASEQ:RNASEQ:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:TRIMGALORE (mithrl_3bfb8911_136c_40c1_b896_506bd76e69ca)'
section
looks like the Trimgalore step failed due to a truncated input file
line
4015
in your log file
a
ah! thanks Marshall 😄 would you recommend any preprocessing step to find these reads and remove the sample from the pipeline so errors don't get encountered?
m
not sure; you might just have a truncated source file
a
got it. thanks again Marshall
t
Yes, download the file again and check the MD5 sum or similar, if available. For any gzipped file, you can also run
gunzip -t somefile.gz
to test its integrity. (It can run for a long time and will give an error if there is a problem.)
❤️ 1
a
I expected that the data would only be successfully deposited if
gunzip -t somefile.gz
would pass! was naive on that