comparison qiime2/qiime_taxa_filter-seqs.xml @ 14:a0a8d77a991c draft

Uploaded
author florianbegusch
date Thu, 03 Sep 2020 09:51:29 +0000
parents f190567fe3f6
children
comparison
equal deleted inserted replaced
13:887cd4ad8e16 14:a0a8d77a991c
1 <?xml version="1.0" ?> 1 <?xml version="1.0" ?>
2 <tool id="qiime_taxa_filter-seqs" name="qiime taxa filter-seqs" version="2019.7"> 2 <tool id="qiime_taxa_filter-seqs" name="qiime taxa filter-seqs"
3 <description> - Taxonomy-based feature sequence filter.</description> 3 version="2020.8">
4 <requirements> 4 <description>Taxonomy-based feature sequence filter.</description>
5 <requirement type="package" version="2019.7">qiime2</requirement> 5 <requirements>
6 </requirements> 6 <requirement type="package" version="2020.8">qiime2</requirement>
7 <command><![CDATA[ 7 </requirements>
8 <command><![CDATA[
8 qiime taxa filter-seqs 9 qiime taxa filter-seqs
9
10
11 #if str( $id_to_taxonomy_fp.selector ) == 'history'
12 #set $tax = $id_to_taxonomy_fp.taxonomy_fp
13 --i-taxonomy '$tax'
14 #else:
15 #set $tax = $id_to_taxonomy_fp.taxonomy_fp.fields.path
16 --i-taxonomy '$tax'
17 #end if
18
19 10
20 --i-sequences=$isequences 11 --i-sequences=$isequences
21 12
13 --i-taxonomy=$itaxonomy
14
22 #if str($pinclude): 15 #if str($pinclude):
23 --p-include="$pinclude" 16 --p-include=$pinclude
24 #end if 17 #end if
25
26 #if str($pexclude): 18 #if str($pexclude):
27 --p-exclude="$pexclude" 19 --p-exclude=$pexclude
28 #end if 20 #end if
29
30 #if str($pquerydelimiter): 21 #if str($pquerydelimiter):
31 --p-query-delimiter="$pquerydelimiter" 22 --p-query-delimiter=$pquerydelimiter
32 #end if 23 #end if
33
34 #if str($pmode) != 'None': 24 #if str($pmode) != 'None':
35 --p-mode=$pmode 25 --p-mode=$pmode
36 #end if 26 #end if
37 27
38 --o-filtered-sequences=ofilteredsequences 28 --o-filtered-sequences=ofilteredsequences
29
30 #if str($examples) != 'None':
31 --examples=$examples
32 #end if
33
39 ; 34 ;
40 cp ofilteredsequences.qza $ofilteredsequences 35 cp ofilteredsequences.qza $ofilteredsequences
41 ]]></command>
42 <inputs>
43 <param format="qza,no_unzip.zip" label="--i-sequences: ARTIFACT FeatureData[Sequence] Feature sequences to be filtered. [required]" name="isequences" optional="False" type="data"/>
44 36
45 <conditional name="id_to_taxonomy_fp" optional="True"> 37 ]]></command>
46 <param name="selector" type="select" label="Reference taxonomy to query"> 38 <inputs>
47 <option value="cached">Public databases</option> 39 <param format="qza,no_unzip.zip" label="--i-sequences: ARTIFACT FeatureData[Sequence] Feature sequences to be filtered. [required]" name="isequences" optional="False" type="data" />
48 <option value="history">Databases from your history</option> 40 <param format="qza,no_unzip.zip" label="--i-taxonomy: ARTIFACT FeatureData[Taxonomy] Taxonomic annotations for features in the provided feature sequences. All features in the feature sequences must have a corresponding taxonomic annotation. Taxonomic annotations for features that are not present in the feature sequences will be ignored. [required]" name="itaxonomy" optional="False" type="data" />
49 </param> 41 <param label="--p-include: TEXT One or more search terms that indicate which taxa should be included in the resulting sequences. If providing more than one term, terms should be delimited by the query-delimiter character. By default, all taxa will be included. [optional]" name="pinclude" optional="False" type="text" />
50 <when value="cached"> 42 <param label="--p-exclude: TEXT One or more search terms that indicate which taxa should be excluded from the resulting sequences. If providing more than one term, terms should be delimited by the query-delimiter character. By default, no taxa will be excluded. [optional]" name="pexclude" optional="False" type="text" />
51 <param argument="--taxonomy_fp" label="Reference taxonomy" type="select" optional="True"> 43 <param label="--p-query-delimiter: TEXT The string used to delimit multiple search terms provided to include or exclude. This parameter should only need to be modified if the default delimiter (a comma) is used in the provided taxonomic annotations. [default: \',\']" name="pquerydelimiter" optional="False" type="text" value="\',\'" />
52 <options from_data_table="qiime_taxonomy" /> 44 <param label="--p-mode: " name="pmode" optional="True" type="select">
53 </param> 45 <option selected="True" value="None">Selection is Optional</option>
54 </when> 46 <option value="exact">exact</option>
55 <when value="history"> 47 <option value="contains">contains</option>
56 <param argument="--taxonomy_fp" type="data" format="qza,no_unzip.zip" label="Reference databases" optional="True" /> 48 </param>
57 </when> 49 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
58 </conditional> 50
51 </inputs>
59 52
60 <param label="--p-include: TEXT One or more search terms that indicate which taxa should be included in the resulting sequences. If providing more than one term, terms should be delimited by the query-delimiter character. By default, all taxa will be included. [optional]" name="pinclude" optional="True" type="text"/> 53 <outputs>
61 <param label="--p-exclude: TEXT One or more search terms that indicate which taxa should be excluded from the resulting sequences. If providing more than one term, terms should be delimited by the query-delimiter character. By default, no taxa will be excluded. [optional]" name="pexclude" optional="True" type="text"/> 54 <data format="qza" label="${tool.name} on ${on_string}: filteredsequences.qza" name="ofilteredsequences" />
62 <param label="--p-query-delimiter: TEXT The string used to delimit multiple search terms provided to include or exclude. This parameter should only need to be modified if the default delimiter (a comma) is used in the provided taxonomic annotations. [default: ',']" name="pquerydelimiter" optional="True" type="text" value=","/> 55
63 <param label="--p-mode: " name="pmode" optional="True" type="select"> 56 </outputs>
64 <option selected="True" value="None">Selection is Optional</option> 57
65 <option value="exact">exact</option> 58 <help><![CDATA[
66 <option value="contains">contains</option>
67 </param>
68 </inputs>
69 <outputs>
70 <data format="qza" label="${tool.name} on ${on_string}: filteredsequences.qza" name="ofilteredsequences"/>
71 </outputs>
72 <help><![CDATA[
73 Taxonomy-based feature sequence filter. 59 Taxonomy-based feature sequence filter.
74 ####################################### 60 ###############################################################
75 61
76 This method filters sequences based on their taxonomic annotations. 62 This method filters sequences based on their taxonomic annotations.
77 Features can be retained in the result by specifying one or more include 63 Features can be retained in the result by specifying one or more include
78 search terms, and can be filtered out of the result by specifying one or 64 search terms, and can be filtered out of the result by specifying one or
79 more exclude search terms. If both include and exclude are provided, the 65 more exclude search terms. If both include and exclude are provided, the
111 97
112 Returns 98 Returns
113 ------- 99 -------
114 filtered_sequences : FeatureData[Sequence] 100 filtered_sequences : FeatureData[Sequence]
115 The taxonomy-filtered feature sequences. 101 The taxonomy-filtered feature sequences.
116 ]]></help> 102 ]]></help>
117 <macros> 103 <macros>
118 <import>qiime_citation.xml</import> 104 <import>qiime_citation.xml</import>
119 </macros> 105 </macros>
120 <expand macro="qiime_citation"/> 106 <expand macro="qiime_citation"/>
121 </tool> 107 </tool>