Automated captcr-snakemake Pipeline: Barcode Extraction, MixCR, QC, and Clone Tracking
Help improve this workflow!
This workflow has been published but could be further improved with some additional meta data:- Keyword(s) in categories input, output, operation
You can help improve this workflow by suggesting the addition or removal of keywords, suggest changes and report issues, or request to become a maintainer of the Workflow .
captcr-snakemake
Author: Arnavaz.Danesh@uhnresearch.ca Orginal repo: https://github.com/arnavaz/cap-tcr
This repository is to automate the pughlab captcr pipeline using a snakemake workflow The pipeline consists of barcode extraction, running mixcr, running QC, and clonetracking
Intallation requirements
-
python-3.4.3 or higher
-
Biopython (python package)
-
pandas (python package)
-
numpy (python package)
-
matplotlib (python package)
-
R/3.6 or higher
-
ggplot2 (R-package)
-
ggalluvial (R-package)
-
randomcoloR (R-package)
Run with example data
# clone the repo
salloc -c 1 -t 2:00:00 --mem=6G -p build
git clone https://github.com/LupienLab/cap-tcr.git
# Update config file
vi config.yaml
# Run Snakemake or submit a job
snakemake -s Snakefile --cores 1
Code Snippets
73 74 | shell: "python {params.extract_barcode} --read1 {input.R1} --read2 {input.R2} --outfile {params.outprefix} --blist {params.barcodes}" |
82 83 | shell: "{java_align} {input.R1} {input.R2} {output.vdjca}" |
90 91 | shell: "{assemble1} {input.vdjca} {output.vdjca_res1}" |
98 99 | shell: "{assemble1} {input.vdjca_res1} {output.vdjca_res2}" |
106 107 | shell: "{assembleEx} {input.vdjca_res2} {output.vdjca_ext}" |
115 116 | shell: "{assemble_f} {output.log} {input.vdjca_ext} {output.clns}" |
123 124 | shell: "{export} --chains TRA {input.cln} {output.clones_A}" |
131 132 | shell: "{export} --chains TRB {input.clns} {output.clones_B}" |
137 138 | shell: "python {pars_log} -i {logdir} -o {logdir} -pm log_assemble_" |
143 144 | shell: "Rscript {mixcr_qc} {logdir}" |
155 156 | shell: "Rscript {clonetracker} {input.clones} {params.param1} {params.type}" |
Support
Do you know this workflow well? If so, you can
request seller status , and start supporting this workflow.
Created: 1yr ago
Updated: 1yr ago
Maitainers:
public
URL:
https://github.com/LupienLab/cap-tcr
Name:
cap-tcr
Version:
1
Other Versions:
Downloaded:
0
Copyright:
Public Domain
License:
None
Keywords:
- Future updates
Related Workflows

ENCODE pipeline for histone marks developed for the psychENCODE project
psychip pipeline is an improved version of the ENCODE pipeline for histone marks developed for the psychENCODE project.
The o...

Near-real time tracking of SARS-CoV-2 in Connecticut
Repository containing scripts to perform near-real time tracking of SARS-CoV-2 in Connecticut using genomic data. This pipeli...

snakemake workflow to run cellranger on a given bucket using gke.
A Snakemake workflow for running cellranger on a given bucket using Google Kubernetes Engine. The usage of this workflow ...

ATLAS - Three commands to start analyzing your metagenome data
Metagenome-atlas is a easy-to-use metagenomic pipeline based on snakemake. It handles all steps from QC, Assembly, Binning, t...
raw sequence reads
Genome assembly
Annotation track
checkm2
gunc
prodigal
snakemake-wrapper-utils
MEGAHIT
Atlas
BBMap
Biopython
BioRuby
Bwa-mem2
cd-hit
CheckM
DAS
Diamond
eggNOG-mapper v2
MetaBAT 2
Minimap2
MMseqs
MultiQC
Pandas
Picard
pyfastx
SAMtools
SemiBin
Snakemake
SPAdes
SqueezeMeta
TADpole
VAMB
CONCOCT
ete3
gtdbtk
h5py
networkx
numpy
plotly
psutil
utils
metagenomics

RNA-seq workflow using STAR and DESeq2
This workflow performs a differential gene expression analysis with STAR and Deseq2. The usage of this workflow is described ...

This Snakemake pipeline implements the GATK best-practices workflow
This Snakemake pipeline implements the GATK best-practices workflow for calling small germline variants. The usage of thi...