Mercurial > repos > bgruening > alevin
annotate umiout.sh @ 13:e32b215b7c04 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit 26cff0d523671ac1e56ba7ef4965861b387727e8
author | bgruening |
---|---|
date | Fri, 23 Jun 2023 17:03:24 +0000 |
parents | e53f19161c59 |
children |
rev | line source |
---|---|
2
e53f19161c59
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
1 #!/usr/bin/bash |
e53f19161c59
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
2 |
e53f19161c59
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
3 mkdir fixed; |
e53f19161c59
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
4 for file in ./umiout/*; |
e53f19161c59
"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}"; |
e53f19161c59
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
6 prefix=${prefix/.\/umiout\//}; |
e53f19161c59
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
7 gunzip $file; |
e53f19161c59
"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; |
e53f19161c59
"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; |
e53f19161c59
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
10 done |
e53f19161c59
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit c17bc974bf9bbaa1fc1e47ea72162fd244f0e612"
bgruening
parents:
diff
changeset
|
11 ls fixed |