|
3
|
1 <tool id="crac-index" name="CRAC index">
|
|
|
2
|
|
|
3 <description>Create genome indexes available to be used with CRAC mapping/annotation tool </description>
|
|
|
4
|
|
|
5 <command>
|
|
|
6 crac-index-wrapper.sh "$output_name" "$output" "$output.files_path" "$bucket" "$input_file"
|
|
|
7 </command>
|
|
|
8
|
|
|
9 <inputs>
|
|
|
10 <param name="input_file" type="data" label="Source file" format="fasta" help="You must choose a fasta file containing the genome"/>
|
|
|
11 <param name="output_name" type="text" value ="IndexOutput" label="Output name" help="Name must be different from 'index' word, otherwise CRAC-index will fail." />
|
|
|
12 <param name="bucket" type="integer" value="100000000" label="Bucket size" help="The size of the bucket for the index construction (default 100000000)."/>
|
|
|
13 </inputs>
|
|
|
14
|
|
|
15 <outputs>
|
|
|
16 <data name="output" format="crac_index" label="${output_name}.crac-index" />
|
|
|
17 </outputs>
|
|
|
18
|
|
|
19 <help>
|
|
|
20
|
|
|
21 **What it does**
|
|
|
22
|
|
|
23 Crac-index generates an indexed genome from a fasta file. This is especially useful for the Crac mapping/annotation tool.
|
|
|
24
|
|
|
25 ----------------------
|
|
|
26
|
|
|
27 **Input Formats**
|
|
|
28
|
|
|
29 Crac-index takes as input files any fasta or multi-fasta files.
|
|
|
30
|
|
|
31 ----------------------
|
|
|
32
|
|
|
33 **Outputs**
|
|
|
34
|
|
|
35 Crac-index on Galaxy produces a composite output named crac-index, which is made of a ssa file and a conf file. Both are required to the use of your index.
|
|
|
36
|
|
|
37 ----------------------
|
|
|
38
|
|
|
39 **Crac-index settings**
|
|
|
40
|
|
|
41
|
|
|
42 Usage : ./crac-index [options] command output_file input_file
|
|
|
43
|
|
|
44 command must be :
|
|
|
45 index: create an index on the specified input file(s).
|
|
|
46
|
|
|
47 options can be :
|
|
|
48
|
|
|
49 -b bucket_size the size of the bucket for the index construction
|
|
|
50 (default 100000000)
|
|
|
51 -d diff-cover parameter for the index construction (default 1024)
|
|
|
52 -v verbose mode
|
|
|
53
|
|
|
54 Examples:
|
|
|
55 ./crac-index index myIndex sequence1.fa sequence2.fa sequence3.fa
|
|
|
56 You can specify FASTA or MultiFASTA file(s).
|
|
|
57 In this example, two files will be created:
|
|
|
58 - myIndex.ssa (index storing the compressed sequences)
|
|
|
59 - myIndex.conf (information on sequence names and length)
|
|
|
60
|
|
|
61 </help>
|
|
|
62
|
|
|
63
|
|
|
64 </tool>
|