|
0
|
1 <tool id="bwameth_index_builder_data_manager" name="bwa-meth index" tool_type="manage_data" version="1.0.0">
|
|
|
2 <description>builder</description>
|
|
|
3 <requirements>
|
|
|
4 <requirement type="package" version="0.2.0">bwameth</requirement>
|
|
|
5 </requirements>
|
|
|
6 <command detect_errors="aggressive"><![CDATA[
|
|
|
7 #if str($sequence_id).strip() != "":
|
|
|
8 #set $dbkey = $sequence_id
|
|
|
9 #else:
|
|
|
10 #set $dbkey = $all_fasta_source.fields.dbkey
|
|
|
11 #end if
|
|
|
12
|
|
|
13 #if str($sequence_name).strip() != "":
|
|
|
14 #set $name = $sequence_name
|
|
|
15 #else:
|
|
|
16 #set $name = $all_fasta_source.fields.name
|
|
|
17 #end if
|
|
|
18
|
|
|
19 #if str($sequence_description).strip() != "":
|
|
|
20 #set $name = $sequence_description
|
|
|
21 #else:
|
|
|
22 #set $name = $all_fasta_source.fields.description
|
|
|
23 #end if
|
|
|
24
|
|
|
25 python $__tool_directory__/bwameth_index_builder.py --output "${out_file}"
|
|
|
26 --fasta_filename "${all_fasta_source.fields.path}"
|
|
|
27 --dbkey "${dbkey}"
|
|
|
28 --name "${name}"
|
|
|
29 --description "${name}"
|
|
|
30 --data_table_name "bwameth_indexes"
|
|
|
31 ]]>
|
|
|
32 </command>
|
|
|
33 <inputs>
|
|
|
34 <param label="Source FASTA Sequence" name="all_fasta_source" type="select">
|
|
|
35 <options from_data_table="all_fasta" />
|
|
|
36 </param>
|
|
|
37 <param label="ID for index" name="sequence_id" type="text" value="" help="If not specified, the value from the fasta file is used"/>
|
|
|
38 <param label="Name for index" name="sequence_name" type="text" value="" help="If not specified, the value from the fasta file is used"/>
|
|
|
39 <param label="Displayed description for sequence" name="sequence_description" type="text" value="" help="If not specified, the value from the fasta file is used"/>
|
|
|
40 </inputs>
|
|
|
41 <outputs>
|
|
|
42 <data format="data_manager_json" name="out_file" />
|
|
|
43 </outputs>
|
|
|
44 <help>
|
|
|
45 <![CDATA[
|
|
|
46 .. class:: infomark
|
|
|
47
|
|
|
48 **Notice:** If you leave name, description, or id blank, it will be generated automatically.
|
|
|
49
|
|
|
50 What is BWA-meth?
|
|
|
51 -----------------
|
|
|
52
|
|
|
53 BWA-meth performs alignment of reads in a bisulfite-sequencing experiment (e.g., RRBS or WGBS) to a genome. The methodology employed for this is similar to bismark, where both the reads and the reference genome are *in silico* converted prior to alignment. Methylation extraction on the resulting BAM file can be done with the PileOMeth tool.
|
|
|
54
|
|
|
55 ]]>
|
|
|
56 </help>
|
|
|
57 <citations>
|
|
|
58 <citation type="bibtex">@misc{1401.1129,
|
|
|
59 Author = {Brent S. Pedersen and Kenneth Eyring and Subhajyoti De and Ivana V. Yang and David A. Schwartz},
|
|
|
60 Title = {Fast and accurate alignment of long bisulfite-seq reads},
|
|
|
61 Year = {2014},
|
|
|
62 Eprint = {arXiv:1401.1129},
|
|
|
63 }</citation>
|
|
|
64 </citations>
|
|
|
65 </tool>
|