Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Issue with concatenation of technical replicates #143

Open
bug1303 opened this issue May 7, 2024 · 0 comments
Open

Issue with concatenation of technical replicates #143

bug1303 opened this issue May 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bug1303
Copy link

bug1303 commented May 7, 2024

Description of the bug

With a sample sheet like this, with a single-end sample being re-sequenced:

sample,fastq_1,fastq_2
SAMPLE1,seqrun1_sample1_R1.trimmed.fq.gz,
SAMPLE1,seqrun2_sample1_R1.trimmed.fq.gz,

-r 2.1.1 creates pipeline_info/samplesheet.valid.csv with:

sample,single_end,fastq_1,fastq_2
SAMPLE1_T1,True,seqrun1_sample1_R1.trimmed.fq.gz,
SAMPLE1_T2,True,seqrun2_sample1_R1.trimmed.fq.gz,

and calls bwa_mem separately for _T1 and _T2.

(As a side note: it also calls umitools dedup separately for both replicates, although they should be duplicated together if they are the result of resequencing of the same libraries.)

With the recent version -r 2.2.0, there is no samplesheet.valid.csv and

it calls:

bwa mem \
     \
    -t 8 \
    $INDEX \
    seqrun1_sample1_R1.trimmed.fq.gz seqrun2_sample1_R1.trimmed.fq.gz \
    | samtools view  --threads 8 -o SAMPLE1.bam -

which is how the call would look like for paired-end data and hence fails with:

[mem_sam_pe] paired reads have different names: ...

https://nf-co.re/nascent/2.2.0/docs/usage#multiple-runs-of-the-same-sample says : "The pipeline will concatenate the raw reads before performing any downstream analysis.", however unlike in the rnaseq pipeline, I don't see an explicit call of CAT_FASTQ to begin with.

Command used and terminal output

No response

Relevant files

No response

System information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant