Mercurial > repos > peterjc > seq_rename
annotate tools/seq_rename/seq_rename.xml @ 3:e1398f2ba9fe draft default tip
v0.0.8 galaxy_sequence_utils dependency etc
author | peterjc |
---|---|
date | Thu, 02 Feb 2017 11:49:03 -0500 |
parents | 7c0642fc57ad |
children |
rev | line source |
---|---|
3 | 1 <tool id="seq_rename" name="Rename sequences" version="0.0.8"> |
2
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
2 <description>with ID mapping from a tabular file</description> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
3 <requirements> |
3 | 4 <requirement type="package" version="1.0.1">galaxy_sequence_utils</requirement> |
5 <requirement type="package" version="1.67">biopython</requirement> | |
2
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
6 <requirement type="python-module">Bio</requirement> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
7 </requirements> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
8 <stdio> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
9 <!-- Anything other than zero is an error --> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
10 <exit_code range="1:" /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
11 <exit_code range=":-1" /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
12 </stdio> |
3 | 13 <version_command interpreter="python">seq_rename.py --version</version_command> |
14 <command interpreter="python"> | |
15 seq_rename.py $input_tabular $old_column $new_column $input_file $input_file.ext $output_file | |
16 </command> | |
2
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
17 <inputs> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
18 <param name="input_file" type="data" format="fasta,qual,fastq,sff" label="Sequence file" help="FASTA, QUAL, FASTQ, or SFF format." /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
19 <param name="input_tabular" type="data" format="tabular" label="Tabular file containing sequence identifiers"/> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
20 <param name="old_column" type="data_column" data_ref="input_tabular" multiple="False" numerical="False" label="Column containing current (old) sequence identifiers"/> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
21 <param name="new_column" type="data_column" data_ref="input_tabular" multiple="False" numerical="False" label="Column containing new sequence identifiers"/> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
22 </inputs> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
23 <outputs> |
3 | 24 <data name="output_file" format_source="input_file" metadata_source="input_file" label="Renamed ${on_string}"/> |
2
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
25 </outputs> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
26 <tests> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
27 <test> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
28 <param name="input_file" value="four_human_proteins.fasta" ftype="fasta" /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
29 <param name="input_tabular" value="four_human_proteins.rename.tabular" ftype="tabular" /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
30 <param name="old_column" value="1" /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
31 <param name="new_column" value="2" /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
32 <output name="output_file" file="four_human_proteins.rename.fasta" ftype="fasta" /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
33 </test> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
34 <test> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
35 <param name="input_file" value="four_human_proteins.fasta" ftype="fasta" /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
36 <param name="input_tabular" value="four_human_proteins.rename.tabular" ftype="tabular" /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
37 <param name="old_column" value="c1" /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
38 <param name="new_column" value="c2" /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
39 <output name="output_file" file="four_human_proteins.rename.fasta" ftype="fasta" /> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
40 </test> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
41 </tests> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
42 <help> |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
43 **What it does** |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
44 |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
45 Takes a FASTA, QUAL, FASTQ or Standard Flowgram Format (SFF) file and produces a |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
46 new sequence file (of the same format) where the sequence identifiers have been |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
47 renamed according to the specified columns in your tabular file. |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
48 |
3 | 49 Any original description is preserved (N/A for the SFF file format). |
50 | |
2
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
51 WARNING: If you have any duplicates in the input sequence file, you will still |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
52 have duplicate sequences in the output. |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
53 |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
54 WARNING: If the tabular file has more than one new name for any old ID, the |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
55 last one is used. |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
56 |
3 | 57 WARNING: The old and new names in your tabular file should not contain white space. |
58 If they do, only the first word is used as the identifier. | |
59 | |
2
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
60 **References** |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
61 |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
62 If you use this Galaxy tool in work leading to a scientific publication please |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
63 cite the following papers: |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
64 |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
65 Peter J.A. Cock, Björn A. Grüning, Konrad Paszkiewicz and Leighton Pritchard (2013). |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
66 Galaxy tools and workflows for sequence analysis with applications |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
67 in molecular plant pathology. PeerJ 1:e167 |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
68 http://dx.doi.org/10.7717/peerj.167 |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
69 |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
70 This tool uses Biopython to read and write SFF files, so you may also wish to |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
71 cite the Biopython application note (and Galaxy too of course): |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
72 |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
73 Cock et al (2009). Biopython: freely available Python tools for computational |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
74 molecular biology and bioinformatics. Bioinformatics 25(11) 1422-3. |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
75 http://dx.doi.org/10.1093/bioinformatics/btp163 pmid:19304878. |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
76 |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
77 This tool is available to install into other Galaxy Instances via the Galaxy |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
78 Tool Shed at http://toolshed.g2.bx.psu.edu/view/peterjc/seq_rename |
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
79 </help> |
3 | 80 <citations> |
81 <citation type="doi">10.7717/peerj.167</citation> | |
82 <citation type="doi">10.1093/bioinformatics/btp163</citation> | |
83 </citations> | |
2
7c0642fc57ad
Uploaded v0.0.4, automatic dependency on Biopython 1.62, new README file, citation information, MIT licence.
peterjc
parents:
diff
changeset
|
84 </tool> |