comparison rapidcluster.xml @ 0:12f2dd9ac1fd draft

Uploaded
author hathkul
date Mon, 26 Dec 2016 11:04:51 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:12f2dd9ac1fd
1 <tool id="rapidcluster_2" name="RapidCluster" version="2">
2
3 <description>Cluster closely-related sequences using Levenshtein edit distance filtering.</description>
4
5 <version_command>rapidcluster -v</version_command>
6
7 <command interpreter="perl">rapidcluster -i $input -o $output -d $distance -f $filter -c $max_clusters > $report
8 </command>
9
10 <inputs>
11 <param name="input" type="data" format="fasta" label="Input file" help="Must use FASTA output from FASTAptamer-Count"></param>
12 <param name="distance" type="integer" label="Levenshtein Edit Distance" value="1" help="Minimum number of insertions, deletions, or substitutions required to transfer a sequence into another"></param>
13 <param name="filter" type="integer" label="Read Filter" optional="true" value="1" help="Only sequences with total reads greater than the value supplied will be clustered."></param>
14 <param name="max_clusters" type="integer" label="Maximum number of clusters to find" optional="true" value="500" help="Script will stop after finding this much clusters"></param>
15 </inputs>
16
17 <outputs>
18 <data name="output" format="fasta" label="$input RapidCluster output"></data>
19 <data name="report" format="txt" label="$input RapidCluster Report"></data>
20 </outputs>
21
22 <help>
23
24 .. class:: warningmark
25
26 RapidCluster requires a FASTA formatted input file generated by FASTAptamer-Count.
27
28 .. class:: warningmark
29
30 RapidCluster uses an exhaustive approach to clustering and can take *several* hours to process. For faster processing utilize the "Read Filter" option to exclude low read sequences and define a reasonable number of clusters to find.
31
32 ------
33
34 This version does not calculate exact Levenshtein distance for each pair of sequences, instead it simply checks if this distance is lower or greater than user-defined value. This makes script much faster for clustering highly-similar sequences.
35
36 RapidCluster begins with the most abundant sequence in a population, referred to as the "seed sequence," and clusters with it every sequence in the file within an edit distance less than or equal to the specified edit distance (Cluster #1). The next most abundant unclustered sequence then serves as the next seed sequence for assembling the second cluster from the remaining sequences (Cluster #2), followed by the next most abundant unclustered sequence (Cluster #3), and so on. This process is iterated until every sequence is clustered.
37
38 Output is FASTA formatted with the following information on the FASTA identifier line:
39
40 >Rank-Reads-RPM-Cluster#-RankWithinCluster-EditDistanceFromSeedSequence
41
42 .. class:: infomark
43
44 The "Read Filter" excludes from the clustering process sequences with a total number of reads less than or equal to the integer supplied. Because of the computational complexity of clustering large datasets, the default filter setting of 1 is designed to eliminate singleton sequences from clustering.
45
46 ------
47
48
49 </help>
50
51
52 </tool>