view util/Fasta.py @ 27:6872b9583e26 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit e42ecb807fb34a8e4ddcf96944dd74d24c695352-dirty
author yating-l
date Thu, 29 Dec 2016 17:26:29 -0500
parents 3e0c61b52a06
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