annotate pyCRAC/pyAlignment2Tab.xml @ 1:7c9574213c0a draft default tip

Uploaded
author swebb
date Thu, 20 Jun 2013 12:13:43 -0400
parents 19b20927172d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
19b20927172d Uploaded
swebb
parents:
diff changeset
1 <tool id="pyAlignment2Tab" name="pyAlignment2Tab">
19b20927172d Uploaded
swebb
parents:
diff changeset
2 <description>converter</description>
19b20927172d Uploaded
swebb
parents:
diff changeset
3 <requirements>
19b20927172d Uploaded
swebb
parents:
diff changeset
4 <requirement type="package">pyCRAC</requirement>
19b20927172d Uploaded
swebb
parents:
diff changeset
5 </requirements>
19b20927172d Uploaded
swebb
parents:
diff changeset
6 <command interpreter="python">/usr/local/bin/pyAlignment2Tab.py -f $input --limit $limit -o $output --singlefile
19b20927172d Uploaded
swebb
parents:
diff changeset
7 </command>
19b20927172d Uploaded
swebb
parents:
diff changeset
8 <version_command>/usr/local/bin/pyAlignment2Tab.py --version</version_command>
19b20927172d Uploaded
swebb
parents:
diff changeset
9 <inputs>
19b20927172d Uploaded
swebb
parents:
diff changeset
10 <param name="input" type="data" format="fasta" label="pyReadAligner output file -f" help="Fasta file"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
11 <param name="limit" type="integer" format="integer" value="90" size="4" label="Set the column width of alignment" help="Enter a value > 50">
19b20927172d Uploaded
swebb
parents:
diff changeset
12 <validator type="in_range" min="50" message="Please enter a value greater than 50"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
13 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
14 <param name="label" type="text" format="txt" size="30" value="pyAlignment2Tab" label="Enter output file label -o" />
19b20927172d Uploaded
swebb
parents:
diff changeset
15 </inputs>
19b20927172d Uploaded
swebb
parents:
diff changeset
16 <outputs>
19b20927172d Uploaded
swebb
parents:
diff changeset
17 <data name="output" format="txt" label="${label.value}.tab"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
18 </outputs>
19b20927172d Uploaded
swebb
parents:
diff changeset
19 <help>
19b20927172d Uploaded
swebb
parents:
diff changeset
20
19b20927172d Uploaded
swebb
parents:
diff changeset
21 .. class:: infomark
19b20927172d Uploaded
swebb
parents:
diff changeset
22
19b20927172d Uploaded
swebb
parents:
diff changeset
23 **pyAlignment2Tab**
19b20927172d Uploaded
swebb
parents:
diff changeset
24
19b20927172d Uploaded
swebb
parents:
diff changeset
25 pyAlignment2Tab is part of the pyCRAC_ package. Converts pyReadAligner fasta output to a tabular alignment output.
19b20927172d Uploaded
swebb
parents:
diff changeset
26
19b20927172d Uploaded
swebb
parents:
diff changeset
27 Example::
19b20927172d Uploaded
swebb
parents:
diff changeset
28
19b20927172d Uploaded
swebb
parents:
diff changeset
29 The tool expects a standard pyReadAligner fasta-formatted output file:
19b20927172d Uploaded
swebb
parents:
diff changeset
30
19b20927172d Uploaded
swebb
parents:
diff changeset
31 >GeneX
19b20927172d Uploaded
swebb
parents:
diff changeset
32 ATGTCTCGTACTAACATGGATACAAGACACGCACATTCTGCTTTACTGGCAGCACCACAGAGTGCTACTGCAAATAGCAGGAGCAGCAACAGCAGCAGCGAGAGTAGTAGTAACAAAAACAATATCAATGTCGGCGTCGGTGACGATAGCGGTAA
19b20927172d Uploaded
swebb
parents:
diff changeset
33 >257930-10
19b20927172d Uploaded
swebb
parents:
diff changeset
34 ---TCTCGTACcAACATGGATACAAGACACGCACATTCTGCTT----------------------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
35 >3664964-1
19b20927172d Uploaded
swebb
parents:
diff changeset
36 ---TCTCGcACcAACATGGATACAAGACACGCACATTtTGCTT----------------------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
37 >4033560-1
19b20927172d Uploaded
swebb
parents:
diff changeset
38 ---TCTCGTACcAACATGGATACAAGACACGCACATTCTGtTT----------------------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
39 >8571880-1
19b20927172d Uploaded
swebb
parents:
diff changeset
40 ---TCTCGTACcAACATGGATACAAGACACGCAgATTCTGCTT----------------------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
41 >9617396-1
19b20927172d Uploaded
swebb
parents:
diff changeset
42 ---TCTCGTACcAACATGGATACAAGACACGCcCATTCTGCTT----------------------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
43 >843368-5
19b20927172d Uploaded
swebb
parents:
diff changeset
44 ------------AACAcGGATACAAGACACGCACATTCTG-------------------------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
45 >854553-5
19b20927172d Uploaded
swebb
parents:
diff changeset
46 ------------AACATGGATACAAGACACGCAC--TCTG-------------------------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
47 >1522401-2
19b20927172d Uploaded
swebb
parents:
diff changeset
48 --------------CATGGATACAAGACACGCACATTCTGCTTTACTGGCAGgA-----------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
49 >5981234-1
19b20927172d Uploaded
swebb
parents:
diff changeset
50 --------------CATGGATACAAGACACGCACAcTCTGCTTTACTGGCAGCA-----------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
51 >997684-4
19b20927172d Uploaded
swebb
parents:
diff changeset
52 --------------CATGGATACAAGACACGCACATTCTGCTTTACTGGCAGCA-----------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
53 >1046653-4
19b20927172d Uploaded
swebb
parents:
diff changeset
54 ---------------ATGGATACAAGACACGCACATTCTGCTTTACTGGCAGgAC----------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
55 >1103730-4
19b20927172d Uploaded
swebb
parents:
diff changeset
56 ---------------ATGGATACAAGACACGCACAcTCTG-------------------------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
57 >1603913-2
19b20927172d Uploaded
swebb
parents:
diff changeset
58 ---------------ATGGATACAAGAaACGCACAcTCTG-------------------------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
59 >180349-12
19b20927172d Uploaded
swebb
parents:
diff changeset
60 ---------------ATGGATACAAGACACGCACATTCcGCTTTACTG-----------------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
61 >1985106-1
19b20927172d Uploaded
swebb
parents:
diff changeset
62 ---------------ATGGATACAAGACACGCACATTCgGCTTTACTGGCAGCcC----------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
63 >1987775-1
19b20927172d Uploaded
swebb
parents:
diff changeset
64 ---------------ATGGATACccGACACGCACATTCTGCTTTACTGcCAGCAC----------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
65 >2258725-1
19b20927172d Uploaded
swebb
parents:
diff changeset
66 ---------------ATGGATACAAGACACGCACATTCTGCTTTgCTGGCAGCAC----------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
67 >2631987-1
19b20927172d Uploaded
swebb
parents:
diff changeset
68 ---------------ATGGATACAAGACACGCACATTCTGCTTTACcGGCAGgAC----------------------------------------------------------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
69
19b20927172d Uploaded
swebb
parents:
diff changeset
70 This will be converted into:
19b20927172d Uploaded
swebb
parents:
diff changeset
71
19b20927172d Uploaded
swebb
parents:
diff changeset
72 1 .........|.........|.........|.........|.........|.........|.........|.........|.........| 90
19b20927172d Uploaded
swebb
parents:
diff changeset
73 >GeneX ATGTCTCGTACTAACATGGATACAAGACACGCACATTCTGCTTTACTGGCAGCACCACAGAGTGCTACTGCAAATAGCAGGAGCAGCAAC
19b20927172d Uploaded
swebb
parents:
diff changeset
74 >257930-10 ---TCTCGTACcAACATGGATACAAGACACGCACATTCTGCTT-----------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
75 >3664964-1 ---TCTCGcACcAACATGGATACAAGACACGCACATTtTGCTT-----------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
76 >4033560-1 ---TCTCGTACcAACATGGATACAAGACACGCACATTCTGtTT-----------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
77 >8571880-1 ---TCTCGTACcAACATGGATACAAGACACGCAgATTCTGCTT-----------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
78 >9617396-1 ---TCTCGTACcAACATGGATACAAGACACGCcCATTCTGCTT-----------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
79 >843368-5 ------------AACAcGGATACAAGACACGCACATTCTG--------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
80 >854553-5 ------------AACATGGATACAAGACACGCAC--TCTG--------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
81 >1522401-2 --------------CATGGATACAAGACACGCACATTCTGCTTTACTGGCAGgA------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
82 >5981234-1 --------------CATGGATACAAGACACGCACAcTCTGCTTTACTGGCAGCA------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
83 >997684-4 --------------CATGGATACAAGACACGCACATTCTGCTTTACTGGCAGCA------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
84 >1046653-4 ---------------ATGGATACAAGACACGCACATTCTGCTTTACTGGCAGgAC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
85 >1103730-4 ---------------ATGGATACAAGACACGCACAcTCTG--------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
86 >1603913-2 ---------------ATGGATACAAGAaACGCACAcTCTG--------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
87 >180349-12 ---------------ATGGATACAAGACACGCACATTCcGCTTTACTG------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
88 >1985106-1 ---------------ATGGATACAAGACACGCACATTCgGCTTTACTGGCAGCcC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
89 >1987775-1 ---------------ATGGATACccGACACGCACATTCTGCTTTACTGcCAGCAC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
90 >2258725-1 ---------------ATGGATACAAGACACGCACATTCTGCTTTgCTGGCAGCAC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
91 >2631987-1 ---------------ATGGATACAAGACACGCACATTCTGCTTTACcGGCAGgAC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
92 >337206-9 ---------------ATGGATACAAGACACGCACATTCTGCTTTACTGGCAGCAC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
93 >4616761-1 ---------------ATGGATAgAAGACACGCACATTCTGCTTTACTGGtAGCAC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
94 >4756312-1 ---------------ATGGATACAAcACACGCACAcTCTG--------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
95 >4763682-1 ---------------ATGGATACAAGACACGCACATTCcGCTTTcCTG------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
96 >5971268-1 ---------------ATGGATACAAGACACGCACATTCcGCTcTACTc------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
97 >6644790-1 ---------------ATGGATACAAGACACGCACATTCTGCTTTACTcGCAGCAC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
98 >7112423-1 ---------------ATGGATACAAGACACGCACATTCTGCTTTACTGtCAGCAC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
99 >7559990-1 ---------------ATGGATACAAGACACGCACATTCTGCTTTACTGGCcGgAC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
100 >8007281-1 ---------------ATGGATAtAAGACACGCACAcTCTG--------------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
101 >9150255-1 ---------------ATGGATACAcGACACGCACATTCcGCTTTcCTG------------------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
102 >9180814-1 ---------------ATGGATACAAGACACGCACATTCTGCTTTACTGGCAGgcC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
103 >963117-4 ---------------ATGGATACAAGACACGCACATTCTGCTTTACcGGCAGCAC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
104 >9672073-1 ---------------ATGGATACAAGACACGCACATTCTGCTTTACTGGCAGCcC-----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
105 >971218-4 ---------------ATGGATACAAGACACGCACATcCTGCTTTACTGG-AGCACC----------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
106 >10040274-1 -------------------ATACAAGACACGCACATTCTGCTTTACTGGCAGgACCACA-------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
107 >1063072-4 -------------------ATACAAGACACGCACATTCTGCTTcACTGGCAGCACCACA-------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
108 >1430188-2 -------------------ATACAAGACACGCACATTCTGCTTTACTGGCAGCACCACA-------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
109 >5196741-1 -------------------ATACAAGACACGCACATTCTGCTTcACTGGCcGCACCACA-------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
110 >6017337-1 -------------------ATACAAGACACGCACATTCTGCTTcACTGtCAGaACCcCA-------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
111 >7159053-1 -------------------ATACAAGACACGCACATTCTGCTTTACTGGCAGCACCcaA-------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
112 >7528336-1 -------------------ATACAAGACACGCACATTCTGCTTcACTGGCAGCAaCACA-------------------------------
19b20927172d Uploaded
swebb
parents:
diff changeset
113 >735584-6 --------------------------------------------------------ACAGAGTGCTACTGCAAAcAGCAGGAGCAGCAAC
19b20927172d Uploaded
swebb
parents:
diff changeset
114 >8551047-1 --------------------------------------------------------ACAGAGTGCTAtTGCAAAcAGCAGGAGtAGtAAC
19b20927172d Uploaded
swebb
parents:
diff changeset
115 >3000121-1 ------------------------------------------------------------AGTcCTACcGCAAATAGCAGcAGCAGCAAC
19b20927172d Uploaded
swebb
parents:
diff changeset
116 >928481-5 ------------------------------------------------------------AGTGCTACcGCAAATAGCAGGAGCAGCAAC
19b20927172d Uploaded
swebb
parents:
diff changeset
117 >126987-15 ----------------------------------------------------------------------CAAATAGCAGGAGCAGCAAC
19b20927172d Uploaded
swebb
parents:
diff changeset
118 >3122797-1 ----------------------------------------------------------------------CAAATAGCAGGcGCAGCAAC
19b20927172d Uploaded
swebb
parents:
diff changeset
119 >6684686-1 ----------------------------------------------------------------------CAAATAGCAGGAGCAGCAAC
19b20927172d Uploaded
swebb
parents:
diff changeset
120
19b20927172d Uploaded
swebb
parents:
diff changeset
121 Note that the column width here was set to 90 characters
19b20927172d Uploaded
swebb
parents:
diff changeset
122
19b20927172d Uploaded
swebb
parents:
diff changeset
123 .. _pyCRAC: http://sandergranneman.bio.ed.ac.uk/Granneman_Lab/pyCRAC_software.html
19b20927172d Uploaded
swebb
parents:
diff changeset
124
19b20927172d Uploaded
swebb
parents:
diff changeset
125 ------
19b20927172d Uploaded
swebb
parents:
diff changeset
126
19b20927172d Uploaded
swebb
parents:
diff changeset
127 **Parameter list**
19b20927172d Uploaded
swebb
parents:
diff changeset
128
19b20927172d Uploaded
swebb
parents:
diff changeset
129 Options::
19b20927172d Uploaded
swebb
parents:
diff changeset
130
19b20927172d Uploaded
swebb
parents:
diff changeset
131 -f data.fasta
19b20927172d Uploaded
swebb
parents:
diff changeset
132 Type the path to the fasta file that you want to use.
19b20927172d Uploaded
swebb
parents:
diff changeset
133 --limit=90
19b20927172d Uploaded
swebb
parents:
diff changeset
134 Allows the user to set the column width of the alignment. Default=90 characters
19b20927172d Uploaded
swebb
parents:
diff changeset
135 -o output.fasta
19b20927172d Uploaded
swebb
parents:
diff changeset
136 Provide the name of your output file
19b20927172d Uploaded
swebb
parents:
diff changeset
137
19b20927172d Uploaded
swebb
parents:
diff changeset
138 </help>
19b20927172d Uploaded
swebb
parents:
diff changeset
139 </tool>