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

Method Write

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

Write a single sequence and return the number of bytes written and any error.

(s *seq.Seq)

Source from the content-addressed store, hash-verified

137
138// Write a single sequence and return the number of bytes written and any error.
139func (self *Writer) Write(s *seq.Seq) (n int, err error) {
140 return Format(s, self.w)
141}
142
143//To-do: not finished
144//Format a single sequence into sam string

Callers 11

writeChecksumFunction · 0.45
UpdateVersionMethod · 0.45
CreateMethod · 0.45
CreateSubsetIndexFunction · 0.45
CreateSubsetNodeIndexesFunction · 0.45
CreateMethod · 0.45
CreateColumnIndexFunction · 0.45
CreateMethod · 0.45
FormatFunction · 0.45
ReadMethod · 0.45
ReadMethod · 0.45

Calls 1

FormatFunction · 0.70

Tested by

no test coverage detected