Skip to content
/ fslr Public

Delfi Fragment Short/Long ratio's implemented in Python

License

Notifications You must be signed in to change notification settings

brmprnk/fslr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FSLR

Python Version

Implementation of retrieving the fragment short/long ratio's (FSLR) from the DELFI method by Cristiano et al. [1] implemented in Python. Supports multiprocessing and the use of .yaml files to set program parameters.

Installation

Recommended installation uses a new Anaconda environment.

Then to run the project, simply call the src/fslr.py from the root directory with the desired config file like so:

python src/fslr.py -c configs/delfi_fslr.yaml
  • The experiment name is set in the config file, or in the command line using -e experiment_name
  • All results and model outputs will be stored in the project's results directory
  • The results are stored as .bam file specific npy arrays of the FSLR ratio's
  • All informational print statements are saved to a log.txt file, using a logger found in the util folder.
  • The genomic bins of interest should be provided in a .bed file, and can be generated by genome_bins.py in src/util.
  • This project also used the default ENCODE blacklist file which should be stored in /beds.

File Structure

.
├── LICENSE
├── README.md
├── .gitignore
├── beds
│       └── hg38_100kb.bed
│       └── hg38_5mb.bed
├── configs
│       └── delfi_fslr.yaml
├── data/
├── results/
└── src
    ├── util/
    ├── fslr.py

Authors

- Bram Pronk                    [email protected]

Citations

About

Delfi Fragment Short/Long ratio's implemented in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published