fasta

package
v0.0.0-...-d115bb8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2018 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllAreEqual

func AllAreEqual(alpha []Fasta, beta []Fasta) bool

func AllAreEqualIgnoreOrder

func AllAreEqualIgnoreOrder(alpha []Fasta, beta []Fasta) bool

func AppendToName

func AppendToName(record *Fasta, addition string)

func AppendToNameAll

func AppendToNameAll(records []Fasta, addition string)

func ReverseComplement

func ReverseComplement(record *Fasta)

func ReverseComplementAll

func ReverseComplementAll(records []Fasta)

func SortByName

func SortByName(seqs []Fasta)

func SortBySeq

func SortBySeq(seqs []Fasta)

func Write

func Write(filename string, records []Fasta) error

func WriteGroups

func WriteGroups(filename string, groups [][]Fasta) error

func WriteToFileHandle

func WriteToFileHandle(file *os.File, records []Fasta, lineLength int) error

Types

type Fasta

type Fasta struct {
	Name string
	Seq  []dna.Base
}

func Read

func Read(filename string) ([]Fasta, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL