annotate softsearch.xml @ 22:06581c4fe59f draft

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