Mercurial > repos > peterjc > mira_datatypes
changeset 54:2bd1f1175fb2 draft
planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/datatypes/mira_datatypes commit 206259620376b322fc8ed99a6efdd3712f38764b
author | peterjc |
---|---|
date | Wed, 11 Jul 2018 12:34:20 -0400 |
parents | 7f01823efdd5 |
children | 4567ec11f2bb |
files | mira.py |
diffstat | 1 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mira.py Mon Apr 02 12:54:44 2018 -0400 +++ b/mira.py Wed Jul 11 12:34:20 2018 -0400 @@ -1,16 +1,15 @@ -""" -MiraAssemblyFormat class for the 'mira' format within Galaxy -""" +"""MiraAssemblyFormat class for the 'mira' format within Galaxy.""" from galaxy.datatypes.data import Text class MiraAssemblyFormat(Text): - """MIRA Assembly Format data""" + """MIRA Assembly Format data.""" + file_ext = "mira" def sniff(self, filename): - """Determines whether the file is a MIRA Assembly Format file. + """Determine if the file is a MIRA Assembly Format file. Note currently this only detects MIRA Assembly Format v2.0, as used in MIRA v3.9 and v4.0. @@ -30,7 +29,10 @@ return True def merge(split_files, output_file): - """Merging multiple MIRA files is non-trivial and may not be possible...""" + """Merge MIRA assembly files (not implemented). + + Merging multiple MIRA files is non-trivial and may not be possible... + """ if len(split_files) == 1: # For one file only, use base class method (move/copy) return Text.merge(split_files, output_file)