Documentation ¶
Index ¶
- Constants
- func AddSpeciesTips(t *tree.Tree)
- func Format(format string) int
- func ParseNcbiNames(reader io.Reader) (map[string]string, error)
- func ParseNcbiTree(reader io.Reader) (*tree.Tree, error)
- func RenameTreeNodes(t *tree.Tree, namemap map[string]string)
- func StrFormat(format int) string
- type ImageDownloader
- type ItolImageDownloader
- type NcbiTreeDownloader
- type TreeDownloader
Constants ¶
View Source
const ( IMGFORMAT_SVG = 0 IMGFORMAT_PNG = 1 IMGFORMAT_EPS = 2 IMGFORMAT_PDF = 3 IMGFORMAT_UNKNOWN = 4 )
Variables ¶
This section is empty.
Functions ¶
func AddSpeciesTips ¶ added in v0.2.2
if an internal node is a species, then we add a new tip
func ParseNcbiNames ¶ added in v0.2.2
Parse name file and convert names with the following rules: Special characters are replaces with "_" -> '(', ')', '[', ']', ':', ',', ' ', ';'
func ParseNcbiTree ¶ added in v0.2.2
Build a gotree.tree.Tree
func RenameTreeNodes ¶ added in v0.2.2
Types ¶
type ImageDownloader ¶
type ItolImageDownloader ¶
type ItolImageDownloader struct {
// contains filtered or unexported fields
}
func NewItolImageDownloader ¶
func NewItolImageDownloader(config map[string]string) *ItolImageDownloader
type NcbiTreeDownloader ¶ added in v0.2.2
type NcbiTreeDownloader struct {
// contains filtered or unexported fields
}
func NewNcbiTreeDownloader ¶ added in v0.2.2
func NewNcbiTreeDownloader() *NcbiTreeDownloader
NCBI taxonomy downloader
Click to show internal directories.
Click to hide internal directories.