Mercurial > repos > mingchen0919 > aurora_htseq_site
diff build-and-run-job-scripts.sh @ 4:b3e5f4753856 draft
planemo upload commit 104ae24ee30761a0099eeb91362ed1e3e13aba4b-dirty
author | mingchen0919 |
---|---|
date | Tue, 01 May 2018 11:20:13 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build-and-run-job-scripts.sh Tue May 01 11:20:13 2018 -0400 @@ -0,0 +1,23 @@ +# run job scripts within the tool outputs directory +cd ${REPORT_FILES_PATH} + +#========== build and run job 1 script ============ +cat >htseq-count.sh <<EOF + htseq-count \\ + $(echo ${X_A} | sed 's/,/ /g') \\ + ${X_G} \\ + -f ${X_f} \\ + -r ${X_r} \\ + -s ${X_S} \\ + -a ${X_a} \\ + -t ${X_T} \\ + -i ${X_i} \\ + -m ${X_m} > htseq-counts-raw.txt + + grep -v '__no_feature\|__ambiguous\|__too_low_aQual\|__not_aligned\|__alignment_not_unique' htseq-counts-raw.txt > counts.txt + +EOF + +# run job 1 script +sh htseq-count.sh +