Mercurial > repos > yating-l > hubarchivecreator
comparison util/Fasta.py @ 0:3e0c61b52a06 draft
planemo upload for repository https://github.com/Yating-L/hub-archive-creator commit a77635b40ebd29baafb3bea57f8cbfb3f252e3b0-dirty
| author | yating-l |
|---|---|
| date | Mon, 31 Oct 2016 16:36:25 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:3e0c61b52a06 |
|---|---|
| 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 |
