Skip to content

JamesFerrare/Gut_Phage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gut_Phage

Gut Phage are fun

Notes

We are getting different dN/dS results when it is calculated from alignment files. I have gone through the code and the difference is that for a given pair of genomes:

  1. In the alignment analysis we examine all sites in the aligned file (core) that have an allele in both genomes

  2. In the pangraph ananysis we examine all

for a given pair of genomes where

Conda environment

Python 3.12 environment detailed in environment.yml file. Pypangraph installed via pip, it's useful for parsing Pangraph JSON files.

File structure

config.py = specifies data, scripts, and analysis paths data_utils.py = basic functions for parsing metadata into Python dictionaries, reformatting data, etc stats_utils.py = functions for statistical analyses used in other scripts plot_utils.py = functions for visualizing data. Useful to ensure same color schemes, heatmap styles, etc across plots.

.
├── scripts/
│   ├── plot_utils.py
│   ├── data_utils.py
│   ├── stats_utils.py
│   ├── config.py
│   ├── analyze_and_plot_intraspecies_structure.ipynb
│   └── etc..
├── data/
│   ├── Single_vOTUs/
│   │   ├── Core_Alignments/
│   │   │   ├── core_alignment_combined_sequences_vOTU-000003_vOTU-000139.fna
│   │   │   └── etc....
│   │   └── Pangraphs/
│   │       ├── pangraph_combined_sequences_vOTU-000001_vOTU-000075
│   │       └── etc....
│   ├── Pairs_vOTUs/
│   │   ├── Core_Alignments/
│   │   │   ├── core_alignment_vOTU-000001_n1020.fna
│   │   │   └── etc...
│   │   └── Pangraphs/
│   │       ├── pangraph_vOTU-000001_n1020.json
│   │       └── etc....
│   ├── votu_mean_lengths.txt
│   ├── votu_genome_counts.txt
│   └── etc....
├── analyses/
│   ├── fig1.png
│   ├── fig2.png
│   └── etc...
├── config.py
├── environment.yml
└── .gitignore

About

Gut Phage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors