Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "goalign", Short: "goalign: A set of tools to handle sequence alignments", Long: `goalign: A set of tools to handle sequence alignments. It allows to : 1 - Convert formats 2 - Shuffle alignments 3 - Sample alignments 4 - Print informations about alignments 5 - Generate bootstrap alignments `, PersistentPreRun: func(cmd *cobra.Command, args []string) { var fi *os.File var err error if infile == "stdin" || infile == "-" { fi = os.Stdin } else { fi, err = os.Open(infile) if err != nil { panic(err) } } r := bufio.NewReader(fi) var al align.Alignment var err2 error if rootphylip { al, err2 = phylip.NewParser(r).Parse() } else { al, err2 = fasta.NewParser(r).Parse() } if err2 != nil { panic(err2) } rootalign = al }, }
RootCmd represents the base command when called without any subcommands
View Source
var Version string = "Unset"
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.