Documentation
¶
Index ¶
Constants ¶
View Source
const VERSION = "0.5.3-dev"
VERSION of seqkit
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "seqkit", Short: "a cross-platform and ultrafast toolkit for FASTA/Q file manipulation", Long: fmt.Sprintf(`SeqKit -- a cross-platform and ultrafast toolkit for FASTA/Q file manipulation Version: %s Author: Wei Shen <shenwei356@gmail.com> Documents : http://bioinf.shenwei.me/seqkit Source code: https://github.com/shenwei356/seqkit Please cite: https://doi.org/10.1371/journal.pone.0163962 `, VERSION), }
RootCmd represents the base command when called without any subcommands
View Source
var Threads = runtime.NumCPU()
Threads for bread.NewBufferedReader()
Functions ¶
Types ¶
type BedFeature ¶
type BedFeature struct { Chr string Start int // 1based End int // end included Name *string Strand *string }
BedFeature is the gff BedFeature struct
func ReadBedFeatures ¶
func ReadBedFeatures(file string) ([]BedFeature, error)
ReadBedFeatures returns gtf BedFeatures of a file
func ReadBedFilteredFeatures ¶
func ReadBedFilteredFeatures(file string, chrs []string) ([]BedFeature, error)
ReadBedFilteredFeatures returns gtf BedFeatures of selected chrs from file
Click to show internal directories.
Click to hide internal directories.