annotate BAM_preprocessingPairs.xml @ 7:c8744c56e979 draft

Uploaded
author bzeitouni
date Mon, 11 Jun 2012 12:31:50 -0400
parents 89b207100214
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
1 <tool id="svdetect_preprocessing" name="BAM preprocessing">
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
2
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
3 <description>to get abnormal pairs</description>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
4
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
5 <command interpreter="perl"> BAM_preprocessingPairs.pl -t '$readType' -p '$pairType' -n '$nbrePair' -s '$isizeMin' -S '$isizeMax' -f '$foldPair' -o $__new_file_path__/svdetect -b '$abBAM' -l '$log' -N $sample_name
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
6 #if $newBam.pairNormal=="yes"
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
7 -d -x '$normBAM'
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
8 #end if
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
9 '$inputBam'
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
10 </command>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
11
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
12 <inputs>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
13 <param name="sample_name" type="text" value="sample" label="Sample Name"/>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
14 <param name="inputBam" type="data" format="bam" label="BAM input file"/>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
15 <param name="readType" type="select" label="Read type">
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
16 <option value="1">Illumina</option>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
17 <option value="0">SOLiD</option>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
18 </param>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
19 <param name="pairType" type="select" label="Library type">
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
20 <option value="1">Paired-end</option>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
21 <option value="0">Mate-Pair</option>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
22 </param>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
23 <conditional name="newBam">
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
24 <param name="pairNormal" type="select" label="Do you want an additional bam file listing concordant mapped pairs?" help="Dump normal pairs into a file sample_name.norm.bam/sam">
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
25 <option value="no">No</option>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
26 <option value="yes">Yes</option>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
27 </param>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
28 <when value="yes">
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
29 <!-- do nothing here -->
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
30 </when>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
31 <when value="no">
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
32 <!-- do nothing here -->
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
33 </when>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
34 </conditional>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
35 <param name="nbrePair" value="1000000" type="integer" size="30" label="Number of pairs for calculating mu (µ) and sigma (σ) lengths"/>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
36 <param name="isizeMin" value="0" type="integer" size="30" label="Minimum value of ISIZE for calculating mu (µ) and sigma (σ) lengths"/>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
37 <param name="isizeMax" value="10000" type="integer" size="30" label="Maximum value of ISIZE for calculating mu (µ)and sigma( σ) lengths"/>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
38 <param name="foldPair" value="3" type="float" size="30" label="Minimal number of sigma (σ) fold for filtering pairs"/>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
39 </inputs>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
40
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
41 <outputs>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
42 <data format="bam" name="abBAM" label="${$sample_name}.ab.bam"/>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
43 <data format="txt" name="log" label="${$sample_name}.svdetect_preprocessing.log"/>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
44 <data format="bam" name="normBAM" label="${$sample_name}.norm.bam">
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
45 <filter>newBam['pairNormal'] == 'yes'</filter>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
46 </data>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
47 </outputs>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
48
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
49 <help>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
50
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
51 **What it does**
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
52
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
53 Bam_preprocessingPairs - Version 0.4b
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
54
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
55 Preprocessing of mates to get anomalously mapped mate-pair/paired-end reads as input for SVDetect.
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
56
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
57 From all pairs mapped onto the reference genome, this script outputs abnormal pairs:
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
58
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
59 * mapped on two different chromosomes
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
60 * with an incorrect strand orientation and/or pair order
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
61 * with an insert size distance +- sigma threshold
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
62
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
63 into a file prefix.ab.bam/sam sorted by read names
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
64
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
65 -BAM/SAM File input format only.
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
66
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
67 SAMtools required for BAM files
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
68
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
69 -----
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
70
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
71 .. class:: infomark
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
72
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
73 Contact Bruno Zeitouni (bruno.zeitouni@curie.fr) for any questions or concerns about the Galaxy implementation of SVDetect.
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
74
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
75 </help>
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
76
89b207100214 Uploaded
bzeitouni
parents:
diff changeset
77 </tool>