annotate tools/filters/seq_rename.xml @ 0:a4b9836f8f47

Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
author peterjc
date Tue, 07 Jun 2011 17:43:26 -0400
parents
children 9c8c5079c8af
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
1 <tool id="seq_rename" name="Rename sequences" version="0.0.1">
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
2 <description>with ID mapping from a tabular file</description>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
3 <command interpreter="python">
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
4 seq_rename.py $input_tabular $old_column $new_column $input_file $input_file.ext $output_file
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
5 </command>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
6 <inputs>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
7 <param name="input_file" type="data" format="fasta,qual,fastq,sff" label="Sequence file" help="FASTA, QUAL, FASTQ, or SFF format." />
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
8 <param name="input_tabular" type="data" format="tabular" label="Tabular file containing sequence identifiers"/>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
9 <param name="old_column" type="data_column" data_ref="input_tabular" multiple="False" numerical="False" label="Column containing current (old) sequence identifiers"/>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
10 <param name="new_column" type="data_column" data_ref="input_tabular" multiple="False" numerical="False" label="Column contai
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
11 ning new sequence identifiers"/>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
12 </inputs>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
13 <outputs>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
14 <data name="output_file" format="fasta" label="Renamed ${on_string}">
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
15 <!-- TODO - Replace this with format="input:input_fastq" if/when that works -->
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
16 <change_format>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
17 <when input_dataset="input_file" attribute="extension" value="sff" format="sff" />
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
18 <when input_dataset="input_file" attribute="extension" value="fastq" format="fastq" />
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
19 <when input_dataset="input_file" attribute="extension" value="fastqsanger" format="fastqsanger" />
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
20 <when input_dataset="input_file" attribute="extension" value="fastqsolexa" format="fastqsolexa" />
a4b9836f8f47 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="fastqillumina" format="fastqillumina" />
a4b9836f8f47 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="fastqcssanger" format="fastqcssanger" />
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
23 </change_format>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
24 </data>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
25 </outputs>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
26 <tests>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
27 </tests>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
28 <requirements>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
29 <requirement type="python-module">Bio</requirement>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
30 </requirements>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
31 <help>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
32
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
33 **What it does**
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
34
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
35 Takes a FASTA, QUAL, FASTQ or Standard Flowgram Format (SFF) file and produces a
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
36 new sequence file (of the same format) where the sequence identifiers have been
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
37 renamed according two the specified columns a the tabular file.
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
38
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
39 WARNING: If you have any duplicates in the intput sequence file, you will still
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
40 have duplicate sequences in the output.
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
41
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
42 WARNING: If the tabular file has more than one new name for any old ID, the
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
43 last one is used.
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
44
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
45 **Citation**
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
46
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
47 This tool uses Biopython to read and write SFF files. If you use this tool in
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
48 scientific work leading to a publication, please cite the Biopython application
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
49 note (and Galaxy too of course):
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
50
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
51 Cock et al 2009. Biopython: freely available Python tools for computational
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
52 molecular biology and bioinformatics. Bioinformatics 25(11) 1422-3.
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
53 http://dx.doi.org/10.1093/bioinformatics/btp163 pmid:19304878.
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
54
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
55 </help>
a4b9836f8f47 Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
56 </tool>