Overview
Python interface to IGV - inspired by an IGV_plotter tool originally written by @tmfromer.
It includes the following executables:
igvLaunches IGV from the command line and optionally makes it load some file(s) and jump to some locus.igv_plotterAutomates taking IGV screenshots of one or more data files at one or more loci.igvweb_viewerAllows bam, vcf, and/or bed file tracks to be viewed in a web browser using igv.js.
Install
To install for all users, run:
pip install igv_plotterTo install in your home directory (eg. if you don’t have permissions to install for all users), add ~/.local/bin to your PATH and run:
pip install igv_plotter --user
Run
To see all command line options, you can do:
igvweb_viewer -h
igv_plotter -h
igv -h
igvweb_viewer script - usage example:
This starts a webserver for viewing 3 files at 2 loci:
igvweb_viewer my_file1.vcf my_file2.bam my_file3.bed 1:12345 chrX:12345
After starting this script, open your web browser to 127.0.0.1:8000 for an interactive browser-based IGV view of these files.
igv_plotter script - usage example:
This loads 3 files, and takes 2 snapshots:
igv_plotter my_file1.vcf my_file2.bam my_file3.bed 1:12345 chrX:12345
igv script - usage example:
This launches IGV with 2 files loaded at locus 1:12345:
igv my_file1.vcf my_file3.bed 1:12345
Configure
An ~/.igv_plotter config file can be created and used to persitantly set any igv_plotter or igv command line options, by using lines like:
<command line option (without --)> = <value>
Contribute
Issue reporting and pull requests are appreciated.
Unit tests can be run with:
python setup.py test
This code is open sourced under the MIT license.
Metadata
Release files for igv_plotter 0.9.8.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| igv_plotter-0.9.8.7.tar.gz | 28.7 MB | Without provenance | Details |
Release files / igv_plotter-0.9.8.7.tar.gz
| Download URL | igv_plotter-0.9.8.7.tar.gz |
|---|---|
| Size | 28.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7daabaa025690f9d1e5ea78757e71c5321a72d48b6d213bb37c39a3f351aa457
|
|
BLAKE2b-256 checksum How to use checksums |
f380a24d9535e26b940d16d2b3aebdc766e4b299df7e28303816bae2b3b2c29e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for igv_plotter 0.9.8.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.