comparison hub-archive-creator/util/Fasta.py @ 6:9193fe3ee73f draft default tip

Uploaded
author yating-l
date Thu, 22 Dec 2016 15:59:24 -0500
parents
children
comparison
equal deleted inserted replaced
5:48d7b2dddae6 6:9193fe3ee73f
1 #!/usr/bin/python
2 # -*- coding: utf8 -*-
3
4 """
5 Class describing the Fasta format
6 (As of the 07/20/2016, only used with the reference genome)
7 """
8
9 class Fasta(object):
10 def __init__(self, false_path, name, assembly_id):
11 self.false_path = false_path
12 self.name = name
13
14 if not assembly_id:
15 assembly_id = "unknown"
16 self.assembly_id = assembly_id