BioProtobufParser
This tool parses Gbff and FASTA files and converts them to a protocol buffer representation.
The corresponding protobuf files and schemas can be found here.
Usage
- The first need Go installed (version 1.14+ is required), then you can use the below Go command to install BioProtobufParser.
$ go get -u github.com/ag-computational-bio/BioProtobufParser
- Import it in your code:
import "github.com/ag-computational-bio/BioProtobufParser"
Quick Start
For
package main
import (
"github.com/ag-computational-bio/BioProtobufParser/gbparse"
schemas "github.com/ag-computational-bio/BioProtobufSchemas/go"
)
func main() {
parser := gbparse.FASTAParser{}
output := make(chan *schemas.Fasta)
file := bufio.
parser.Rea
}