joiningdata / lollipops

Lollipop-style mutation diagrams for annotating genetic variations.
GNU General Public License v3.0
186 stars 70 forks source link

Update main.go #42

Closed yanyuting1993 closed 5 years ago

yanyuting1993 commented 5 years ago

package main

import ( "os"

"github.com/pbnjay/lollipops/data"
"github.com/pbnjay/lollipops/drawing"

)

func main() { uniprot_id := "P04637" mutations := []string{"R273C", "R175H", "T125@5", "R248Q#7f3333@131"}

p53_domains, err := data.GetGraphicData(uniprot_id)
if err != nil {
    panic(err)
}

drawing.DrawSVG(os.Stdout, mutations, p53_domains)

}