comparison softsearch.xml @ 69:530c9a1d75cb draft

Uploaded
author shirish
date Tue, 03 Jun 2014 09:32:45 -0400
parents
children
comparison
equal deleted inserted replaced
68:49015c5837eb 69:530c9a1d75cb
1 <?xml version="1.0"?>
2 <tool id="SoftSearch" name="SoftSearch" version="0.6">
3 <requirements>
4 <requirement type="package" version="0.6">complex_repository_dependency_on_softsearch</requirement>
5 <requirement type="package" version="0.1.18">samtools</requirement>
6 </requirements>
7 <description>for structure variation</description>
8 <command>#if $source.index_source=="history"
9 samtools index $bam_file ; samtools faidx $source.history_fasta_file ; $inc | 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
10 #else
11 samtools index $bam_file ; samtools faidx $source.ref_fasta.fields.path ; $inc | 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
12 #end if
13 </command>
14 <inputs>
15 <param name="bam_file" type="data" format="bam" label="BAM Files" />
16 <conditional name="source">
17 <param name="index_source" type="select" label="Choose the source for the reference list">
18 <option value="cached">Locally cached</option>
19 <option value="history">History</option>
20 </param>
21 <when value="history">
22 <param format="fasta" name="history_fasta_file" type="data" label="Fasta file from history."/>
23 </when>
24 <when value="cached">
25 <param name="ref_fasta" type="select" >
26 <options from_data_table="fasta_indexes">
27 <validator type="no_options" message="No Fasta file is available" />
28 </options>
29 </param>
30 </when>
31 </conditional>
32 <param name="inc" type="hidden" value="n=$RANDOM" />
33 <param name="min_length_soft_clip" type="integer" value="10" label="-l Minimum length of soft-clipped segment [5]" />
34 <param name="min_map_quality" type="integer" value="20" label="-q Minimum mapping quality [20]" />
35 <param name="min_depth_soft_clip_loc" type="integer" value="10" label="-r Minimum depth of soft-clipped reads at position [5]" />
36 <param name="min_no_discordant_read" type="integer" value="10" label="-m Minimum number of discordant read pairs [5]" />
37 <param name="no_sd_consider_discordant" type="integer" value="4" label="-s Number of sd away from mean to be considered discordant" />
38 </inputs>
39 <outputs>
40 <data format="vcf" name="out_file1" />
41 </outputs>
42 <help>
43 </help>
44 </tool>
45
46
47
48
49
50
51
52
53
54
55
56
57