Skip to content

About

A snakemake pipeline to analyze SHAPE/DMS-MaP experiments, including single-molecule analysis (RINGs, PAIRs, DANCE), and secondary structure prediction with RNAStructure tools.

Resources

Stars

1 star

Watchers

4 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

SnakeMapper

This Snakemake pipeline orchestrates the Weeks and Mustoe labs' "Mapper suite" of software for RNA structure probing, modeling, and visualization.

  • SHAPE-MaP reactivity profiling
  • RING-MaP and PAIR-MaP correlation analysis
  • DANCE-MaP deconvolution of alternative structures
  • RNAstructure (Mathews Lab) folding/pairing-probability calculations
  • RNAvigate figure generation

Given raw modified/untreated fastq reads and a target fasta, it runs the full suite for each sample/target pair and produces structure models, pairing probabilities, and arc plots.

Status

This pipeline is under active development. Some steps (e.g. clustered folding) are optional and can be disabled per run. See TODO.md for planned changes.

Requirements

All other Python dependencies (including RNAvigate) are installed automatically by Snakemake into per-rule conda environments via --use-conda.

Usage

  1. Copy the contents of this repository into your run directory.

  2. Edit config/config.yaml:

    • Set exe_locations to the paths of the tools listed above (or leave as the bare command if they're already on your $PATH).
    • Add an entry under samples for each sample/target pair, following the naming rules documented in the comments in config/config.yaml.
    • Enable/disable pipeline steps and adjust parameters as needed.
  3. Run with Snakemake, e.g.:

    snakemake --use-conda --cores 8

    On an HPC cluster running SLURM, use map_suite_nohup.sh instead. It will run the workflow controller on the login node in a detached state with no time limit, and it doesn't end when you log out. This is preferred over submitting the workflow controller as a SLURM job because the controller requires very little resources but can run for a long time. The controller timing out can be very costly.

    ./map_suite_nohup.sh

    Edit the three paths at the top of the script for your environment. Start it from a plain login node shell. The script will refuse to run inside a SLURM job.

There is currently no nicely bundled example dataset to run out of the box. Supply your own fastq/fasta inputs per the config format above.

Dependencies

SnakeMapper is orchestration code: it does not reimplement the underlying structure-probing analyses. If you use this pipeline, please also cite the tools it wraps:

License

Released under the MIT License.

About

A snakemake pipeline to analyze SHAPE/DMS-MaP experiments, including single-molecule analysis (RINGs, PAIRs, DANCE), and secondary structure prediction with RNAStructure tools.

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages