Mercurial > repos > yating-l > hubarchivecreator
comparison util/Fasta.py @ 11:3f7c40fb51e8 draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit c778f8ee85e9acc924c5c0a30042ac90c8e7a70d-dirty
| author | yating-l |
|---|---|
| date | Wed, 28 Dec 2016 17:50:06 -0500 |
| parents | 3e0c61b52a06 |
| children |
comparison
equal
deleted
inserted
replaced
| 10:cf1abb96a43d | 11:3f7c40fb51e8 |
|---|---|
| 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 |
