Mercurial > repos > bgruening > salmon
annotate umiout.sh @ 14:b265be7af3db draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit 4c71464b5f5047e0745067c115c37a5d06867649"
author | bgruening |
---|---|
date | Mon, 13 Jul 2020 17:13:55 -0400 |
parents | 7fdb9d1591e2 |
children |
rev | line source |
---|---|
12
7fdb9d1591e2
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
1 #!/usr/bin/bash |
7fdb9d1591e2
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
2 |
7fdb9d1591e2
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
3 mkdir fixed; |
7fdb9d1591e2
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
4 for file in ./umiout/*; |
7fdb9d1591e2
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
5 do prefix="${file%.dot.gz}"; |
7fdb9d1591e2
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
6 prefix=${prefix/.\/umiout\//}; |
7fdb9d1591e2
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
7 gunzip $file; |
7fdb9d1591e2
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
8 sed "s/umiout\/$prefix.dot.gz/$prefix/" umiout/$prefix.dot > fixed/$prefix.dot; |
7fdb9d1591e2
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
9 dot -Tpdf fixed/$prefix.dot -o fixed/$prefix.pdf; |
7fdb9d1591e2
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
10 done |
7fdb9d1591e2
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
11 ls fixed |