# HG changeset patch # User nml # Date 1592922320 14400 # Node ID 4c249c0aebad9ec82581176e7223ad9766aa8d93 # Parent b42c82186e858ce54d1df24df6c3763eda6f8d24 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f" diff -r b42c82186e85 -r 4c249c0aebad consolidate_vcfs.xml --- a/consolidate_vcfs.xml Tue Aug 27 12:30:25 2019 -0400 +++ b/consolidate_vcfs.xml Tue Jun 23 10:25:20 2020 -0400 @@ -1,8 +1,9 @@ - + combine freebayes and mpileup files for use by vcf2snvalignment - - snvphyl-tools - + + macros.xml + + '$filtered_density' && + #end if + consolidate_vcfs.pl @@ -37,44 +43,37 @@ #set $path = str($mpileup).split('/')[-1] --mpileup "$path" - #set $path = str($path).split('/')[-1] - #if $filtered_density: - --filtered-density-out "$filtered_density" - #end if - - #if $use_density_filter.select_list == "no": + #if not $use_density_filter: --skip-density-filter #else - #if $use_density_filter.window_size: - --window-size "$use_density_filter.window_size" + #if $filtered_density: + --filtered-density-out '$filtered_density' #end if - #if $use_density_filter.threshold: - --density-threshold "$use_density_filter.threshold" + + #if $window_size: + --window-size "$window_size" + #end if + #if $threshold: + --density-threshold "$threshold" #end if #end if ##mark where the output files will be sent to, simply have to match them up later in the xml output section -o $bcf_combined + ]]> - - - - - - - - - - - - - - - - - + + + + + + + + @@ -87,10 +86,11 @@ + - + @@ -98,18 +98,63 @@ + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Merges variant and non-variant calls (in VCF format) produced from two independent base callers, FreeBayes, and SAMtools/BCFtools. Produces a merged set of high-quality variant and non-variant calls (in BCF format). Optionally, produces a list of SNV-dense regions above the passed thresholds. - - - - + diff -r b42c82186e85 -r 4c249c0aebad macros.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/macros.xml Tue Jun 23 10:25:20 2020 -0400 @@ -0,0 +1,16 @@ + + 1.8.2 + + + + snvphyl-tools + + + + + + 10.1099/mgen.0.000116 + + + + diff -r b42c82186e85 -r 4c249c0aebad test-data/expected_regions.txt --- a/test-data/expected_regions.txt Tue Aug 27 12:30:25 2019 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -#Calculation and writing of high density regions has completed. diff -r b42c82186e85 -r 4c249c0aebad test-data/expected_regions_disabled.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/expected_regions_disabled.txt Tue Jun 23 10:25:20 2020 -0400 @@ -0,0 +1,1 @@ +#No density filtering diff -r b42c82186e85 -r 4c249c0aebad test-data/expected_regions_empty.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/expected_regions_empty.txt Tue Jun 23 10:25:20 2020 -0400 @@ -0,0 +1,1 @@ +#Calculation and writing of high density regions has completed. diff -r b42c82186e85 -r 4c249c0aebad test-data/expected_regions_v3.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/expected_regions_v3.txt Tue Jun 23 10:25:20 2020 -0400 @@ -0,0 +1,2 @@ +reference 4 8 +#Calculation and writing of high density regions has completed. diff -r b42c82186e85 -r 4c249c0aebad test-data/freebayes/v3.bcf Binary file test-data/freebayes/v3.bcf has changed diff -r b42c82186e85 -r 4c249c0aebad test-data/mpileup/v3.bcf Binary file test-data/mpileup/v3.bcf has changed diff -r b42c82186e85 -r 4c249c0aebad test-data/v3.bcf.gz Binary file test-data/v3.bcf.gz has changed