Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "fakit",
Short: "Swiss army knife of FASTA format",
Long: `fakit -- Swiss army knife of FASTA format
Version: 0.1.6
Author: Wei Shen <shenwei356@gmail.com>
Documents : http://shenwei356.github.io/fakit
Source code: https://github.com/shenwei356/fakit
`,
}
RootCmd represents the base command when called without any subcommands
View Source
var Threads = runtime.NumCPU()
Threads for bread.NewBufferedReader()
Functions ¶
Types ¶
type BedFeature ¶ added in v0.1.4
type BedFeature struct { Chr string Start int // 1based End int // end included Name *string Strand *string }
BedFeature is the gff BedFeature struct
func ReadBedFeatures ¶ added in v0.1.4
func ReadBedFeatures(file string) ([]BedFeature, error)
ReadBedFeatures returns gtf BedFeatures of a file
type LocationChunk ¶
type LocationChunk struct { ID uint64 Data []LocationInfo }
LocationChunk is LocationChunk
type LocationInfo ¶
type LocationInfo struct { Record *fasta.FastaRecord PatternName string Strand string Locations [][]int }
LocationInfo is LocationInfo
Click to show internal directories.
Click to hide internal directories.