diff --git a/config/datatypes_conf.xml.sample b/config/datatypes_conf.xml.sample
index 30a85120ad2..5339ceab7f4 100644
--- a/config/datatypes_conf.xml.sample
+++ b/config/datatypes_conf.xml.sample
@@ -247,7 +247,12 @@
-
+
+
+
+
+
+
diff --git a/doc/source/lib/galaxy.datatypes.converters.rst b/doc/source/lib/galaxy.datatypes.converters.rst
index 7435e980ab5..dacdc91828d 100644
--- a/doc/source/lib/galaxy.datatypes.converters.rst
+++ b/doc/source/lib/galaxy.datatypes.converters.rst
@@ -225,6 +225,22 @@ galaxy.datatypes.converters.vcf_to_vcf_bgzip module
:undoc-members:
:show-inheritance:
+galaxy.datatypes.converters.bcf_bgzip_to_bcf module
+---------------------------------------------------
+
+.. automodule:: galaxy.datatypes.converters.bcf_bgzip_to_bcf
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+galaxy.datatypes.converters.bcf_to_bcf_bgzip module
+---------------------------------------------------
+
+.. automodule:: galaxy.datatypes.converters.bcf_to_bcf_bgzip
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
galaxy.datatypes.converters.wiggle_to_array_tree_converter module
-----------------------------------------------------------------
@@ -240,5 +256,3 @@ galaxy.datatypes.converters.wiggle_to_simple_converter module
:members:
:undoc-members:
:show-inheritance:
-
-
diff --git a/lib/galaxy/datatypes/converters/bcf_bgzip_to_bcf_converter.py b/lib/galaxy/datatypes/converters/bcf_bgzip_to_bcf_converter.py
new file mode 100644
index 00000000000..35dd32a711e
--- /dev/null
+++ b/lib/galaxy/datatypes/converters/bcf_bgzip_to_bcf_converter.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+
+"""
+Uses bcftools to extract a bcf from a bcf.gz
+
+usage: %prog in_file out_file
+"""
+import optparse
+import subprocess
+
+
+def main():
+ # Read options, args.
+ parser = optparse.OptionParser()
+ (options, args) = parser.parse_args()
+ input_fname, output_fname = args
+
+ subprocess.call(["bcftools", "view", input_fname, "-o", output_fname, "-O", "u"])
+
+
+if __name__ == "__main__":
+ main()
diff --git a/lib/galaxy/datatypes/converters/bcf_bgzip_to_bcf_converter.xml b/lib/galaxy/datatypes/converters/bcf_bgzip_to_bcf_converter.xml
new file mode 100644
index 00000000000..90b67ca1db6
--- /dev/null
+++ b/lib/galaxy/datatypes/converters/bcf_bgzip_to_bcf_converter.xml
@@ -0,0 +1,14 @@
+
+
+ bcf_bgzip_to_bcf_converter.py '$input1' '$output1'
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/galaxy/datatypes/converters/bcf_to_bcf_bgzip_converter.py b/lib/galaxy/datatypes/converters/bcf_to_bcf_bgzip_converter.py
new file mode 100644
index 00000000000..ba52f0116dc
--- /dev/null
+++ b/lib/galaxy/datatypes/converters/bcf_to_bcf_bgzip_converter.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+
+"""
+Uses bcftools to compress a bcf into a bcf.gz
+
+usage: %prog in_file out_file
+"""
+import optparse
+import subprocess
+
+
+def main():
+ # Read options, args.
+ parser = optparse.OptionParser()
+ (options, args) = parser.parse_args()
+ input_fname, output_fname = args
+
+ subprocess.call(["bcftools", "view", input_fname, "-o", output_fname, "-O", "b"])
+
+
+if __name__ == "__main__":
+ main()
diff --git a/lib/galaxy/datatypes/converters/bcf_to_bcf_bgzip_converter.xml b/lib/galaxy/datatypes/converters/bcf_to_bcf_bgzip_converter.xml
new file mode 100644
index 00000000000..5aea96fc5b7
--- /dev/null
+++ b/lib/galaxy/datatypes/converters/bcf_to_bcf_bgzip_converter.xml
@@ -0,0 +1,14 @@
+
+
+ bcf_to_bcf_bgzip_converter.py '$input1' '$output1'
+
+
+
+
+
+
+
+
+
+
+