Skip to content

sanger-tol/PretextSnapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

16b42f2 · Apr 13, 2021

History

35 Commits
Apr 13, 2021
Aug 20, 2020
Apr 10, 2021
Apr 10, 2021
Apr 10, 2021
Apr 10, 2021
Nov 12, 2019
Nov 12, 2019
Apr 10, 2021
Apr 13, 2021
Nov 12, 2019
Apr 13, 2021

Repository files navigation

test Anaconda-Server Badge Anaconda-Server Badge

PretextSnapshot

Commandline image generator for Pretext contact maps.

Bioconda

All commandline Pretext tools for Unix (Linux and Mac) are available on bioconda.

The full suite of Pretext tools can be installed with

> conda install pretext-suite

Or, just PretextSnapshot can be installed with

> conda install pretextsnapshot

Usage

PretextSnapshot -m map.pretext --sequences "sequences to image" [other options]
PretextSnapshot --help for a full list of options.
PretextSnapshot --sequenceHelp for how to format the sequence specification string.

Examples

PretextSnapshot -m map.pretext --sequences "=full" :: Generates an image of the whole contact map.
PretextSnapshot -m map.pretext --sequences "=all" :: Generates an image of each sequence in the contact map.
PretextSnapshot -m map.pretext --sequences "seq_0" :: Generates an image of the sequence named "seq_0".
PretextSnapshot -m map.pretext --sequences "seq_0, seq_1" :: Generates an image of "seq_0" and an image of "seq_1".
PretextSnapshot -m map.pretext --sequences "seq_0 > seq_10" :: Generates an image between "seq_0" and "seq_10".
PretextSnapshot -m map.pretext --sequences "{seq_0, seq_1}":: Generates an image of the inter-sequence region between "seq_0" and "seq_1".

Requirments, running

4 cpu cores
(30 * output image size) + 6M RAM, i.e. if your output resolution is set to 1K (1024 pixels) your memory requirments will be (30 * 1K * 1K) + 6M = 36M

Third-Party acknowledgements

PretextSnapshot uses the following third-party libraries:

Installation

Requires:

  • clang >= 11.0.0
  • meson >= 0.57.1
git submodule update --init --recursive
env CXX=clang meson setup --buildtype=release --unity on --prefix=<installation prefix> builddir
cd builddir
meson compile
meson test
meson install

About

Commandline image generator for Pretext contact maps.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published