annotate dwgsim_eval_wrapper.xml @ 1:eb58ceeedfba default tip

Uploaded
author nilshomer
date Sun, 14 Aug 2011 20:09:02 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
1 <tool id="dwgsim" name="Evaluate simulated reads" version="1.0.0">
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
2 <description>from a SAM/BAM file using dwgsim_eval</description>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
3 <command interpreter="python">
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
4 if 'sam' == input.ext:
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
5 dwgsim_wrapper.py \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
6 $alignmentScore \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
7 $bwa \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
8 $colorSpace \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
9 -d $scoreFactor \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
10 -g $wiggle \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
11 -n $numReads \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
12 -q $minMapq \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
13 $singleEnd \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
14 $printIncorrect \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
15 -s $numSnps \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
16 -e $numErrors \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
17 $indels \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
18 -s $input \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
19 -o $output
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
20 else:
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
21 dwgsim_wrapper.py \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
22 $alignmentScore \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
23 $bwa \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
24 $colorSpace \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
25 -d $scoreFactor \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
26 -g $wiggle \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
27 -n $numReads \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
28 -q $minMapq \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
29 $singleEnd \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
30 $printIncorrect \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
31 -s $numSnps \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
32 -e $numErrors \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
33 $indels \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
34 -b $input \
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
35 -o $output
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
36
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
37 </command>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
38 <inputs>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
39 <param format="sam,bam" name="input" type="data" label="SAM/BAM file to evaluate"/>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
40 <param name="alignmentScore" type="boolean" truevalue="-a" falsevalue="" checked="False" label="split alignments by alignment score instead of mapping quality"/>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
41 <param name="bwa" type="boolean" truevalue="-b" falsevalue="" checked="False" label="alignments are from BWA"/>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
42 <param name="colorSpace" type="boolean" truevalue="-c" falsevalue="" checked="False" label="color space alignments"/>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
43 <param name="scoreFactor" size="4" type="text" value="1">
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
44 <label>divide quality/alignment score by this factor</label>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
45 </param>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
46 <param name="wiggle" size="4" type="text" value="5">
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
47 <label>gap "wiggle"</label>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
48 </param>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
49 <param name="numReads" size="4" type="text" value="-1">
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
50 <label>number of raw input paired-end reads (otherwise, inferred from all SAM records present)</label>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
51 </param>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
52 <param name="minMapq" size="4" type="text" value="0">
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
53 <label>consider only alignments with this mapping quality or greater</label>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
54 </param>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
55 <param name="singleEnd" type="boolean" truevalue="-z" falsevalue="" checked="False" label="input contains only single end reads"/>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
56 <param name="printIncorrect" type="boolean" truevalue="-p" falsevalue="" checked="False" label="print incorrect alignments"/>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
57 <param name="numSnps" size="4" type="text" value="-1">
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
58 <label>consider only alignments with the number of specified SNPs</label>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
59 </param>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
60 <param name="numErrors" size="4" type="text" value="-1">
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
61 <label>consider only alignments with the number of specified errors</label>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
62 </param>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
63 <param name="indels" type="boolean" truevalue="-i" falsevalue="" checked="False" label="consider only alignments with indels"/>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
64 </inputs>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
65 <outputs>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
66 <data format="text" name="output"/>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
67 </outputs>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
68
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
69 <help>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
70 This tool evaluates simulated reads from DWGSIM. For more information, please see https://sourceforge.net/apps/mediawiki/dnaa/index.php?title=Whole_Genome_Simulation#Evaluating_mapping_-_dwgsim_eval
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
71 </help>
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
72
eb58ceeedfba Uploaded
nilshomer
parents:
diff changeset
73 </tool>