# HG changeset patch
# User iuc
# Date 1605199714 0
# Node ID 21f2361c32c93642cf201e78070975628daf451b
"planemo upload for repository https://github.com/arq5x/lumpy-sv commit cce17262b21b0964c31eb983bac5e89ae92b8ee9"
diff -r 000000000000 -r 21f2361c32c9 lumpy_preprocessing.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lumpy_preprocessing.xml Thu Nov 12 16:48:34 2020 +0000
@@ -0,0 +1,58 @@
+
+ extracts discordant read pairs and split-read alignments from a BAM dataset
+
+ macros.xml
+
+
+ lumpy-sv
+
+ blasted.bam &&
+
+samtools view -b -F 1294 blasted.bam > discordants.unsorted.bam &&
+samtools view -h blasted.bam | extractSplitReads_BwaMem -i stdin | samtools view -Sb - > splitters.unsorted.bam &&
+
+samtools sort discordants.unsorted.bam > discordants.bam &&
+samtools sort splitters.unsorted.bam > splitters.bam
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ `__. It uses samblaster_, samtools and LUMPY's extractSplitReads_BwaMem script to collate and groom an input BAM dataset (preferably produced with bwa-mem) and to extract discordant read pairs and split-read alignments from it. The three output datasets can serve as the three inputs to LUMPY.
+
+.. _samblaster: https://github.com/GregoryFaust/samblaster
+ ]]>
+
+ 10.1093/bioinformatics/btu314
+
+ @misc{SamTools_github,
+ title={SAMTools GitHub page},
+ url = {https://github.com/samtools/samtools},}
+
+
+
+
diff -r 000000000000 -r 21f2361c32c9 macros.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml Thu Nov 12 16:48:34 2020 +0000
@@ -0,0 +1,10 @@
+
+ @TOOL_VERSION@+galaxy0
+ 0.3.1
+
+
+ 10.1186/gb-2014-15-6-r84
+
+
+
+
diff -r 000000000000 -r 21f2361c32c9 test-data/blasted.bam
Binary file test-data/blasted.bam has changed
diff -r 000000000000 -r 21f2361c32c9 test-data/discordants.bam
Binary file test-data/discordants.bam has changed
diff -r 000000000000 -r 21f2361c32c9 test-data/sample.bam
Binary file test-data/sample.bam has changed
diff -r 000000000000 -r 21f2361c32c9 test-data/sample.vcf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/sample.vcf Thu Nov 12 16:48:34 2020 +0000
@@ -0,0 +1,35 @@
+##fileformat=VCFv4.2
+##source=LUMPY
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##ALT=
+##ALT=
+##ALT=
+##ALT=
+##ALT=
+##ALT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT sample1
+chr8 245202 1 N . . SVTYPE=DEL;STRANDS=+-:3;SVLEN=-229;END=245431;CIPOS=-10,64;CIEND=-51,9;CIPOS95=-1,33;CIEND95=-22,3;IMPRECISE;SU=3;PE=3 GT:SU:PE ./.:3:3
+chr8 246846 2 N . . SVTYPE=DEL;STRANDS=+-:2;SVLEN=-176;END=247022;CIPOS=-10,186;CIEND=-159,21;CIPOS95=0,137;CIEND95=-95,13;IMPRECISE;SU=2;PE=2 GT:SU:PE ./.:2:2
diff -r 000000000000 -r 21f2361c32c9 test-data/splitters.bam
Binary file test-data/splitters.bam has changed