annotate tools/fasta_tools/fasta_concatenate_by_species.xml @ 2:c2a356708570

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:42 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="fasta_concatenate0" name="Concatenate" version="0.0.0">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>FASTA alignment by species</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">fasta_concatenate_by_species.py $input1 $out_file1</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 <param name="input1" type="data" format="fasta" label="FASTA alignment"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <data name="out_file1" format="fasta"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <param name="input1" value="cf_maf2fasta.dat" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <output name="out_file1" file="fasta_concatenate_out.fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 This tools attempts to parse FASTA headers to determine the species for each sequence in a multiple FASTA alignment.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 It then linearly concatenates the sequences for each species in the file, creating one sequence per determined species.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 -------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 **Example**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 Starting FASTA::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 >hg18.chr1(+):10016339-10016341|hg18_0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 GT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 >panTro2.chr1(+):10195380-10195382|panTro2_0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 GT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 >rheMac2.chr1(+):13119747-13119749|rheMac2_0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 GT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 >mm8.chr4(-):148269679-148269681|mm8_0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 GT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 >canFam2.chr5(+):66213635-66213637|canFam2_0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 GT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 >hg18.chr1(-):100323677-100323679|hg18_1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 GT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 >panTro2.chr1(-):101678671-101678673|panTro2_1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 GT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 >rheMac2.chr1(-):103154011-103154013|rheMac2_1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 GT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 >mm8.chr3(+):116620616-116620618|mm8_1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 GT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 >canFam2.chr6(+):52954092-52954094|canFam2_1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 GT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 becomes::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 >hg18
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 GTGT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 >panTro2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 GTGT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 >rheMac2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 GTGT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 >mm8
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 GTGT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 >canFam2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 GTGT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67 .. class:: warningmark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69 This tool will only work properly on files with Galaxy style FASTA headers.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 </tool>