annotate softsearch.xml @ 18:1163c16cb3c0 draft

Uploaded
author plus91-technologies-pvt-ltd
date Mon, 02 Jun 2014 07:35:53 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
1 <?xml version="1.0"?>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
2 <tool id="SoftSearch" name="SoftSearch" version="2.4">
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
3 <requirements>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
4 <requirement type="package" version="2.4">softsearch</requirement>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
5 </requirements>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
6 <description>for structure variation</description>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
7 <command>#if $source.index_source=="history"
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
8 samtools index $bam_file ; samtools faidx $source.history_fasta_file ; $inc | ~/shed_tools/toolshed.g2.bx.psu.edu/repos/plus91-technologies-pvt-ltd/softsearch/8eb7d93f7e58/softsearch/2.4/src/SoftSearch.pl -l $min_length_soft_clip -q $min_map_quality -r $min_depth_soft_clip_loc -m $min_no_discordant_read -s $no_sd_consider_discordant -b $bam_file -f $source.history_fasta_file -o $out_file1
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
9 #else
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
10 samtools index $bam_file ; samtools faidx $source.ref_fasta.fields.path ; $inc | ~/shed_tools/toolshed.g2.bx.psu.edu/repos/plus91-technologies-pvt-ltd/softsearch/8eb7d93f7e58/softsearch/2.4/src/SoftSearch.pl -l $min_length_soft_clip -q $min_map_quality -r $min_depth_soft_clip_loc -m $min_no_discordant_read -s $no_sd_consider_discordant -b $bam_file -f $source.ref_fasta.fields.path -o $out_file1
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
11 #end if
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
12 </command>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
13 <inputs>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
14 <param name="bam_file" type="data" format="bam" label="BAM Files" />
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
15 <conditional name="source">
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
16 <param name="index_source" type="select" label="Choose the source for the reference list">
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
17 <option value="cached">Locally cached</option>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
18 <option value="history">History</option>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
19 </param>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
20 <when value="history">
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
21 <param format="fasta" name="history_fasta_file" type="data" label="Fasta file from history."/>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
22 </when>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
23 <when value="cached">
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
24 <param name="ref_fasta" type="select" >
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
25 <options from_data_table="fasta_indexes">
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
26 <validator type="no_options" message="No Fasta file is available" />
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
27 </options>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
28 </param>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
29 </when>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
30 </conditional>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
31 <param name="inc" type="hidden" value="n=$RANDOM" />
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
32 <param name="min_length_soft_clip" type="integer" value="10" label="-l Minimum length of soft-clipped segment [5]" />
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
33 <param name="min_map_quality" type="integer" value="20" label="-q Minimum mapping quality [20]" />
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
34 <param name="min_depth_soft_clip_loc" type="integer" value="10" label="-r Minimum depth of soft-clipped reads at position [5]" />
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
35 <param name="min_no_discordant_read" type="integer" value="10" label="-m Minimum number of discordant read pairs [5]" />
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
36 <param name="no_sd_consider_discordant" type="integer" value="4" label="-s Number of sd away from mean to be considered discordant" />
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
37 </inputs>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
38 <outputs>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
39 <data format="vcf" name="out_file1" />
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
40 </outputs>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
41 <help>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
42 </help>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
43 </tool>
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
44
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
45
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
46
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
47
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
48
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
49
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
50
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
51
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
52
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
53
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
54
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
55
1163c16cb3c0 Uploaded
plus91-technologies-pvt-ltd
parents:
diff changeset
56