Mercurial > repos > rmarenco > hubarchivecreator
comparison util/Fasta.py @ 10:acc233161f50 draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
| author | rmarenco |
|---|---|
| date | Thu, 21 Jul 2016 05:58:51 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 9:4f9847539a28 | 10:acc233161f50 |
|---|---|
| 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 |
