Mercurial > repos > brinkmanlab > mauve_contig_mover
annotate mcm_final.sh @ 7:4c4838703fa8 draft default tip
planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit d396bc9f82b351c35ae4940ebfbb6a43e6e7215a
author | brinkmanlab |
---|---|
date | Thu, 25 Aug 2022 21:03:33 +0000 |
parents | c14690ec0c9f |
children |
rev | line source |
---|---|
0
c14690ec0c9f
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
1 #!/usr/bin/env bash |
c14690ec0c9f
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
2 ln -sf output/`ls -1 output | tail -n1` final |
c14690ec0c9f
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
3 mv "`ls -1 final/*.backbone | tail -n1`" final.backbone |
c14690ec0c9f
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
4 mv "`ls -1 final/*_contigs.tab | tail -n1`" final.contigs.tab |
c14690ec0c9f
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
5 mv "`ls -1 final/*.fas | tail -n1`" final.reordered |
c14690ec0c9f
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
6 |
c14690ec0c9f
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
7 FEATURES="`ls -1 final/*_features.tab 2>/dev/null | tail -n1`" |
c14690ec0c9f
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
8 if [[ -w ${FEATURES} ]]; then |
c14690ec0c9f
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
9 mv "${FEATURES}" final.features.tab |
c14690ec0c9f
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
10 fi |
c14690ec0c9f
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
11 |