Search
Duplicate
🛠️

PyBedGraph 사용법

PyBedGraph 사용법

Installation

mamba install -c bioconda pyBedGraph
Bash
복사

Quickstart

from pyBedGraph import BedGraph # Step 1. Load bedgraph file. # Just load chromosome 1. bedgraph = BedGraph('mychrom.sizes', 'test.bedGraph', 'chr1') # Load the whole chromosomes. bedgraph = BedGraph('mychrom.sizes', 'test.bedGraph') # Step 2. Load chromosome data. bedgraph.load_chrom_data('chr1') # Step 3. Query bedgraph.stats(start_list=start_list, end_list=end_list, chrom_name=
Python
복사