# HG changeset patch # User iuc # Date 1466890051 14400 # Node ID fede8a808d3627e0e7e694fbd7da283a1632438a # Parent 0f16a6c3008541a7a76481dd109f2bbe10d44315 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393 diff -r 0f16a6c30085 -r fede8a808d36 macros.xml --- a/macros.xml Wed Jun 15 06:23:05 2016 -0400 +++ b/macros.xml Sat Jun 25 17:27:31 2016 -0400 @@ -117,11 +117,11 @@ ln -s batch_1.genotypes_*onemap.tsv batch_1.genotypes.onemap.tsv && ln -s batch_1.genotypes_*.onemap.txt batch_1.genotypes.onemap.txt && ln -s batch_1.genomic_*.tsv batch_1.genomic.tsv && - ln -s batch_1.genotypes_1.rqtl.tsv batch_1.genotypes.rqtl.tsv && - ln -s batch_1.haplotypes_1.tsv batch_1.haplotypes.tsv && + ln -s batch_1.genotypes_*.rqtl.tsv batch_1.genotypes.rqtl.tsv && + ln -s batch_1.haplotypes_*.tsv batch_1.haplotypes.tsv && ln -s batch_1.genotypes_*.loc batch_1.genotypes.loc && - ln -s batch_1.genotypes_1.txt batch_1.genotypes.txt && - ln -s batch_1.genotypes_1.tsv batch_1.genotypes.tsv && + ln -s batch_1.genotypes_*.txt batch_1.genotypes.txt && + ln -s batch_1.genotypes_*[^rqtl].tsv batch_1.genotypes.tsv && cd .. ]]> diff -r 0f16a6c30085 -r fede8a808d36 stacks_pstacks.xml --- a/stacks_pstacks.xml Wed Jun 15 06:23:05 2016 -0400 +++ b/stacks_pstacks.xml Sat Jun 25 17:27:31 2016 -0400 @@ -1,4 +1,4 @@ - + find stacks from short reads mapped to a reference genome macros.xml @@ -14,12 +14,12 @@ && #if $sample.ext == "sam": - #set $data_path = splitext($sample.name)[0] + #set $data_path = splitext($sample.element_identifier)[0] #set $data_path = re.sub(r'\.1$', '', $data_path) #set $data_path = "stacks_inputs/" + $data_path + ".sam" #set inputype = "sam" #else: - #set $data_path = splitext($sample.name)[0] + #set $data_path = splitext($sample.element_identifier)[0] #set $data_path = re.sub(r'\.1$', '', $data_path) #set $data_path = "stacks_inputs/" + $data_path + ".bam" #set inputype = "bam" @@ -58,8 +58,10 @@ -o stacks_outputs + > pstacks.log 2>&1 + ## If input is in bam format, stacks will output gzipped files (no option to control this) - && gunzip stacks_outputs/*.gz + && if ls stacks_outputs/*.gz > /dev/null 2>&1; then gunzip stacks_outputs/*.gz; fi ]]> @@ -77,11 +79,13 @@ + + - - > - - + + > + + @@ -90,6 +94,12 @@ + + + + + + diff -r 0f16a6c30085 -r fede8a808d36 tool_dependencies.xml --- a/tool_dependencies.xml Wed Jun 15 06:23:05 2016 -0400 +++ b/tool_dependencies.xml Sat Jun 25 17:27:31 2016 -0400 @@ -1,7 +1,7 @@ - +