-
Notifications
You must be signed in to change notification settings - Fork 417
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
Adding support for fastq.gz.spring-files as input #1534
Conversation
|
Something wrong here :-/ The test
results in bam and bai in different subfolders:
etc. The bug must have something to do with EDIT: It also seems to be a problem on the
I get:
|
I expect that problem to be solved by #1541 |
I think publishing should be disabled by default. It bloats the output directory massively and likely folks don't need the converted fastq files in most cases |
Ok. I'll try to disable that. |
one_fastq_gz_spring: it[0].data_type == "one_fastq_gz_spring" | ||
two_fastq_gz_spring: it[0].data_type == "two_fastq_gz_spring" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are the spring fles split, but not the normal fastq files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. Again, the variables could perhaps have been named more appropriately. Anyways, here is my attempt at explaining what is going on:
"one_fastq_gz_spring" is when you have just one spring-file containing both R1 and R2. (In that case, the spring should be listed under spring_1
in the samplesheet.)
"two_fastq_gz_spring" is when you have two spring-files containing R1 and R2, respectively. (In that case, the R1-spring and R2-spring should be listed under spring_1
and spring_2
, respectively.)
For fastq.gz-input there is always two files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need an update to the metromap, overview map and readme docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments, but it is looking good to me
Co-authored-by: Maxime U Garcia <maxime.garcia@seqera.io>
@FriederikeHanssen what do you mean by overview map? |
subway map will be done on a separate issue as I'll do it rather than @asp8200 |
In this PR, I'm trying to add support for fastq.gz.spring-files as input. (This PR replaces the former #1522 )
As agreed with @maxulysse, I've extended the sample-sheet schema with
spring_1
andspring_2
.The spring-input can be one file containing both R1 and R2 (goes in
spring_1
whilespring_2
is left undefined or empty) or two files - one with R1 (goes inspring_1
). and one with R2 (goes inspring_2
).I added the pytest
alignment_from_everything
which tests that the pipeline is able to start from a "samplesheet" containing fastq.gz-files, fastq.gz.spring-files and bam-files (all in the same csv). I didn't include cram-files in that csv, but that can be also done if desired.I think this new pytest would also have caught this bug.
TO-DO:
The subway-map needs to include an icon for the spring-format as input. However, the task of updating the subway-map has been relegated to this issue.
PR checklist
nf-core lint
).nf-test test tests/ --verbose --profile +docker
).nextflow run . -profile debug,test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).