# HG changeset patch
# User drosofff
# Date 1481419616 18000
# Node ID 382ffb8e0caad31847ba1271f3541442b978521d
# Parent e833b178b94ba5516ba8f302bff8d07e17b563b7
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/lumpy commit 8375ddf784506b68d28bc9e6224648fafa796d9f
diff -r e833b178b94b -r 382ffb8e0caa lumpy.xml
--- a/lumpy.xml Fri Dec 09 06:13:27 2016 -0500
+++ b/lumpy.xml Sat Dec 10 20:26:56 2016 -0500
@@ -8,7 +8,6 @@
- lumpy --version
"input.splitters.unsorted.bam" &&
samtools sort input.discordants.unsorted.bam > input.discordants.bam &&
samtools sort input.splitters.unsorted.bam > input.splitters.bam &&
- samtools view -r readgroup input.bam
+ samtools view input.bam
|tail -n +1
- |python $__tool_directory__/pairend_distro.py -r 101 -X 4 -N $seq_method.additional_params.samplingValue -o input.lib.histo > meandev.txt &&
+ |python $__tool_directory__/pairend_distro.py -r $readLength -X 4 -N $seq_method.additional_params.samplingValue -o input.lib.histo > meandev.txt &&
mean=\$(cat meandev.txt | sed s/mean:// | sed -r s/stdev:.+//) &&
stdev=\$(cat meandev.txt | sed -r s/mean:.+stdev://) &&
lumpy -mw $seq_method.additional_params.mw -tt $seq_method.additional_params.tt
#if $output_format == "BEDPE":
-b
#end if
- -pe id:input.bam,bam_file:input.discordants.bam,histo_file:input.lib.histo,mean:"\$mean",stdev:"\$stdev",read_length:$analysis_type.readLength,min_non_overlap:$seq_method.additional_params.min_non_overlap,discordant_z:$seq_method.additional_params.discordant_z,back_distance:$seq_method.additional_params.back_distance,weight:$seq_method.additional_params.weight,min_mapping_threshold:$seq_method.additional_params.min_mapping_threshold
+ -pe id:input.bam,bam_file:input.discordants.bam,histo_file:input.lib.histo,mean:"\$mean",stdev:"\$stdev",read_length:$analysis_type.readLength,min_non_overlap:$seq_method.additional_params.min_non_overlap,discordant_z:$seq_method.additional_params.discordant_z,back_distance:$seq_method.additional_params.back_distance,weight:$seq_method.additional_params.weight,min_mapping_threshold:$seq_method.additional_params.min_mapping_threshold
-sr id:input.bam,bam_file:input.splitters.bam,back_distance:$seq_method.additional_params.back_distance,weight:$seq_method.additional_params.weight,min_mapping_threshold:$seq_method.additional_params.min_mapping_threshold > output.vcf &&
mv input.discordants.bam $discordants &&
mv input.splitters.bam $splits &&
@@ -51,7 +50,7 @@
mv input.splitters.unsorted.bam $splits &&
mv output.vcf $vcf_call
#end if
-
+
#else:
#if $seq_method.seq_method_list == "paired-end":
@@ -63,22 +62,23 @@
samtools sort input.B.discordants.unsorted.bam > input.B.discordants.bam &&
samtools sort input.A.splitters.unsorted.bam > input.A.splitters.bam &&
samtools sort input.B.splitters.unsorted.bam > input.B.splitters.bam &&
- samtools view -r readgroup input.A.bam
+ samtools view input.A.bam
|tail -n +1
- |python $__tool_directory__/pairend_distro.py -r 101 -X 4 -N $seq_method.additional_params.samplingValue -o input.A.lib.histo > meandevA.txt &&
- samtools view -r readgroup input.B.bam
+ |python $__tool_directory__/pairend_distro.py -r $readLength -X 4 -N $seq_method.additional_params.samplingValue -o input.A.lib.histo > meandevA.txt &&
+ samtools view input.B.bam
|tail -n +1
- |python $__tool_directory__/pairend_distro.py -r 101 -X 4 -N $seq_method.additional_params.samplingValue -o input.B.lib.histo > meandevB.txt &&
+ |python $__tool_directory__/pairend_distro.py -r $readLengthB -X 4 -N $seq_method.additional_params.samplingValue -o input.B.lib.histo > meandevB.txt &&
meanA=\$(cat meandevA.txt | sed s/mean:// | sed -r s/stdev:.+//) &&
- meanB=\$(cat meandevB.txt | sed s/mean:// | sed -r s/stdev:.+//) &&
+ meanB=\$(cat meandevB.txt | sed s/mean:// | sed -r s/stdev:.+//) &&
stdevA=\$(cat meandevA.txt | sed -r s/mean:.+stdev://) &&
stdevB=\$(cat meandevB.txt | sed -r s/mean:.+stdev://) &&
- lumpy -mw $seq_method.additional_params.mw -tt $seq_method.additional_params.tt
+<<<<<<< HEAD
+ lumpy -mw $seq_method.additional_params.mw -tt $seq_method.additional_params.tt
#if $output_format == "BEDPE":
-b
#end if
- -pe id:inputA.bam,bam_file:input.A.discordants.bam,histo_file:input.A.lib.histo,mean:"\$meanA",stdev:"\$stdevA",read_length:$analysis_type.readLength,min_non_overlap:$seq_method.additional_params.min_non_overlap,discordant_z:$seq_method.additional_params.discordant_z,back_distance:$seq_method.additional_params.back_distance,weight:$seq_method.additional_params.weight,min_mapping_threshold:$seq_method.additional_params.min_mapping_threshold
- -pe id:inputB.bam,bam_file:input.B.discordants.bam,histo_file:input.B.lib.histo,mean:"\$meanB",stdev:"\$stdevA",read_length:$analysis_type.readLengthB,min_non_overlap:$seq_method.additional_params.min_non_overlap,discordant_z:$seq_method.additional_params.discordant_z,back_distance:$seq_method.additional_params.back_distance,weight:$seq_method.additional_params.weight,min_mapping_threshold:$seq_method.additional_params.min_mapping_threshold
+ -pe id:inputA.bam,bam_file:input.A.discordants.bam,histo_file:input.A.lib.histo,mean:"\$meanA",stdev:"\$stdevA",read_length:$analysis_type.readLength,min_non_overlap:$seq_method.additional_params.min_non_overlap,discordant_z:$seq_method.additional_params.discordant_z,back_distance:$seq_method.additional_params.back_distance,weight:$seq_method.additional_params.weight,min_mapping_threshold:$seq_method.additional_params.min_mapping_threshold
+ -pe id:inputB.bam,bam_file:input.B.discordants.bam,histo_file:input.B.lib.histo,mean:"\$meanB",stdev:"\$stdevA",read_length:$analysis_type.readLengthB,min_non_overlap:$seq_method.additional_params.min_non_overlap,discordant_z:$seq_method.additional_params.discordant_z,back_distance:$seq_method.additional_params.back_distance,weight:$seq_method.additional_params.weight,min_mapping_threshold:$seq_method.additional_params.min_mapping_threshold
-sr id:inputA.bam,bam_file:input.A.splitters.bam,back_distance:$seq_method.additional_params.back_distance,weight:$seq_method.additional_params.weight,min_mapping_threshold:$seq_method.additional_params.min_mapping_threshold
-sr id:inputB.bam,bam_file:input.B.splitters.bam,back_distance:$seq_method.additional_params.back_distance,weight:$seq_method.additional_params.weight,min_mapping_threshold:$seq_method.additional_params.min_mapping_threshold > output.vcf &&
mv input.A.discordants.bam $discordants &&
@@ -104,7 +104,7 @@
mv output.vcf $vcf_call
#end if
-
+
#end if
]]>
@@ -152,7 +152,7 @@
-
+
@@ -201,7 +201,7 @@
-
+
**Input(s)**
*One sample* : lumpy search structural variations inside a single sequencing dataset
@@ -221,7 +221,7 @@
*Read length*: The length of the sequencing reads in the library. This information is required only for paired-end sequencing data
*Additional options*: refer to lumpy-sv_ documentation and the publication (doi 10.1186/gb-2014-15-6-r84)
-
+
**lumpy-sv manual**
Read the lumpy-sv_ documentation for details on using lumpy.
@@ -271,8 +271,8 @@
-bedpe bedpe_file:,
id:,
- weight:
-]]>
+ weight:
+]]>