Skip to main content

High-resolution copy number variant calling in single-cell whole-genome sequencing.

Project description

Logo generated by DALLE-3

SCANNER (Single cell Allelic copy Number scanNER)

PyPI version License: MIT

Scanner is a lightweight python package for high-resolution single-cell copy number analysis.

Content

Installation

It is recommended to install scanner in a virtual environment. Here's how to create one using conda:

conda create -n scanner_env python=3.8

To install scanner, simply use pip:

pip install copy-scanner

Requirements

Scanner requires bcftools, which must be included in PATH. All other dependencies should be installed automatically with pip.

Quick Start

To get started with scanner, please refer to our tutorial. Here's a quick example:

import scanner
# define your json file path
path = "your/dir/to/json"
# preprocess
scanner.pp.preprocess(path)
# segment
scanner.tl.segment(path)
# infer copy number
scanner.tl.infer_copy_number(path)
# visualize 
scanner.pl.plot_whole_genome_track(path)

Command line interface

For advanced users interested in multi-sample segmentation (e.g., repurposing for bulk samples), Scanner provides a command line interface. In bash, simply run:

scanner-segment -i {input_file} -l {LAMBDA} -o {output_file}

For more details, please refer to our documentation.

Operating System

Scanner was tested in the following operating systems:

  • macOS Ventura 13.5.2
  • CentOS Linux 7.9
  • Windows 11

Documentation

For more detailed information and advanced usage, please refer to our documentation.

Support

Scanner is currently under active development. For support or questions, please open an issue on our GitHub repository.

Contributing

Contributions to scanner are welcome. Please refer to our contribution guidelines for more information.

LICENSE

Scanner is released under the MIT License, and is freely available for non-commercial use.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

copy_scanner-0.0.1.2.tar.gz (109.0 kB view hashes)

Uploaded Source

Built Distribution

copy_scanner-0.0.1.2-py3-none-any.whl (112.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page