-
Notifications
You must be signed in to change notification settings - Fork 935
Add fq2bam fq align dd bwamem #9309
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
base: master
Are you sure you want to change the base?
Conversation
…dules into add_fq2bam_fq_align_dd_bwamem
Joon-Klaps
left a comment
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.
The changes in nf-test.config is something that needs to be double checked.
…dules into add_fq2bam_fq_align_dd_bwamem
Removed and added to specific subworkflow tests directives! |
Joon-Klaps
left a comment
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.
Sorry, quite a few things I should have spotted in the first round.
subworkflows/nf-core/fastq_align_dedup_bwamem/tests/gpu.nf.test
Outdated
Show resolved
Hide resolved
subworkflows/nf-core/fastq_align_dedup_bwamem/tests/gpu.nf.test
Outdated
Show resolved
Hide resolved
subworkflows/nf-core/fastq_align_dedup_bwamem/tests/gpu.nf.test
Outdated
Show resolved
Hide resolved
subworkflows/nf-core/fastq_align_dedup_bwamem/tests/gpu.nf.test
Outdated
Show resolved
Hide resolved
subworkflows/nf-core/fastq_align_dedup_bwamem/tests/gpu.nf.test
Outdated
Show resolved
Hide resolved
subworkflows/nf-core/fastq_align_dedup_bwamem/tests/main.nf.test
Outdated
Show resolved
Hide resolved
…dules into add_fq2bam_fq_align_dd_bwamem
|
The Channel.empty() works with my tests, the mentioned [[:], [] ] did not, so I kept as it. Thanks again for your time and review. |
|
@Joon-Klaps any thoughts on the state of the branch? |
|
@nf-core-bot update gpu snapshot path: subworkflows/nf-core/fastq_align_dedup_bwamem |
|
@eduard-watchmaker, seems like the gpu snapshot files are still empty. This is likely becuase you've provided I'm suprised to hear that [[:], []] didn't work, as it's the default way of providing empty inputs. Why didn't it work? Also you didn't adress this https://github.com/nf-core/modules/pull/9309/files#r2485746222. |
I keep getting the: but that may actually not be the reason of it, although I can't find the culprit at all. |
| input[3] = BWA_INDEX.out.index | ||
| input[4] = false // skip_deduplication | ||
| input[5] = true // use_gpu | ||
| input[6] = [[:], [] ] // interval_file | ||
| input[7] = [[:], [] ] // known_sites | ||
| input[8] = "bam" // output_fmt |
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.
Your variables are not passed correcty,
How it's written within the subworkflow:
ch_reads // channel: [ val(meta), [ reads ] ]
ch_fasta // channel: [ val(meta), [ fasta ] ]
ch_fasta_index // channel: [ val(meta), [ fasta index ] ]
ch_bwamem_index // channel: [ val(meta), [ bwam index ] ]
skip_deduplication // boolean: whether to deduplicate alignments
use_gpu // boolean: whether to use GPU or CPU for bwamem alignment
output_fmt // string: output format for parabricks fq2bam (e.g., 'bam' or 'cram')
interval_file // channel: [ val(meta), [ interval file ] ]
known_sites // channel: [ val(meta), [ known sites ] ]
Outfmt comes before interval_file & known sites
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.
thanks, that totally went under my radar!
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.
fixed, still get error:
Caused by:
Path value cannot be null
maybe bwa_index is nmot working, I need to explore and debug more, any ideas welcome!
|
Ah yes the bwa/index issue I suspect. See github.com//issues/9230 for the ongoing discussion. |
| include { FASTQ_ALIGN_BWA } from '../../nf-core/fastq_align_bwa/main' | ||
| include { PICARD_ADDORREPLACEREADGROUPS } from '../../../modules/nf-core/picard/addorreplacereadgroups/main' | ||
| include { PICARD_MARKDUPLICATES } from '../../../modules/nf-core/picard/markduplicates/main' | ||
| include { PARABRICKS_FQ2BAM } from '../../../modules/nf-core/parabricks/fq2bam/main' |
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.
Should this not be the meth version then?
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.
Sorry why would this be the meth version? We want the bwamem version to align normal DNA
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.
Because of the comment a few lines below that :)
I assume these tests were running on the original version of fq2bam? Unsure why they are not working now with the samew bwa mem issue. |
PR checklist
Closes #XXX
versions.ymlfile.labelnf-core modules test <MODULE> --profile dockernf-core modules test <MODULE> --profile singularitynf-core modules test <MODULE> --profile condanf-core subworkflows test <SUBWORKFLOW> --profile dockernf-core subworkflows test <SUBWORKFLOW> --profile singularitynf-core subworkflows test <SUBWORKFLOW> --profile conda