Ucsc Conservation And Tfbs
Fetch Evolutionary Conservation scores (phyloP, phastCons) and Transcription Factor...
Install
npx skills add google-deepmind/science-skills --skill ucsc-conservation-and-tfbs -g -a claude-code -y- Repository
- google-deepmind/science-skills3.4k
- Category
- Engineering
- Updated
- 12d ago
- License
- Apache-2.0
- Context cost
- Mediumabout 1,831 tokens
- Runs scripts
- Yes, review before use
What it does
Fetch Evolutionary Conservation scores (phyloP, phastCons) and Transcription Factor Binding Sites (TFBS) from the UCSC Genome Browser. Use when analyzing whether genomic variants or regions are evolutionarily conserved, functionally important, or bounded by TF regulators across major projects (ENCODE, JASPAR, ReMap).
Conservation Scores & TFBS Lookup (UCSC)
This skill provides access to evolutionary constraint scores and conserved
elements from the UCSC Genome Browser. It retrieves scores from the PHAST
package, specifically phastCons (identifying functional blocks) and phyloP
(measuring individual site constraint), calculated from multiple alignments.
Use this skill to determine if a non-coding variant hits a site that hasn't changed since a common ancestor (which is a strong signal for pathogenicity) or to find conservation peaks across a regulatory element.
Prerequisites
uv: Read theuvskill and follow its Setup instructions to ensureuvis installed and on PATH.- User Notification: If .licenses/ucsc_conservation_and_tfbs_LICENSE.txt does not already exist in the workspace root directory then (1) prominently notify the user to check the terms at https://genome.ucsc.edu/conditions.html and https://genome.ucsc.edu/goldenPath/help/api.html, then (2) create the file recording the notification text and timestamp.
Core Rules
- Use the Wrapper: ALWAYS execute the provided helper scripts to query the database rather than accessing the database directly. The scripts automatically enforce the required rate limit gracefully.
- Large Output Handling: Always pass --output to redirect output to a file. Parse it separately (using jq or your own code).
- Notification: If this skill is used, ensure this is mentioned in the output.
Utility Scripts
This skill includes scripts to query different types of genomic data from UCSC:
scripts/get_conservation.py: For Evolutionary Conservation scores (phyloP, phastCons).scripts/get_tfbs.py: For Transcription Factor Binding Sites (TFBS).scripts/list_tracks.py: For listing available tracks based on search or group constraints.
