Skip to content
Snippets Groups Projects
Commit 96a89c3a authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

TEST remove count process

parent d0d5114b
Branches
Tags
2 merge requests!37v0.0.1,!22Resolve "process_count"
Pipeline #6232 failed with stages
in 8 minutes
......@@ -404,25 +404,3 @@ process makeBigWig {
"""
}
/*
*Run featureCounts and get the counts, tpm, and fpkm
*/
process makeFeatureCounts {
tag "${repRID}"
publishDir "${outDir}/featureCounts", mode: 'copy', pattern: "${repRID}*.featureCounts*"
publishDir "${logsDir}", mode: 'copy', pattern: "${repRID}.makeFetureCounts.{out,err}"
input:
path script_calculateTPM
tuple val (repRID1), path (bam), path (bai) from featureCountsIn
tuple val (repRID2), path (genome), path (gtf) from featureCountsRef
output:
tuple val ("${repRID}"), path ("${repRID}.featureCounts.summary"), path ("${repRID}.featureCounts"), path ("${bam}.featureCounts.sam") into featureCountsOut
script:
"""
featureCounts -R SAM -p -G ${genome} -T `nproc` -a ${gtf} -o ${repRID}.featureCounts ${repRID}.sorted.deduped.bam
Rscript calculateTPM.R --count "${repRID}.featureCounts"
"""
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment