Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "fakit",
Short: "a cross-platform and efficient suit for FASTA/Q file manipulation",
Long: `fakit -- a cross-platform and efficient suit for FASTA/Q file manipulation
Version: 0.2.3
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
func ReadBedFilteredFeatures ¶ added in v0.1.8
func ReadBedFilteredFeatures(file string, chrs []string) ([]BedFeature, error)
ReadBedFilteredFeatures returns gtf BedFeatures of selected chrs from file
type Config ¶ added in v0.1.7
type Config struct {
Alphabet *seq.Alphabet
ChunkSize int
BufferSize int
Threads int
LineWidth int
IDRegexp string
IDNCBI bool
OutFile string
Quiet bool
AlphabetGuessSeqLength int
ValidateSeqLength int
}
Config is the global falgs
type LocationChunk ¶
type LocationChunk struct {
ID uint64
Data []LocationInfo
}
LocationChunk is LocationChunk
Click to show internal directories.
Click to hide internal directories.