comparison tandem_repeats_finder_wrapper.xml @ 0:a2e1d1f25e35 draft default tip

Uploaded
author urgi-team
date Thu, 10 Jul 2014 09:32:30 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a2e1d1f25e35
1 <tool id="tandem_repeats_finder" name="Tandem Repeats Finder" version="1.0.0">
2 <description>locates and displays tandem repeats in DNA sequences</description>
3 <requirements>
4 <requirement type="package" version="4.0">tandem_repeats_finder</requirement>
5 </requirements>
6 <version_command>trf | grep Version</version_command>
7 <command interpreter="python">tandem_repeats_finder_wrapper.py --file $file --match $match --mismatch $mismatch --delta $delta --pm $pm --pi $pi --minscore $minscore --maxperiod $maxperiod
8 #if $nohtml
9 --txt "$output_txt"
10 #else
11 --html "$output_html" --dirhtml "$output_html.files_path" --txt "$output_txt"
12 #end if
13 #if $flanking
14 --flanking
15 #end if
16 #if $mask
17 --mask "$output_mask"
18 #end if
19
20 </command>
21 <inputs>
22 <param name="file" type="data" format="fasta" label="DNA sequences in Fasta format"/>
23 <param name="match" type="integer" value="2" label="Matching weight" help="default value 2">
24 <validator type="in_range" min="1" />
25 </param>
26 <param name="mismatch" type="integer" value="7" label="Mismatching penalty" help="default value 7">
27 <validator type="in_range" min="0" />
28 </param>
29 <param name="delta" type="integer" value="7" label="Indel penalty" help="default value 7">
30 <validator type="in_range" min="0" />
31 </param>
32 <param name="pm" type="integer" value="80" label="Matching probability" help="default value 80">
33 <validator type="in_range" min="1" />
34 </param>
35 <param name="pi" type="integer" value="10" label="Indel probability" help="default value 10">
36 <validator type="in_range" min="1" />
37 </param>
38 <param name="minscore" type="integer" value="50" label="Minimum alignment score to report" help="">
39 <validator type="in_range" min="30" />
40 </param>
41 <param name="maxperiod" type="integer" value="500" label="Maximum period size to report" help="">
42 <validator type="in_range" min="1" />
43 </param>
44 <param name="nohtml" type="boolean" checked="false" label="No html output" help="Export dat file only" />
45 <param name="flanking" type="boolean" checked="false" label="Flanking sequence" help="Flanking sequence consists of the 500 nucleotides on each side of a repeat. Flanking sequence is recorded in the alignment file. This may be useful for PCR primer determination." />
46 <param name="mask" type="boolean" checked="false" label="Masked sequence file" help="The masked sequence file is a FASTA format file containing a copy of the sequence with every character that occurred in a tandem repeat changed to the letter 'N'. The word 'masked' is added to the sequence description line just after the '>' character." />
47 </inputs>
48 <outputs>
49 <data format="html" name="output_html" label="TRF_summary_${match}_${mismatch}_${delta}_${pm}_${pi}_${minscore}_${maxperiod}.html">
50 <filter>(nohtml == False)</filter>
51 </data>
52 <data format="txt" name="output_mask" label="TRF_summary_${match}_${mismatch}_${delta}_${pm}_${pi}_${minscore}_${maxperiod}.mask">
53 <filter>(mask == True)</filter>
54 </data>
55 <data format="txt" name="output_txt" label="TRF_summary_${match}_${mismatch}_${delta}_${pm}_${pi}_${minscore}_${maxperiod}.txt"/>
56 </outputs>
57 <tests>
58 <test>
59 <param name="file" value="sequence_trf_test.fasta" />
60 <param name="nohtml" value="True" />
61 <output name="output_txt" file="TRF_summary_2_7_80_10_50_500.txt" ftype="txt" />
62 </test>
63 </tests>
64 <help>
65
66
67 **What it does**
68
69 A tandem repeat in DNA is two or more adjacent, approximate copies of a pattern of nucleotides. Tandem Repeats Finder is a program to locate and display tandem repeats in DNA sequences. In order to use the program, the user submits a sequence in FASTA format. There is no need to specify the pattern, the size of the pattern or any other parameter. The output consists of two files: a repeat table file and an alignment file. The repeat table contains information about each repeat, including its location, size, number of copies and nucleotide content. Clicking on the location indices for one of the table entries opens a second web browser that shows an alignment of the copies against a consensus pattern. The program is very fast, analyzing sequences on the order of .5Mb in just a few seconds. Submitted sequences may be of arbitrary length. Repeats with pattern size in the range from 1 to 2000 bases are detected.
70
71 -------
72
73 **Input format**
74
75 The FASTA format is a plain text format which looks something like this:
76
77 >myseq
78 AGTCGTCGCT AGCTAGCTAG CATCGAGTCT TTTCGATCGA GGACTAGACT TCTAGCTAGC TAGCATAGCA TACGAGCATA TCGGTCATGA GACTGATTGG GCTTTAGCTA GCTAGCATAG CATACGAGCA TATCGGTAGA CTGATTGGGT TTAGGTTACC
79
80 The first line starts with a greater than sign ">" and contains a name or other identifier for the sequence. This is the sequence header and must be in a single line. The remaining lines contain the sequence data. The sequence can be in upper or lower case letters. Anything other than letters (numbers for example) is ignored. Multiple sequences can be present in the same file as long as each sequence has its own header.
81
82 -------
83
84 **Output format**
85
86 Table Explanation:
87
88 The summary table includes the following information::
89
90 1 Indices of the repeat relative to the start of the sequence.
91 2 Period size of the repeat.
92 3 Number of copies aligned with the consensus pattern.
93 4 Size of consensus pattern (may differ slightly from the period size).
94 5 Percent of matches between adjacent copies overall.
95 6 Percent of indels between adjacent copies overall.
96 7 Alignment score.
97 8 Percent composition for each of the four nucleotides.
98 9 Entropy measure based on percent composition.
99
100 If the output contains more than 120 repeats, multiple linked tables are produced. The links to the other tables appear at the top and bottom of each table.
101
102 Note: If you save multiple linked summary table files, use the default names supplied by your browser to preserve the automatic linking.
103
104 Alignment Explanation:
105
106 The alignment is presented as follows::
107
108 1 In each pair of lines, the actual sequence is on the top and a consensus sequence for all the copies is on the bottom.
109 2 Each pair of lines is one period except for very small patterns.
110 3 The 10 sequence characters before and after a repeat are shown.
111 4 Symbol * indicates a mismatch.
112 5 Symbol - indicates an insertion or deletion.
113 6 Statistics refers to the matches, mismatches and indels overall between adjacent copies in the sequence, not between the sequence and the consensus pattern.
114 7 Distances between matching characters at corresponding positions are listed as distance, number at that distance, percentage of all matches.
115 8 ACGTcount is percentage of each nucleotide in the repeat sequence.
116 9 Consensus sequence is shown by itself.
117 10 If chosen as an option, 500 characters of flanking sequence on each side of the repeat are shown.
118
119 Note: If you save the alignment file, use the default name supplied by your browser to preserve the automatic cross-referencing with the summary table.
120
121 The data file is a text file which contains the same information, in the same order, as the repeat table file, plus consensus and repeat sequences. This file contains no labeling and is suitable for additional processing, for example with a perl script, outside of the program.
122
123
124 -------
125
126 **References**
127
128 If you use this Galaxy tool in work leading to a scientific publication please
129 cite the following papers:
130
131 G. Benson,
132 "Tandem repeats finder: a program to analyze DNA sequences"
133 Nucleic Acids Research (1999)
134 Vol. 27, No. 2, pp. 573-580.
135 </help>
136 </tool>
137