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

Add more columns

parent 9dcdb645
Branches
Tags
2 merge requests!37v0.0.1,!29Track.pipeline
Pipeline #6727 passed with stages
in 13 minutes and 10 seconds
......@@ -44,6 +44,28 @@ script_parseMeta = Channel.fromPath("${baseDir}/scripts/parseMeta.py")
script_calculateTPM = Channel.fromPath("${baseDir}/scripts/calculateTPM.R")
script_inferMeta = Channel.fromPath("${baseDir}/scripts/inferMeta.sh")
/*
* trackStart: track start of pipeline
*/
process trackStart {
script:
"""
hostname
ulimit -a
export https_proxy=\${http_proxy}
aws dynamodb put-item \
--table-name pipeline.tracking \
--item '{ \
"sessionId": {"S": "${workflow.sessionId}"}, \
"pipeline": {"S": "cellranger_count"}, \
"start": {"S": "${workflow.start}"}, \
"astrocyte": {"BOOL": ${params.astrocyte}}, \
"status": {"S": "started"}, \
"nextflowVersion": {"S": "${workflow.nextflow.version}"}}'
"""
}
/*
* splitData: split bdbag files by replicate so fetch can occure in parallel, and rename files to replicate rid
*/
......@@ -828,4 +850,4 @@ process dataQC {
echo "echo \"LOG: running tin.py on \${i}\" >> ${repRID}.rseqc.err; tin.py -i ${repRID}.sorted.deduped.\${i}.bam -r ./bed/genome.bed 1>>${repRID}.rseqc.log 2>>${repRID}.rseqc.err; cat ${repRID}.sorted.deduped.\${i}.tin.xls | tr -s \"\\w\" \"\\t\" | grep -P \\\"\\\\t\${i}\\\\t\\\";";
done | parallel -j `nproc` -k 1>> ${repRID}.sorted.deduped.tin.xls 2>>${repRID}.rseqc.err
"""
}
\ No newline at end of file
}
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