Update parser.go

This commit is contained in:
kuoi 2022-01-15 11:51:43 +00:00 committed by GitHub
parent f0d6b71591
commit 0faf844242
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@ type dna struct {
}
// 读取fas文件
// read fas format files
func fas_parser(file_name string) dna {
// 读取文件
@ -23,7 +24,9 @@ func fas_parser(file_name string) dna {
}
count := 0
//sequence lines amount
i := 0 // acgt行计数
//samples amount
j := -1 // 标题行计数
seq := make(map[string]string)
indid := ""