Skip to content

KLinterSel is a Python project for calculating intersections between selective sites detected by different methods. The main script performs operations on genomic data from selective scans and supports statistical tests and plotting.

Notifications You must be signed in to change notification settings

noosdev0/KLinterSel

Repository files navigation

KLinterSel Think in azul

KLinterSel is a Python project for calculating intersections between selective sites detected by different methods. The main script performs operations on genomic data from selective scans and supports statistical tests and plotting.

Requirements

  • Python 3.7+
  • Libraries: numpy, pandas, matplotlib, seaborn, scipy, psutil

Installation

You can get KLinterSel by downloading the prebuilt binaries from the Releases section or by installing the program from source:

  1. Clone this repository or download the source files by clicking on the green "Code" button and selecting "Download ZIP."
    git clone https://github.com/noosdev0/KLinterSel.git
    
    
  2. Create and activate a virtual environment (recommended).
   python -m venv venv
   source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  1. Install the required libraries using pip install -r requirements.txt

Usage

To run the script, use the following command:

   python3 KLinterSel.py <file1> <file2> <file3> [file4 ...]

For just intersections at a specified distance:

python3 KLinterSel.py <file1> <file2> <file3> [file4 ...] --dist <distance> --notest

For plotting the distribution:

python3 KLinterSel.py <file1> <file2> <file3> [file4 ...] --paint

Features

  • Filter clusters in genomic data from selective scans
  • Calculate intersections between different methods
  • Generate random data for control
  • Perform statistical tests
  • Plot distributions

About

KLinterSel is a Python project for calculating intersections between selective sites detected by different methods. The main script performs operations on genomic data from selective scans and supports statistical tests and plotting.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages