Conversation
…t and schema_input
Added and integrated the samtools/view module, updated the sampleshee…
…samtools/sort module
Added position specifier for samtools/view, added and integrated the …
Added samtools/fastq module and integrated it
Added and integrated pear module
…eads and modified versions.yml
Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
Added a module to merge reads
Cmgg multiqc
Add connection to nf-cmgg configs
There was a problem hiding this comment.
Shouldn't this be reference data, or at least live somewhere else? (e.g. outside the pipeline)
There was a problem hiding this comment.
Good catch! I forgot to move it
There was a problem hiding this comment.
There is one input file per mini pipeline present in the pipeline, I kept it separate because the flows don't interact with eachother and this kept it more clear
There was a problem hiding this comment.
This is a bash script, port it to a module
There was a problem hiding this comment.
What is the holy hell is this even and why can't this be done with a "normal" tool and a module in multiiqc_cmgg ?
There was a problem hiding this comment.
It's a bit too complex for a multiqc, I tried, this would need a UI on its own which would take more work than we currently have time for
There was a problem hiding this comment.
Ditch this and use the config from nf-cmgg/configs or remove it entirely
There was a problem hiding this comment.
Drop custom module, use nf-core CAT_FASTQ or something
| fq_all = f"{outputdir}/{sample}_all.fastq.gz" | ||
|
|
||
| ### extract reads from BAM/CRAM ### | ||
| subprocess.check_output(f"{samtools} view -T {reference_genome} {cram} {pos} -F 12 -b -o {bam}", stderr=subprocess.STDOUT, shell=True) |
There was a problem hiding this comment.
Are you kidding me....? pythonbash?
There was a problem hiding this comment.
🙂 This is the original script, now replaced by the targeted.nf workflow, and can be removed.
| ### check if file is not empty (otherwise pear goes in ERROR) ### | ||
| if os.path.getsize(fq_r1) != 0: | ||
| ### merge overlapping read pairs using pear ### | ||
| subprocess.check_output(f"{pear} --forward-fastq {fq_r1} --reverse-fastq {fq_r2} --output {fq_p} >> {log}", stderr=subprocess.STDOUT, shell=True) |
There was a problem hiding this comment.
Why do we run pear, or any other tool here when we have a module??
There was a problem hiding this comment.
This is the original script, now replaced by the targeted.nf workflow, and can be removed.
matthdsm
left a comment
There was a problem hiding this comment.
I don't really like adding all the crap to the history, but whatever I guess.
Let's just do this and then deprecate this pipeline ASAP entirely
First release of the pipeline