view util/Fasta.py @ 11:d05236b15f81 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 3760d0c8353b924ecf994131a5c2eb381aa81fb2
author rmarenco
date Wed, 27 Jul 2016 10:10:49 -0400
parents acc233161f50
children
line wrap: on
line source

#!/usr/bin/python
# -*- coding: utf8 -*-

"""
Class describing the Fasta format
(As of the 07/20/2016, only used with the reference genome)
"""

class Fasta(object):
    def __init__(self, false_path, name, assembly_id):
        self.false_path = false_path
        self.name = name
        
        if not assembly_id:
            assembly_id = "unknown"
        self.assembly_id = assembly_id