comparison qiime2__rescript__trim_alignment.xml @ 0:2eff5d70ecd5 draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__rescript commit 389df0134cd0763dcf02aac6e623fc15f8861c1e
author q2d2
date Thu, 25 Apr 2024 21:24:39 +0000
parents
children f14be3f75d11
comparison
equal deleted inserted replaced
-1:000000000000 0:2eff5d70ecd5
1 <?xml version='1.0' encoding='utf-8'?>
2 <!--
3 Copyright (c) 2024, QIIME 2 development team.
4
5 Distributed under the terms of the Modified BSD License. (SPDX: BSD-3-Clause)
6 -->
7 <!--
8 This tool was automatically generated by:
9 q2galaxy (version: 2024.2.1)
10 for:
11 qiime2 (version: 2024.2.0)
12 -->
13 <tool name="qiime2 rescript trim-alignment" id="qiime2__rescript__trim_alignment" version="2024.2.2+q2galaxy.2024.2.1" profile="22.05" license="BSD-3-Clause">
14 <description>Trim alignment based on provided primers or specific positions.</description>
15 <requirements>
16 <container type="docker">quay.io/qiime2/amplicon:2024.2</container>
17 </requirements>
18 <version_command>q2galaxy version rescript</version_command>
19 <command detect_errors="exit_code">q2galaxy run rescript trim_alignment '$inputs'</command>
20 <configfiles>
21 <inputs name="inputs" data_style="staging_path_and_source_path"/>
22 </configfiles>
23 <inputs>
24 <param name="aligned_sequences" type="data" format="qza" label="aligned_sequences: FeatureData[AlignedSequence]" help="[required] Aligned DNA sequences.">
25 <options options_filter_attribute="metadata.semantic_type">
26 <filter type="add_value" value="FeatureData[AlignedSequence]"/>
27 </options>
28 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureData[AlignedSequence]']</validator>
29 </param>
30 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
31 <conditional name="__q2galaxy__GUI__conditional__primer_fwd__" label="primer_fwd: Str">
32 <param name="__q2galaxy__GUI__select__" type="select" label="primer_fwd: Str" help="[optional] Forward primer used to find the start position for alignment trimming.">
33 <option value="__q2galaxy__::control::default" selected="true">None (Use default behavior)</option>
34 <option value="__q2galaxy__::control::provide">Provide a value</option>
35 </param>
36 <when value="__q2galaxy__::control::default">
37 <param name="primer_fwd" type="hidden" value="__q2galaxy__::literal::None"/>
38 </when>
39 <when value="__q2galaxy__::control::provide">
40 <param name="primer_fwd" type="text">
41 <sanitizer>
42 <valid initial="string.printable"/>
43 </sanitizer>
44 </param>
45 </when>
46 </conditional>
47 <conditional name="__q2galaxy__GUI__conditional__primer_rev__" label="primer_rev: Str">
48 <param name="__q2galaxy__GUI__select__" type="select" label="primer_rev: Str" help="[optional] Reverse primer used to find the end position for alignment trimming.">
49 <option value="__q2galaxy__::control::default" selected="true">None (Use default behavior)</option>
50 <option value="__q2galaxy__::control::provide">Provide a value</option>
51 </param>
52 <when value="__q2galaxy__::control::default">
53 <param name="primer_rev" type="hidden" value="__q2galaxy__::literal::None"/>
54 </when>
55 <when value="__q2galaxy__::control::provide">
56 <param name="primer_rev" type="text">
57 <sanitizer>
58 <valid initial="string.printable"/>
59 </sanitizer>
60 </param>
61 </when>
62 </conditional>
63 <param name="position_start" type="integer" min="1" optional="true" label="position_start: Int % Range(1, None)" help="[optional] Position within the alignment where the trimming will begin. If not provided, alignment will notbe trimmed at the beginning. If forward primer isspecified this parameter will be ignored."/>
64 <param name="position_end" type="integer" min="1" optional="true" label="position_end: Int % Range(1, None)" help="[optional] Position within the alignment where the trimming will end. If not provided, alignment will not be trimmed at the end. If reverse primer is specified this parameter will be ignored."/>
65 </section>
66 </inputs>
67 <outputs>
68 <data name="trimmed_sequences" format="qza" label="${tool.name} on ${on_string}: trimmed_sequences.qza" from_work_dir="trimmed_sequences.qza"/>
69 </outputs>
70 <tests/>
71 <help>
72 QIIME 2: rescript trim-alignment
73 ================================
74 Trim alignment based on provided primers or specific positions.
75
76
77 Outputs:
78 --------
79 :trimmed_sequences.qza: Trimmed sequence alignment.
80
81 |
82
83 Description:
84 ------------
85 Trim an existing alignment based on provided primers or specific, pre-defined positions. Primers take precedence over the positions,i.e. if both are provided, positions will be ignored.When using primers in combination with a DNA alignment, a new alignment will be generated to locate primer positions. Subsequently, start (5'-most) and end (3'-most) position from fwd and rev primer located within the new alignment is identified and used for slicing the original alignment.
86
87
88 |
89
90 </help>
91 <citations>
92 <citation type="doi">10.1371/journal.pcbi.1009581</citation>
93 <citation type="doi">10.1038/s41587-019-0209-9</citation>
94 </citations>
95 </tool>