Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Trouble running single-ended data #25

Open
mancili opened this issue Mar 23, 2022 · 0 comments
Open

Trouble running single-ended data #25

mancili opened this issue Mar 23, 2022 · 0 comments

Comments

@mancili
Copy link

mancili commented Mar 23, 2022

Hi,

I am having trouble running LncPipe for single-end RNA-seq data.

Here is the error message:

Caused by:
  Missing output file(s) `*qc.fq.gz` expected by process `Run_FastP (samplename)`

Command executed:

  fastp -i samplename.fastq.gz -o samplename.qc.gz -h samplename_fastp.html

It seems like the output file from the previous step is named ending with "*.qc.gz", but the process Run_FastP (samplename) looks for files ending with "*qc.fq.gz".

Is it because of this line of code in the main.nf ?

if (params.singleEnd) {
                '''
            fastp -i !{fastq_file[0]} -o !{samplename}.qc.gz -h !{samplename}_fastp.html
           
            '''
            } else {
                '''
            fastp -i !{fastq_file[0]}  -I !{fastq_file[1]} -o !{samplename}_1.qc.fq.gz  -O !{samplename}_2.qc.fq.gz -h !{samplename}_fastp.html
            '''
            }
        }
    }else{
        Channel.fromFilePairs(reads, size: params.singleEnd ? 1 : 2)

Please help!

Thanks,
Manci

@mancili mancili changed the title Single-read Trouble running single-ended data Mar 23, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant