Mercurial > repos > peterjc > seq_filter_by_id
comparison tools/seq_filter_by_id/seq_filter_by_id.xml @ 10:4a7d8ad2a983 draft
Bump Biopython dependency
author | peterjc |
---|---|
date | Thu, 30 Nov 2023 09:50:34 +0000 |
parents | 141612f8c3e3 |
children | 85ef5f5a0562 |
comparison
equal
deleted
inserted
replaced
9:141612f8c3e3 | 10:4a7d8ad2a983 |
---|---|
1 <tool id="seq_filter_by_id" name="Filter sequences by ID" version="0.2.7"> | 1 <tool id="seq_filter_by_id" name="Filter sequences by ID" version="0.2.8"> |
2 <description>from a tabular file</description> | 2 <description>from a tabular file</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="1.67">biopython</requirement> | 4 <requirement type="package" version="1.81">biopython</requirement> |
5 </requirements> | 5 </requirements> |
6 <version_command> | 6 <version_command> |
7 python $__tool_directory__/seq_filter_by_id.py --version | 7 python $__tool_directory__/seq_filter_by_id.py --version |
8 </version_command> | 8 </version_command> |
9 <command detect_errors="aggressive"> | 9 <command detect_errors="aggressive"> |
28 </command> | 28 </command> |
29 <inputs> | 29 <inputs> |
30 <param name="input_file" type="data" format="fasta,fastq,sff" label="Sequence file to be filtered" help="FASTA, FASTQ, or SFF format." /> | 30 <param name="input_file" type="data" format="fasta,fastq,sff" label="Sequence file to be filtered" help="FASTA, FASTQ, or SFF format." /> |
31 <conditional name="id_opts"> | 31 <conditional name="id_opts"> |
32 <param name="id_opts_selector" type="select" label="Filter using the ID list from"> | 32 <param name="id_opts_selector" type="select" label="Filter using the ID list from"> |
33 <option value="tabular" selected="True">tabular file</option> | 33 <option value="tabular" selected="true">tabular file</option> |
34 <option value="list">provided list</option> | 34 <option value="list">provided list</option> |
35 <!-- add UNION or INTERSECTION of multiple tabular files here? --> | 35 <!-- add UNION or INTERSECTION of multiple tabular files here? --> |
36 </param> | 36 </param> |
37 <when value="tabular"> | 37 <when value="tabular"> |
38 <param name="input_tabular" type="data" format="tabular" label="Tabular file containing sequence identifiers"/> | 38 <param name="input_tabular" type="data" format="tabular" label="Tabular file containing sequence identifiers"/> |
39 <param name="columns" type="data_column" data_ref="input_tabular" multiple="True" numerical="False" | 39 <param name="columns" type="data_column" data_ref="input_tabular" multiple="true" numerical="false" |
40 label="Column(s) containing sequence identifiers" | 40 label="Column(s) containing sequence identifiers" |
41 help="Multi-select list - hold the appropriate key while clicking to select multiple columns"> | 41 help="Multi-select list - hold the appropriate key while clicking to select multiple columns"> |
42 <validator type="no_options" message="Pick at least one column"/> | 42 <validator type="no_options" message="Pick at least one column"/> |
43 </param> | 43 </param> |
44 </when> | 44 </when> |
45 <when value="list"> | 45 <when value="list"> |
46 <param name="id_list" type="text" size="20x80" area="True" format="tabular" | 46 <param name="id_list" type="text" size="20x80" area="true" format="tabular" |
47 label="List of sequence identifiers (white space separated)" | 47 label="List of sequence identifiers (white space separated)" |
48 help="You can use both spaces and new lines to separate your identifiers."> | 48 help="You can use both spaces and new lines to separate your identifiers."> |
49 <sanitizer> | 49 <sanitizer> |
50 <valid> | 50 <valid> |
51 <!-- default includes underscore, hyphen, etc --> | 51 <!-- default includes underscore, hyphen, etc --> |
67 <when value="pos" /> | 67 <when value="pos" /> |
68 <when value="neg" /> | 68 <when value="neg" /> |
69 </conditional> | 69 </conditional> |
70 <conditional name="adv_opts"> | 70 <conditional name="adv_opts"> |
71 <param name="adv_opts_selector" type="select" label="Advanced Options"> | 71 <param name="adv_opts_selector" type="select" label="Advanced Options"> |
72 <option value="basic" selected="True">Hide Advanced Options</option> | 72 <option value="basic" selected="true">Hide Advanced Options</option> |
73 <option value="advanced">Show Advanced Options</option> | 73 <option value="advanced">Show Advanced Options</option> |
74 </param> | 74 </param> |
75 <when value="basic" /> | 75 <when value="basic" /> |
76 <when value="advanced"> | 76 <when value="advanced"> |
77 <param name="strip_suffix" type="boolean" value="false" label="Remove typical pair read name suffices when matching identifiers?" help="Will remove suffices including Illumina /1 and /2, Roche 454 .f and .r, and assorted Sanger names like .p* and .q*" /> | 77 <param name="strip_suffix" type="boolean" value="false" label="Remove typical pair read name suffixes when matching identifiers?" help="Will remove suffixes including Illumina /1 and /2, Roche 454 .f and .r, and assorted Sanger names like .p* and .q*" /> |
78 </when> | 78 </when> |
79 </conditional> | 79 </conditional> |
80 </inputs> | 80 </inputs> |
81 <outputs> | 81 <outputs> |
82 <data name="output_pos" format_source="input_file" metadata_source="input_file" label="$input_file.name with matched ID"> | 82 <data name="output_pos" format_source="input_file" metadata_source="input_file" label="$input_file.name with matched ID"> |
126 <param name="columns" value="1" /> | 126 <param name="columns" value="1" /> |
127 <param name="output_choice" value="both" /> | 127 <param name="output_choice" value="both" /> |
128 <param name="adv_opts_selector" value="advanced" /> | 128 <param name="adv_opts_selector" value="advanced" /> |
129 <param name="strip_suffix" value="true" /> | 129 <param name="strip_suffix" value="true" /> |
130 <output name="output_pos" file="sanger-pairs-mixed.fastq" ftype="fastq" /> | 130 <output name="output_pos" file="sanger-pairs-mixed.fastq" ftype="fastq" /> |
131 <output name="output_neg" file="empty_file.dat" ftype="fastq" /> | 131 <output name="output_neg" file="empty_file.dat" ftype="fastq" /> |
132 </test> | 132 </test> |
133 <test> | 133 <test> |
134 <param name="input_file" value="sanger-pairs-mixed.fastq" ftype="fastq" /> | 134 <param name="input_file" value="sanger-pairs-mixed.fastq" ftype="fastq" /> |
135 <param name="input_tabular" value="sanger-pairs-names.tabular" ftype="tabular" /> | 135 <param name="input_tabular" value="sanger-pairs-names.tabular" ftype="tabular" /> |
136 <param name="columns" value="1" /> | 136 <param name="columns" value="1" /> |
178 cite the following papers: | 178 cite the following papers: |
179 | 179 |
180 Peter J.A. Cock, Björn A. Grüning, Konrad Paszkiewicz and Leighton Pritchard (2013). | 180 Peter J.A. Cock, Björn A. Grüning, Konrad Paszkiewicz and Leighton Pritchard (2013). |
181 Galaxy tools and workflows for sequence analysis with applications | 181 Galaxy tools and workflows for sequence analysis with applications |
182 in molecular plant pathology. PeerJ 1:e167 | 182 in molecular plant pathology. PeerJ 1:e167 |
183 http://dx.doi.org/10.7717/peerj.167 | 183 https://doi.org/10.7717/peerj.167 |
184 | 184 |
185 This tool uses Biopython to read and write SFF files, so you may also wish to | 185 This tool uses Biopython to read and write SFF files, so you may also wish to |
186 cite the Biopython application note (and Galaxy too of course): | 186 cite the Biopython application note (and Galaxy too of course): |
187 | 187 |
188 Cock et al (2009). Biopython: freely available Python tools for computational | 188 Cock et al (2009). Biopython: freely available Python tools for computational |
189 molecular biology and bioinformatics. Bioinformatics 25(11) 1422-3. | 189 molecular biology and bioinformatics. Bioinformatics 25(11) 1422-3. |
190 http://dx.doi.org/10.1093/bioinformatics/btp163 pmid:19304878. | 190 https://doi.org/10.1093/bioinformatics/btp163 pmid:19304878. |
191 | 191 |
192 This tool is available to install into other Galaxy Instances via the Galaxy | 192 This tool is available to install into other Galaxy Instances via the Galaxy |
193 Tool Shed at http://toolshed.g2.bx.psu.edu/view/peterjc/seq_filter_by_id | 193 Tool Shed at http://toolshed.g2.bx.psu.edu/view/peterjc/seq_filter_by_id |
194 </help> | 194 </help> |
195 <citations> | 195 <citations> |