Skip to content

zschreib/domain_to_tree_mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple script to transform PHIDRA pfam_validated_report.tsv domain annotations into a color-coded mapping file for tree visualization.

Features

  • Reads a TSV of Pfam hits per query
  • Calculates bar heights = |Env_Starts - Env_Ends| for each Pfam
  • Assigns each unique Pfam a hex color.
  • Outputs a TSV with one row per query used as a mapping file upload in Iroki

Requirements

  • Python 3.6+
  • pandas
  • seaborn
  • matplotlib

Usage

python phidra_domain_to_tree_map.py <input.tsv> <output.tsv>

Mapping tree example

Authors

Contributors names and contact info.

zschreib@udel.edu

Acknowledgments

Tree visuals provided by Iroki

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages