view util/Fasta.py @ 13:25809f699cb3 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
author rmarenco
date Thu, 11 Aug 2016 19:02:29 -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