MCPcopy Create free account
hub / github.com/MG-RAST/Shock / Format

Function Format

shock-server/node/file/format/sam/sam.go:145–147  ·  view source on GitHub ↗

To-do: not finished Format a single sequence into sam string

(s *seq.Seq, w io.Writer)

Source from the content-addressed store, hash-verified

143//To-do: not finished
144//Format a single sequence into sam string
145func Format(s *seq.Seq, w io.Writer) (n int, err error) {
146 return w.Write([]byte(string(s.Seq) + "\n"))
147}
148
149// Flush the writer.
150func (self *Writer) Flush() error {

Callers 1

WriteMethod · 0.70

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected