# HG changeset patch # User iuc # Date 1466890062 14400 # Node ID ee52d9cfaffca8fc1c1ab49fb8a641f11b8ab567 # Parent fea78fd36a05849cf8f39df2c92e92348973c1b2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393 diff -r fea78fd36a05 -r ee52d9cfaffc macros.xml --- a/macros.xml Wed Jun 15 06:23:24 2016 -0400 +++ b/macros.xml Sat Jun 25 17:27:42 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 fea78fd36a05 -r ee52d9cfaffc stacks_assembleperead.xml --- a/stacks_assembleperead.xml Wed Jun 15 06:23:24 2016 -0400 +++ b/stacks_assembleperead.xml Sat Jun 25 17:27:42 2016 -0400 @@ -1,4 +1,4 @@ - + run the STACKS sort_read_pairs.pl and exec_velvet.pl wrappers macros.xml @@ -13,17 +13,24 @@ #for $input_file in $stacks_col: #set $ext = "" - #if not str($input_file.name).endswith('.tsv'): + #if not str($input_file.element_identifier).endswith('.tsv'): #set $ext = ".tsv" #end if - ln -s "${input_file}" "stacks_inputs/${input_file.name}${ext}" && + ln -s "${input_file}" "stacks_inputs/${input_file.element_identifier}${ext}" && #end for #for $input_file in $reads: - #set $name = str($input_file.name) - #if $name.endswith('.2.fq'): - ## sort_read_pairs is expecting strange fastq names... + #set $name = str($input_file.element_identifier) + ## sort_read_pairs is expecting strange fastq names: .fq_2 + #if $name.endswith('.1.fq'): + ## handle a common case + #set $name = $name[:-5]+".fq_1" + #else if $name.endswith('.2.fq'): + ## handle a common case #set $name = $name[:-5]+".fq_2" + #else if not $name.endswith('.fq') and not $name.endswith('.fq_2'): + ## no extension, consider it's a fq_2 file + #set $name = $name + ".fq_2" #end if ln -s "${input_file}" "reads/${name}" && #end for @@ -57,7 +64,7 @@ ]]> - + @@ -72,7 +79,8 @@ - + not velvet['use_velvet'] + @@ -127,14 +135,6 @@ - - - - - - - - diff -r fea78fd36a05 -r ee52d9cfaffc tool_dependencies.xml --- a/tool_dependencies.xml Wed Jun 15 06:23:24 2016 -0400 +++ b/tool_dependencies.xml Sat Jun 25 17:27:42 2016 -0400 @@ -1,7 +1,7 @@ - +