Skip to content

sims-lab/pipeline_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

pipeline_template

Template of pipeline using cgatcore.

Usage

Running the pipeline

  • Clone the new repository to the computer where you wish to run the pipeline.
  • Create a Conda environment named pipeline-env using the file environment.yml.
  • Run the pipeline!
    • On a High-Performance Computing (HPC) cluster, python pipeline.py make full -v 5, to use the Distributed Resource Management Application API (DRMAA).
    • On a local machine python pipeline.py make full -v 5 --local.

Using the pipeline as a template for new pipelines

  • Create a new repository from this one, using the Use as template button on GitHub.
    • That way, your new repository starts its own commit history, where you can record your own changes!
    • Only fork this repository if you wish to contribute updates to the template pipeline itself.
  • Clone the new repository to the computer where the pipeline will be run.
  • Edit the file pipeline.py to define the pipeline workflow.
    • Add import statements to the Imports section.
    • Edit the section Configuration as needed, if needed.
    • Replace the contents of the section Workflow with your own pipeline steps.
    • The Main execution section should be left as-is
  • Edit the file environment.yml to define a Conda environment for running this pipeline.
  • Edit the configuration of the pipeline as needed, in the file config.yml.
  • Edit the configuration of the pipeline as needed, in the file config.yml.
  • Run the pipeline!
    • On a High-Performance Computing (HPC) cluster, python pipeline.py make full -v 5, to use the Distributed Resource Management Application API (DRMAA).
    • On a local machine python pipeline.py make full -v 5 --local.

About

Template of pipeline using cgatcore

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages