func ParseGbkMulti(file []byte) []Sequence {

	gbk := string(file)
	genbankFiles := strings.SplitAfter(gbk, "//\n")

	//Remove last genbankFile in list. The real file terminates with //, which
	//will be interpreted as an empty genbankFile.
	genbankFiles = genbankFiles[:len(genbankFiles)-1]

	//Iterate through each genbankFile in genbankFiles list and Parse it
	//using the ParseGbk function. Return output.
	var sequences []Sequence
	for _, f := range genbankFiles {
		sequences = append(sequences, ParseGbk([]byte(f)))
	}

	return sequences

}
// ParseGbkMulti parses multiple Genbank files in a byte array to multiple sequences
ParseGbkMulti parses multiple Genbank files in a byte array to multiple sequences
// ParseGbkMulti parses multiple Genbank files in a byte array to multiple sequences
func ParseGbkMulti(file []byte) []Sequence {
	gbk := string(file)
	genbankFiles := strings.SplitAfter(gbk, "//\n")
	genbankFiles = genbankFiles[:len(genbankFiles)-1]
	var sequences []Sequence
	for _, f := range genbankFiles {
		sequences = append(sequences, ParseGbk([]byte(f)))
	}
	return sequences
}
func ParseGbkMulti ( file [ ] byte ) [ ] Sequence { gbk := string ( file ) genbankFiles := strings . SplitAfter ( gbk , " \n " ) genbankFiles = genbankFiles [ : len ( genbankFiles ) - 1 ] var sequences [ ] Sequence for _ , f := range genbankFiles { sequences = append ( sequences , ParseGbk ( [ ] byte ( f ) ) ) } return sequences }
ParseGbkMulti parses multiple Genbank files in a byte array to multiple sequences
ParseGbkMulti parses multiple Genbank files in a byte array to multiple sequences
//Remove last genbankFile in list. The real file terminates with //, which //will be interpreted as an empty genbankFile. //Iterate through each genbankFile in genbankFiles list and Parse it //using the ParseGbk function. Return output.