Mercurial > repos > iuc > amas_replicate
comparison amas_replicate.xml @ 0:24431ccf6352 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/amas commit 158ec0e635067d354c425baf14b95cb616fd93c4
| author | iuc |
|---|---|
| date | Tue, 02 Dec 2025 09:26:59 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:24431ccf6352 |
|---|---|
| 1 <tool id="amas_replicate" name="AMAS replicate" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | |
| 2 <description>replicate multiple alignments</description> | |
| 3 | |
| 4 <macros> | |
| 5 <import>macros.xml</import> | |
| 6 </macros> | |
| 7 | |
| 8 <xrefs> | |
| 9 <xref type="bio.tools">amas</xref> | |
| 10 </xrefs> | |
| 11 | |
| 12 <expand macro="requirements" /> | |
| 13 <expand macro="version_command" /> | |
| 14 | |
| 15 <command detect_errors="exit_code"><![CDATA[ | |
| 16 #import re | |
| 17 set -eu; | |
| 18 | |
| 19 @SNIFF_INPUT_FORMAT@ | |
| 20 | |
| 21 @CHECK_INTERLEAVED@ | |
| 22 | |
| 23 @SYMLINK_INPUTS@ | |
| 24 | |
| 25 python -m amas.AMAS | |
| 26 replicate | |
| 27 --rep-aln $replicate_replicates $replicate_loci | |
| 28 --out-format $out_format | |
| 29 --in-files | |
| 30 @INPUT_FILENAMES@ | |
| 31 --in-format "\${IN_FORMAT}" | |
| 32 --data-type $data_type | |
| 33 --cores "\${GALAXY_SLOTS:-1}" | |
| 34 $check_align | |
| 35 ]]></command> | |
| 36 | |
| 37 <inputs> | |
| 38 <param name="input_files" type="data" format="fasta,phylip,nex" label="Sequence(s) to replicate" multiple="true" | |
| 39 help="Provide pre-aligned FASTA/PHYLIP/NEXUS files (DNA or protein); mixes of unaligned reads or contigs will produce meaningless results." /> | |
| 40 <expand macro="output_format" label="Select output format for replicated alignment(s)" /> | |
| 41 <param name="replicate_replicates" type="integer" value="10" min="1" label="Number of replicate datasets to build" /> | |
| 42 <param name="replicate_loci" type="integer" value="2" min="1" label="Number of loci per replicate" /> | |
| 43 <expand macro="data_type" /> | |
| 44 <expand macro="check_align" /> | |
| 45 </inputs> | |
| 46 | |
| 47 <outputs> | |
| 48 <expand macro="collection_outputs" name="replicate_alignments" /> | |
| 49 </outputs> | |
| 50 | |
| 51 <tests> | |
| 52 <test expect_num_outputs="1"> | |
| 53 <param name="input_files" value="inputs/fasta1.fas" /> | |
| 54 <param name="replicate_replicates" value="2" /> | |
| 55 <param name="replicate_loci" value="1" /> | |
| 56 <param name="out_format" value="nexus" /> | |
| 57 <param name="data_type" value="dna" /> | |
| 58 <param name="check_align" value="false" /> | |
| 59 <output_collection name="replicate_alignments_nexus" type="list"> | |
| 60 <element name="replicate1_1-loci-out.nex" file="outputs/expected_replicate1.nex" ftype="nex" /> | |
| 61 <element name="replicate2_1-loci-out.nex" file="outputs/expected_replicate2.nex" ftype="nex" /> | |
| 62 </output_collection> | |
| 63 </test> | |
| 64 </tests> | |
| 65 | |
| 66 <help><![CDATA[ | |
| 67 **What it does** | |
| 68 | |
| 69 AMAS Replicate generates jackknife or bootstrap replicates by randomly sampling loci (genes) from your dataset. This is used to assess phylogenetic signal distribution and node support across different genomic regions. | |
| 70 | |
| 71 **Inputs** | |
| 72 | |
| 73 - **Alignment files**: Multiple pre-aligned sequence files, one per locus/gene (FASTA, PHYLIP, or NEXUS format) | |
| 74 - **Number of replicates**: How many replicate datasets to generate | |
| 75 - **Loci per replicate**: How many loci to include in each replicate | |
| 76 - **Input format**: Specify the format of your input files | |
| 77 - **Data type**: Choose DNA for nucleotide sequences or Protein for amino acid sequences | |
| 78 - **Output format**: Select the desired format for the replicate alignments | |
| 79 | |
| 80 **Outputs** | |
| 81 | |
| 82 A collection of replicate alignment files. Each replicate contains a random subset of the input loci concatenated together. | |
| 83 | |
| 84 **Use cases** | |
| 85 | |
| 86 - **Phylogenetic jackknifing**: Assess whether phylogenetic signal is driven by specific loci | |
| 87 - **Node support evaluation**: Test robustness of tree topology across different gene combinations | |
| 88 - **Signal heterogeneity**: Identify whether conflicting signals come from particular genomic regions | |
| 89 | |
| 90 **Example** | |
| 91 | |
| 92 From 100 input genes, create 10 replicates each containing 50 randomly sampled genes. Each replicate can then be used to build a phylogenetic tree, and consistency across replicates indicates robust phylogenetic signal. | |
| 93 | |
| 94 @AMAS_SHARED_HELP@ | |
| 95 ]]></help> | |
| 96 | |
| 97 <expand macro="citations" /> | |
| 98 </tool> |
