Skip to content

Commit a57e5bc

Browse files
committed
godoc
1 parent 1753854 commit a57e5bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

genomefile.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
"github.com/brentp/xopen"
1111
)
1212

13+
// GenomeFile has the Lengths and Orders of the chromosomes.
1314
type GenomeFile struct {
1415
Lengths map[string]int
1516
Order map[string]int
@@ -21,6 +22,7 @@ func (g *GenomeFile) Less(a, b string) bool {
2122
return g.Order[a] <= g.Order[b]
2223
}
2324

25+
// ReadGenomeFile returns a GenomeFile struct
2426
func ReadGenomeFile(path string) (*GenomeFile, error) {
2527

2628
rdr, err := xopen.Ropen(path)

0 commit comments

Comments
 (0)