view util/Fasta.py @ 59:f311e21ef362 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 72268f816f10341dbe3f6b33f8d9170d859c9697-dirty
author yating-l
date Fri, 30 Jun 2017 15:50:57 -0400
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