phylopandas
phylopandas copied to clipboard
Pandas DataFrames for phylogenetics
Remove all Bio.Alphabet occurrences due to official documentation https://biopython.org/wiki/Alphabet.
`import phylopandas as ph` raises error ```python --------------------------------------------------------------------------- ImportError Traceback (most recent call last) in ----> 1 import phylopandas as ph ~/anaconda3/envs/covid/lib/python3.8/site-packages/phylopandas/__init__.py in 26 27 # Register PhyloPandas Methods --->...
Adds a `.phylo.prune()` method. The function takes a simple kwarg. The key is the column name in the DataFrame and the value is row's value at that column. ## Example:...
@harmsm and @jharman25 will be interested. Here's a method that enables you to access sequence data from a phylopandas dataframe as its own sub-dataframe. You can visualize, slice, and analyze...
… in the _read function. Also made two hidden funcitons to iterate sequence and alignment biopython objects. Did a bit of hacking to get the dataframes to have the same...