Skip to content
Snippets Groups Projects
Commit 3c9c7d4d authored by Jonathan Gesell's avatar Jonathan Gesell
Browse files

Changed tag from 'gene_id' to 'gene_name'

parent 3f71105b
Branches
Tags
2 merge requests!37v0.0.1,!22Resolve "process_count"
Pipeline #6276 passed with stages
in 59 minutes and 49 seconds
......@@ -401,9 +401,9 @@ process makeFeatureCounts {
script:
"""
if [ "${endsManual_featureCounts }" == "se" ]; then
featureCounts -R SAM -p -G ${genome} -T `nproc` -s 1 -a ${gtf} -o ${repRID}.featureCounts ${repRID}.sorted.deduped.bam;
featureCounts -R SAM -p -G ${genome} -T `nproc` -s 1 -a ${gtf} -o ${repRID}.featureCounts -g 'gene_name' ${repRID}.sorted.deduped.bam;
elif [ "${endsManual_featureCounts }" == "pe" ]; then
featureCounts -R SAM -p -G ${genome} -T `nproc` -s 1 -p -a ${gtf} -o ${repRID}.featureCounts ${repRID}.sorted.deduped.bam;
featureCounts -R SAM -p -G ${genome} -T `nproc` -s 1 -p -a ${gtf} -o ${repRID}.featureCounts -g 'gene_name' ${repRID}.sorted.deduped.bam;
fi;
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