list-newick-leaf-labels
Description
list-newick-leaf-labels
adaptor gets the leaf labels from a Newick tree.
Creates a list of the leaf labels from a newick tree. The newick-data can either be pasted directly as an input, or a file can be uploaded. To upload a newick file, use the import-text-from-file
adaptor as the newick input.
Inputs
newick
Type: text
Required: Yes
A tree in Newick format.
Outputs
labels
Type: list
A list of leaf labels.
Examples
Example 1: Default behaviour.
Inputs:
newick:
Outputs:
labels
:
Bovine
Mouse
Gibbon
Orangutan
Gorilla
Chimp
Human
-> Created a list of the leaf labels from the Newick tree.
Use Cases
Generating a list of samples to use for querying a sample metadata database or file.
Use to creating a dictionary that contains old and new leaf labels to use in conjunction with the
replace-newick-leaf-labels
adaptor.
Last updated