Giter VIP home page Giter VIP logo

pretextsnapshot's Introduction

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

pretextsnapshot's People

Contributors

edharry avatar

Stargazers

CWCWW avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

yumisims

pretextsnapshot's Issues

Out of memory segmentation fault

Hi,

I had installed the suite in three linux machines using miniconda3. The PretexMap work well without any problem, but the PretextSnapshot gives this error in each server:

barta@summit:/molbio/projects/dayofthejackal/EndreGalaxy/pretext$ PretextSnapshot -m hap1-yahs-scaffolds.pretext -f png -r 2000 -c 5 --sequences '=full' --minTexels 64 --gridSize 1 --gridColour black '' -o output --prefix hap1-yahs-scaffolds-pretext_snapshot
[PretextSnapshot status] :: Running with AVX2 CPU extensions
[PretextSnapshot status] :: Input map: 'hap1-yahs-scaffolds.pretext'
[PretextSnapshot status] :: Output format: png
[PretextSnapshot status] :: Output resolution: 2000 pixels
[PretextSnapshot status] :: Colour map: Three Wave Blue-Green-Yellow
[PretextSnapshot status] :: Minimum texels per image: 64
[PretextSnapshot status] :: Grid size: 1 pixel
[PretextSnapshot status] :: Grid colour: 000000ff
[PretextSnapshot status] :: Output path: 'output/hap1-yahs-scaffolds-pretext_snapshot'
[PretextSnapshot status] :: Indexing file...
[PretextSnapshot status] :: File indexed
Push of 2796032 bytes failed, out of memory.
Segmentation fault
barta@summit:/molbio/projects/dayofthejackal/EndreGalaxy/pretext$

Obviously there is enough memory.

Could you help to solve this problem?

Thank you in advance

Best,

Endre

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.