Mercurial > repos > matthias > stacks2_sstacks
changeset 4:176f2a0c6683 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit c42d129928cfd153ba7a922368c8e76e79b242b2
author | matthias |
---|---|
date | Fri, 04 Jan 2019 03:35:36 -0500 |
parents | e0ac675a6785 |
children | aef37afe214f |
files | macros.xml stacks_sstacks.xml todo.txt |
diffstat | 3 files changed, 24 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/macros.xml Tue Dec 18 13:00:04 2018 -0500 +++ b/macros.xml Fri Jan 04 03:35:36 2019 -0500 @@ -128,6 +128,20 @@ </data> </xml> + <!-- inputs from previous pipeline steps --> + <xml name="input_cat_macro"> + <param name="input_cat" format="tabular,txt" type="data_collection" collection_type="list" label="Catalog files" help="output from a previous Stacks pipeline steps e.g. denovo_map, refmap or cstacks" /> + </xml> + <xml name="input_tags_macro"> + <param name="input_tags" format="tabular,txt" type="data_collection" collection_type="list" label="Samples stacks" help="output from previous Stacks pipeline steps e.g. denovo_map, refmap or ustacks" /> + </xml> + <xml name="input_matches_macro"> + <param name="input_matches" format="tabular,txt" type="data_collection" collection_type="list" label="Matches to the catalog" help="output from previous Stacks pipeline steps e.g. denovo_map, refmap or sstacks" /> + </xml> + <xml name="input_aln_macro"> + <param name="input_aln" format="tabular,txt" type="data_collection" collection_type="list" label="Output from previous Stacks pipeline steps (e.g. gstacks, denovo_map, or refmap)" argument="-P" /> + </xml> + <!-- fastq input --> <xml name="fastq_input_macro" token_fastq_optional="false"> @@ -241,9 +255,9 @@ </xml> <!-- ustacks outputs collection containing SAMPLE.tags.tsv, SAMPLE.snps.tsv, SAMPLE.alleles.tsv (SAMPLE!=catalog) --> - <!-- TODO tags, snps, and alleles could go to sub collections --> + <!-- TODO tags, snps, and alleles could go to sub collections; same for other tools --> <xml name="ustacks_outputs_macro" token_tooladd=""> - <collection name="tabs" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Stacks"> + <collection name="tabs" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Loci per sample"> <discover_datasets pattern="(?P<name>(?!catalog).+\.tags)\.tsv$" ext="tabular" directory="stacks_outputs" /> <discover_datasets pattern="(?P<name>(?!catalog).+\.snps)\.tsv$" ext="tabular" directory="stacks_outputs" /> <discover_datasets pattern="(?P<name>(?!catalog).+\.alleles)\.tsv$" ext="tabular" directory="stacks_outputs" /> @@ -251,7 +265,7 @@ </xml> <!-- cstacks outputs collection containing catalog.tags.tsv, catalog.snps.tsv, catalog.alleles.tsv --> <xml name="cstacks_outputs_macro" token_tooladd=""> - <collection name="catalog" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Catalog"> + <collection name="catalog" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Catalog of loci"> <discover_datasets pattern="(?P<name>catalog\.(tags|snps|alleles))\.tsv$" ext="tabular" directory="stacks_outputs" /> </collection> </xml> @@ -263,13 +277,13 @@ </xml> <!-- tsv2bam outputs collection containing SAMPLE.matches.bam --> <xml name="tsv2bam_outputs_macro" token_tooladd=""> - <collection name="bams" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Stacks"> + <collection name="bams" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Loci"> <discover_datasets pattern="(?P<name>.+\.matches)\.bam$" ext="bam" directory="stacks_outputs" /> </collection> </xml> <!-- gstacks outputs collection containing catalog.calls.vcf and catalog.fa.gz --> <xml name="gstacks_outputs_macro" token_tooladd=""> - <collection name="gstacks_out" type="list" label="${tool.name} @TOOLADD@ on ${on_string}"> + <collection name="gstacks_out" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Assembled contigs and variant sites"> <discover_datasets pattern="(?P<name>catalog\.calls\.vcf)$" ext="vcf" directory="stacks_outputs" /> <discover_datasets pattern="(?P<name>catalog\.fa\.gz)$" ext="fasta.gz" directory="stacks_outputs" /> </collection>
--- a/stacks_sstacks.xml Tue Dec 18 13:00:04 2018 -0500 +++ b/stacks_sstacks.xml Fri Jan 04 03:35:36 2019 -0500 @@ -70,8 +70,8 @@ ]]></command> <inputs> - <param name="input_cat" format="tabular,txt" type="data_collection" collection_type="list" label="Catalog files" help="output from a previous Stacks pipeline steps e.g. denovo_map, refmap or cstacks" /> - <param name="input_tags" format="tabular,txt" type="data_collection" collection_type="list" label="Samples stacks" help="output from previous Stacks pipeline steps e.g. denovo_map, refmap or ustacks/pstacks" /> + <expand macro="input_cat_macro"/> + <expand macro="input_tags_macro"/> <param name="popmap" type="data" format="tabular,txt" label="Population map" help="If set, matching will be done only for samples listed in this file" optional="true" argument="-M" /> <param argument="-x" type="boolean" checked="false" truevalue="-x" falsevalue="" label="don't verify haplotype of matching locus" /> @@ -163,13 +163,13 @@ **What it does** -Sets of stacks constructed by the ustacks or pstacks programs can be searched against a catalog produced by cstacks. In the case of a genetic map, stacks from the progeny would be matched against the catalog to determine which progeny contain which parental alleles. +Sets of stacks constructed by ustacks can be searched against a catalog produced by cstacks. In the case of a genetic map, stacks from the progeny would be matched against the catalog to determine which progeny contain which parental alleles. -------- **Input files** -Output from denovo_map, refmap or cstacks/ustacks/pstacks +Output from denovo_map, refmap or cstacks/ustack **Output files**