Mercurial > repos > iuc > stacks2_procrad
annotate test-data/gentest.sh @ 2:bd5ff77e2036 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
author | iuc |
---|---|
date | Wed, 15 Jul 2020 17:33:16 -0400 |
parents | 9993234400f1 |
children | 9a171f9a450b |
rev | line source |
---|---|
0
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
1 #!/usr/bin/env bash |
2
bd5ff77e2036
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
0
diff
changeset
|
2 eval "$(conda shell.bash hook)" |
bd5ff77e2036
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
0
diff
changeset
|
3 conda activate __stacks@2.52 |
bd5ff77e2036
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
0
diff
changeset
|
4 |
bd5ff77e2036
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
0
diff
changeset
|
5 |
bd5ff77e2036
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
0
diff
changeset
|
6 |
0
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
7 |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
8 mkdir stacks_outputs |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
9 denovo_map.pl --samples demultiplexed --popmap denovo_map/popmap_cstacks.tsv -o stacks_outputs --paired && |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
10 gunzip -c stacks_outputs/catalog.calls > stacks_outputs/catalog.calls.vcf |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
11 rm stacks_outputs/catalog.calls |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
12 |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
13 mv stacks_outputs/PopA_0{1,2}.{tags,snps,alleles}.tsv ustacks/ |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
14 mv stacks_outputs/catalog.{tags,snps,alleles}.tsv cstacks/ |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
15 mv stacks_outputs/PopA_0{1,2}.matches.tsv sstacks/ |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
16 mv stacks_outputs/PopA_0{1,2}.matches.bam tsv2bam/ |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
17 mv stacks_outputs/tsv2bam.log tsv2bam/ |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
18 mv stacks_outputs/catalog.{calls.vcf,fa.gz} gstacks/ |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
19 mv stacks_outputs/gstacks.log* gstacks/ |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
20 mv stacks_outputs/populations.* populations/ |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
21 mv stacks_outputs/denovo_map.log denovo_map/ |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
22 |
9993234400f1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
23 rmdir stacks_outputs |