Class: GffGo
- Inherits:
-
Object
- Object
- GffGo
- Defined in:
- lib/gene_assembler/gff_go.rb
Instance Method Summary collapse
Instance Method Details
#report(go, parent, seqid) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 |
# File 'lib/gene_assembler/gff_go.rb', line 2 def report(go,parent,seqid) if go.source.nil? go.source='Unknown' end obsolete=nil if go.obsolete obsolete="Obsolete=True" end go_text="#{seqid}\t#{go.source}\tOntology\t#{go.beg}\t#{go.end}\t.\t+\t.\tID=#{parent}_#{go.name}#{go.code};Parent=#{parent};Name=#{go.name}_#{go.code};Note=#{go.name}_#{go.code};#{obsolete}" return go_text end |