Mercurial > repos > da-intersect > test_ap11
changeset 1:441e693c96f3
Uploaded
author | da-intersect |
---|---|
date | Wed, 10 Apr 2013 22:05:26 -0400 |
parents | b04c42cb2d31 |
children | ec45fc127fe8 |
files | tar.py |
diffstat | 1 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tar.py Wed Apr 10 21:20:41 2013 -0400 +++ b/tar.py Wed Apr 10 22:05:26 2013 -0400 @@ -1,8 +1,14 @@ -import tarfile -import galaxy.datatypes.data +import galaxy.datatypes.binary from galaxy.datatypes.binary import Binary -from galaxy import util +import data, logging, binascii from galaxy.datatypes.metadata import MetadataElement +from galaxy.datatypes import metadata +from galaxy.datatypes.sniff import * +from galaxy import eggs +import pkg_resources +pkg_resources.require( "bx-python" ) +import os, subprocess, tempfile +import struct class Tar( Binary ): """Class describing a BAM binary file""" @@ -26,3 +32,4 @@ return dataset.peek except: return "Tar file (%s)" % ( data.nice_size( dataset.get_size() ) ) +