annotate tools/filters/seq_select_by_id.xml @ 3:19e26966ed3e draft

Uploaded v0.0.6, handles Biopython dependency via the ToolShed, adopted MIT license, using reStructuredTest for the README file. No functional changes.
author peterjc
date Mon, 29 Jul 2013 09:13:13 -0400
parents 28d52478ace9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
19e26966ed3e Uploaded v0.0.6, handles Biopython dependency via the ToolShed, adopted MIT license, using reStructuredTest for the README file.
peterjc
parents: 2
diff changeset
1 <tool id="seq_select_by_id" name="Select sequences by ID" version="0.0.6">
0
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
2 <description>from a tabular file</description>
2
28d52478ace9 Uploaded v0.0.4 which adds a unit test.
peterjc
parents: 1
diff changeset
3 <version_command interpreter="python">seq_select_by_id.py --version</version_command>
0
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
4 <command interpreter="python">
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
5 seq_select_by_id.py $input_tabular $column $input_file $input_file.ext $output_file
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
6 </command>
3
19e26966ed3e Uploaded v0.0.6, handles Biopython dependency via the ToolShed, adopted MIT license, using reStructuredTest for the README file.
peterjc
parents: 2
diff changeset
7 <stdio>
19e26966ed3e Uploaded v0.0.6, handles Biopython dependency via the ToolShed, adopted MIT license, using reStructuredTest for the README file.
peterjc
parents: 2
diff changeset
8 <!-- Anything other than zero is an error -->
19e26966ed3e Uploaded v0.0.6, handles Biopython dependency via the ToolShed, adopted MIT license, using reStructuredTest for the README file.
peterjc
parents: 2
diff changeset
9 <exit_code range="1:" />
19e26966ed3e Uploaded v0.0.6, handles Biopython dependency via the ToolShed, adopted MIT license, using reStructuredTest for the README file.
peterjc
parents: 2
diff changeset
10 <exit_code range=":-1" />
19e26966ed3e Uploaded v0.0.6, handles Biopython dependency via the ToolShed, adopted MIT license, using reStructuredTest for the README file.
peterjc
parents: 2
diff changeset
11 </stdio>
0
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
12 <inputs>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
13 <param name="input_file" type="data" format="fasta,qual,fastq,sff" label="Sequence file to select from" help="FASTA, QUAL, FASTQ, or SFF format." />
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
14 <param name="input_tabular" type="data" format="tabular" label="Tabular file containing sequence identifiers"/>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
15 <param name="column" type="data_column" data_ref="input_tabular" multiple="False" numerical="False" label="Column containing sequence identifiers"/>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
16 </inputs>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
17 <outputs>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
18 <data name="output_file" format="fasta" label="Selected sequences">
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
19 <!-- TODO - Replace this with format="input:input_fastq" if/when that works -->
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
20 <change_format>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
21 <when input_dataset="input_file" attribute="extension" value="sff" format="sff" />
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
22 <when input_dataset="input_file" attribute="extension" value="fastq" format="fastq" />
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
23 <when input_dataset="input_file" attribute="extension" value="fastqsanger" format="fastqsanger" />
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
24 <when input_dataset="input_file" attribute="extension" value="fastqsolexa" format="fastqsolexa" />
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
25 <when input_dataset="input_file" attribute="extension" value="fastqillumina" format="fastqillumina" />
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
26 <when input_dataset="input_file" attribute="extension" value="fastqcssanger" format="fastqcssanger" />
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
27 </change_format>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
28 </data>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
29 </outputs>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
30 <tests>
2
28d52478ace9 Uploaded v0.0.4 which adds a unit test.
peterjc
parents: 1
diff changeset
31 <test>
28d52478ace9 Uploaded v0.0.4 which adds a unit test.
peterjc
parents: 1
diff changeset
32 <param name="input_file" value="k12_ten_proteins.fasta" ftype="fasta" />
28d52478ace9 Uploaded v0.0.4 which adds a unit test.
peterjc
parents: 1
diff changeset
33 <param name="input_tabular" value="k12_hypothetical.tabular" ftype="tabular" />
28d52478ace9 Uploaded v0.0.4 which adds a unit test.
peterjc
parents: 1
diff changeset
34 <param name="column" value="1" />
28d52478ace9 Uploaded v0.0.4 which adds a unit test.
peterjc
parents: 1
diff changeset
35 <output name="output_file" file="k12_hypothetical.fasta" ftype="fasta" />
28d52478ace9 Uploaded v0.0.4 which adds a unit test.
peterjc
parents: 1
diff changeset
36 </test>
0
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
37 </tests>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
38 <requirements>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
39 <requirement type="python-module">Bio</requirement>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
40 </requirements>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
41 <help>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
42
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
43 **What it does**
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
44
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
45 Takes a FASTA, QUAL, FASTQ or Standard Flowgram Format (SFF) file and produces a
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
46 new sequence file (of the same format) containing only the records with identifiers
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
47 in the tabular file (in the order from the tabular file).
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
48
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
49 WARNING: If you have any duplicates in the tabular file identifiers, you will get
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
50 duplicate sequences in the output.
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
51
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
52 **Citation**
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
53
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
54 This tool uses Biopython to read, write and index sequence files. If you use
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
55 this tool in scientific work leading to a publication, please cite the
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
56 Biopython application note (and Galaxy too of course):
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
57
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
58 Cock et al 2009. Biopython: freely available Python tools for computational
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
59 molecular biology and bioinformatics. Bioinformatics 25(11) 1422-3.
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
60 http://dx.doi.org/10.1093/bioinformatics/btp163 pmid:19304878.
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
61
3
19e26966ed3e Uploaded v0.0.6, handles Biopython dependency via the ToolShed, adopted MIT license, using reStructuredTest for the README file.
peterjc
parents: 2
diff changeset
62 This tool is available to install into other Galaxy Instances via the Galaxy
19e26966ed3e Uploaded v0.0.6, handles Biopython dependency via the ToolShed, adopted MIT license, using reStructuredTest for the README file.
peterjc
parents: 2
diff changeset
63 Tool Shed at http://toolshed.g2.bx.psu.edu/view/peterjc/seq_select_by_id
0
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
64 </help>
838b9bebfa3c Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
65 </tool>