Mercurial > repos > mingchen0919 > aurora_htseq
comparison build-and-run-job-scripts.sh @ 0:803f4888f36a draft
planemo upload commit 004a320fc0619c234164b44c64ba5dce205734e1
author | mingchen0919 |
---|---|
date | Thu, 13 Dec 2018 22:46:23 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:803f4888f36a |
---|---|
1 # run job scripts within the tool outputs directory | |
2 cd ${REPORT_FILES_PATH} | |
3 | |
4 #========== build and run job 1 script ============ | |
5 cat >htseq-count.sh <<EOF | |
6 htseq-count \\ | |
7 $(echo ${X_A} | sed 's/,/ /g') \\ | |
8 ${X_G} \\ | |
9 -f ${X_f} \\ | |
10 -r ${X_r} \\ | |
11 -s ${X_S} \\ | |
12 -a ${X_a} \\ | |
13 -t ${X_T} \\ | |
14 -i ${X_i} \\ | |
15 -m ${X_m} > htseq-counts-raw.txt | |
16 | |
17 grep -v '__no_feature\|__ambiguous\|__too_low_aQual\|__not_aligned\|__alignment_not_unique' htseq-counts-raw.txt > counts.txt | |
18 | |
19 EOF | |
20 | |
21 # run job 1 script | |
22 sh htseq-count.sh | |
23 |