Mercurial > repos > bgruening > salmonquantmerge
annotate umiout.sh @ 7:7e50e8d920db draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit 10ccc47885ce71e602d66e157bd475f1facbd042
author | bgruening |
---|---|
date | Mon, 05 Dec 2022 15:48:07 +0000 |
parents | 178ebdfe5a7e |
children |
rev | line source |
---|---|
2
178ebdfe5a7e
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
1 #!/usr/bin/bash |
178ebdfe5a7e
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
2 |
178ebdfe5a7e
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
3 mkdir fixed; |
178ebdfe5a7e
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
4 for file in ./umiout/*; |
178ebdfe5a7e
"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}"; |
178ebdfe5a7e
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
6 prefix=${prefix/.\/umiout\//}; |
178ebdfe5a7e
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
7 gunzip $file; |
178ebdfe5a7e
"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; |
178ebdfe5a7e
"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; |
178ebdfe5a7e
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
10 done |
178ebdfe5a7e
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
11 ls fixed |