view util/Fasta.py @ 25:99dad5f9444c draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 93e2e2fb59f99677425104a80c17f665fa7b2b4a-dirty
author yating-l
date Fri, 02 Jun 2017 17:36:24 -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