diff --git a/client/src/style/scss/library.scss b/client/src/style/scss/library.scss
index aa1d9d06028..0cdb7e71b74 100644
--- a/client/src/style/scss/library.scss
+++ b/client/src/style/scss/library.scss
@@ -1,10 +1,10 @@
@import "theme/blue.scss";
.library_style_container {
- width: 95%;
- margin: auto;
- margin-top: 1em;
- overflow: auto !important;
+ width: 100%;
+ height: 100%;
+ padding: 1em;
+ overflow: auto;
.fa-globe,
.fa-shield,
diff --git a/doc/source/admin/nginx.md b/doc/source/admin/nginx.md
index 0466a06154a..4e4f5364beb 100644
--- a/doc/source/admin/nginx.md
+++ b/doc/source/admin/nginx.md
@@ -364,7 +364,7 @@ nginx should serve files and edit `galaxy.yml` and make the following changes be
```yaml
galaxy:
#...
- upstream_zip: true
+ upstream_mod_zip: true
```
Instead of creating archives Galaxy will send a special header containing the list of files to be archived.
diff --git a/lib/galaxy/config/sample/datatypes_conf.xml.sample b/lib/galaxy/config/sample/datatypes_conf.xml.sample
index 64e4c7f11dd..575929c7649 100644
--- a/lib/galaxy/config/sample/datatypes_conf.xml.sample
+++ b/lib/galaxy/config/sample/datatypes_conf.xml.sample
@@ -266,7 +266,7 @@
-
+
@@ -924,6 +924,7 @@
+
diff --git a/lib/galaxy/datatypes/binary.py b/lib/galaxy/datatypes/binary.py
index a3ba94a46d0..81baafa581a 100644
--- a/lib/galaxy/datatypes/binary.py
+++ b/lib/galaxy/datatypes/binary.py
@@ -201,6 +201,34 @@ class CompressedArchive(Binary):
return "Compressed binary file (%s)" % (nice_size(dataset.get_size()))
+class Meryldb(CompressedArchive):
+ """MerylDB is a tar.gz archive, with 128 files. 64 data files and 64 index files."""
+ file_ext = "meryldb"
+
+ def sniff(self, filename):
+ """
+ Try to guess if the file is a Cel file.
+ >>> from galaxy.datatypes.sniff import get_test_fname
+ >>> fname = get_test_fname('affy_v_agcc.cel')
+ >>> Meryldb().sniff(fname)
+ False
+ >>> fname = get_test_fname('read-db.meryldb')
+ >>> Meryldb().sniff(fname)
+ True
+ """
+ try:
+ if filename and tarfile.is_tarfile(filename):
+ with tarfile.open(filename, 'r') as temptar:
+ _tar_content = temptar.getnames()
+ # 64 data files ad 64 indices + 2 folders
+ if len(_tar_content) == 130:
+ if len([_ for _ in _tar_content if _.endswith('.merylIndex')]) == 64:
+ return True
+ except Exception as e:
+ log.warning('%s, sniff Exception: %s', self, e)
+ return False
+
+
class DynamicCompressedArchive(CompressedArchive):
def matches_any(self, target_datatypes):
diff --git a/lib/galaxy/datatypes/test/read-db.meryldb b/lib/galaxy/datatypes/test/read-db.meryldb
new file mode 100644
index 00000000000..354da28bc66
Binary files /dev/null and b/lib/galaxy/datatypes/test/read-db.meryldb differ