From 818cda725353409cb0c2e573a0806d32d374f2dc Mon Sep 17 00:00:00 2001 From: Haibao Tang Date: Sun, 24 Nov 2019 04:14:52 -0700 Subject: [PATCH] [tests] Add desc param in fastx function call --- agp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agp.go b/agp.go index 7dde4cb..b75ba7c 100644 --- a/agp.go +++ b/agp.go @@ -128,7 +128,7 @@ func buildFasta(agpfile string, seqs map[string]*seq.Seq) { // writeRecord writes the FASTA record to the file func writeRecord(object string, buf bytes.Buffer, outfh *xopen.Writer) { - record, _ := fastx.NewRecordWithoutValidation(seq.DNA, []byte{}, []byte(object), buf.Bytes()) + record, _ := fastx.NewRecordWithoutValidation(seq.DNA, []byte{}, []byte(object), []byte{}, buf.Bytes()) size := record.Seq.Length() if size > LargeSequence { log.Noticef("Write sequence %s (size = %d bp)", record.Name, size)