GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - GeoGenetics/aeDNA

BranchesTags
Open more actions menu

Latest commit

 

History

137 Commits
137 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
examples
examples
 
 
scripts
scripts
 
 
workflow
workflow
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
README.md
README.md
 
 
pixi.lock
pixi.lock
 
 
pixi.toml
pixi.toml
 
 

Repository files navigation

aeDNA - a customizable Snakemake workflow for ancient environmental DNA

Snakemake CI

This workflow combines several modules to build a workflow for ancient environmental DNA (aeDNA) analyses and QC:

  • Read trimming
  • Read dereplication
  • Taxonomy assignment

Authors

  • Filipe G. Vieira

Requirements

These workflows require:

  • pixi
  • conda
  • snakemake

Install and configure Snakemake environment

The easiet way to deploy snakemake is to install pixi and use the included environment.

Usage

Step 1: Install and configure workflow

  1. Clone this repository to your local system
  2. Test pixi environment: pixi run snakemake --version
  3. Configure workflow according to your needs via editing the file config/config.yaml.
  4. Add samples to analyze:
    • Add samples to config/samples.tsv (column sample is mandatory).
    • For each sample, add one or more sequencing units (runs, lanes, libraries or replicates) to config/units.tsv, as well as adapters used, and path to FASTQ files (if paired-end, use R{Read} to represent R1/R2 files).
    • Missing values can be specified by empty columns or by writing NA.
    • To facilitate things, the helper script make_units.py is provided that, from a list of FASTQ files, generates a folder structure with all necessary files to run (NB: always manually check files before running workflow!).

Step 2: Test workflow

  1. Test your configuration:

4.1. Perform a dry-run:

pixi run snakemake --snakefile <path to Snakfile> --configfile config/config.yaml --dry-run

4.2. Confirm workflow analyses by checking the DAG:

pixi run snakemake --snakefile <path to Snakfile> --configfile config/config.yaml --dag | dot -Tsvg > dag.svg

4.3. Optionaly, create all needed conda environments beforehand:

pixi run snakemake --snakefile <path to Snakfile> --configfile config/config.yaml --jobs 1 --conda-create-envs-only

Step 3: Execute workflow

  1. Execute the workflow, using $N cores, either:

5.1. locally:

pixi run snakemake --snakefile <path to Snakfile> --configfile config/config.yaml --jobs $N --software-deployment-method conda

5.2. in a SLURM cluster environment:

pixi run snakemake --snakefile <path to Snakfile> --configfile config/config.yaml --jobs $N --software-deployment-method conda --executor slurm

5.3. Optionally, you can also use binaries from local modules, by adding env-modules to --software-deployment-method:

pixi run snakemake [...] --software-deployment-method env-modules conda [...]

Step 4: Check results

  1. After successful execution, you can create a self-contained interactive HTML report:
pixi run snakemake --snakefile <path to Snakfile> --configfile config/config.yaml --report report.html

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

5 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.