SPARKS: Splicing Profile Analysis Identifying Key RBPs in Alternative Splicing Changes
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 .
About
S plicing P rofile A nalysis using R BP K D/KO S ignatures ( SPARKS ) identifies the RBPs most responsible for AS changes in th
Code Snippets
61 62 63 64 65 | shell: 'curl -L \'{params.url}\'' ' -o {output.ref_file}' ' 1> {log.out}' ' 2> {log.err}' |
82 83 84 85 | shell: ' gunzip -c {input.gz}' ' 1> {output.un_gz}' ' 2> {log.err}' |
108 109 110 111 112 113 114 | shell: ' cd {params.ref_dir}' ' && tar -xvf {params.gz}' ' {params.idx}' ' {params.to_genes}' ' 1> {params.log_out}' ' 2> {params.log_err}' |
131 132 133 134 135 136 137 138 139 140 141 | shell: 'mkdir -p {output.ref}' ' && {params.conda_wrapper} STAR' ' --runThreadN {threads}' ' --runMode genomeGenerate' ' --genomeDir {output.ref}' ' --genomeFastaFiles {input.fasta}' ' --sjdbGTFfile {input.gtf}' ' --sjdbOverhang 99' ' 1> {log.out}' ' 2> {log.err}' |
202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 | shell: 'mkdir -p {params.out_prefix}' ' && {params.conda_wrapper} STAR' ' --genomeDir {input.star_reference}' ' --sjdbGTFfile {input.gtf}' ' --runThreadN {threads}' ' --outSAMunmapped Within' ' --twopassMode Basic' ' --outSAMtype BAM SortedByCoordinate' ' --limitBAMsortRAM 24489245788' ' --outFilterType BySJout' ' --outFilterMultimapNmax 20' ' --alignSJoverhangMin 8' ' --alignSJDBoverhangMin 1' ' --outFilterMismatchNmax 999' ' --outFilterMismatchNoverLmax 0.04' ' --alignIntronMin 20' ' --alignIntronMax 1000000' ' --alignMatesGapMax 1000000' ' --seedSearchStartLmax 30' ' --alignEndsType EndToEnd' ' --readFilesIn {params.read_files_in}' ' --outFileNamePrefix {params.out_prefix}/' ' {params.read_files_command}' ' 1> {log.out}' ' 2> {log.err}' ' && mv {params.star_bam_path} {output.bam}' ' 1>> {log.out}' ' 2>> {log.err}' ' && {params.conda_wrapper} samtools' ' index {output.bam}' ' 1>> {log.out}' ' 2>> {log.err}' |
266 267 268 269 270 271 272 273 274 275 276 277 278 | shell: '{params.conda_wrapper} python' ' {params.script}' ' --bam {input.bam}' ' --dot-rmats {output.dot_rmats}' ' --tmp-dir {params.tmp_dir}' ' --out-dir {params.out_dir}' ' --b1 {params.b1}' ' --gtf {input.gtf}' ' --read-length {params.read_length}' ' {params.is_paired}' ' 1> {log.out}' ' 2> {log.err}' |
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 | shell: '{params.conda_wrapper} python' ' {params.script}' ' --tmp-dir {params.tmp_dir}' ' --out-dir {params.out_dir}' ' --b1 {output.b1}' ' --b2 {output.b2}' ' --gtf {input.gtf}' ' --read-length {params.read_length}' ' --num-threads {threads}' ' {params.dot_rmats_files}' ' {params.b1_bams}' ' {params.b2_bams}' ' 1> {log.out}' ' 2> {log.err}' |
438 439 440 441 442 443 444 445 446 447 448 449 450 451 | shell: '{params.conda_wrapper} python' ' {params.script}' ' {params.rmats_out_dir}' ' {params.out_dir}' ' --na_filter' ' --coverage_filter' ' --event {wildcards.event_type}' ' --tissue {wildcards.cancer_type}' ' --event_annotation' ' --sample {input.b1}' ' {params.two_group}' ' 1> {log.out}' ' 2> {log.err}' |
474 475 476 477 478 479 480 481 482 | shell: '{params.conda_wrapper} python' ' {params.script}' ' {input.merged}' ' {params.out_dir}' ' --cancer_type {wildcards.cancer_type}' ' --rna' ' 1> {log.out}' ' 2> {log.err}' |
523 524 525 526 527 528 529 530 | shell: '{params.conda_wrapper} python' ' {params.script}' ' {params.rmats_dir}' ' {params.matrix_dir}' ' {wildcards.cancer_type}' ' 1> {log.out}' ' 2> {log.err}' |
591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 | shell: '{params.conda_wrapper}' ' {params.r1_view_command}' ' > {output.tmp_r1}' ' 2> {log.err}' ' && {params.conda_wrapper}' ' {params.r2_view_command}' ' > {output.tmp_r2}' ' 2>> {log.err}' ' && {params.conda_wrapper}' ' kallisto quant' ' -i {input.idx}' ' -o {params.out_dir}' ' {output.tmp_r1}' ' {params.kallisto_r2}' ' {params.single_end}' ' 1> {log.out}' ' 2>> {log.err}' |
643 644 645 646 647 648 649 650 651 | shell: '{params.conda_wrapper} python' ' {params.script}' ' {params.in_dir}' ' {params.out_dir}' ' {wildcards.cancer_type}' ' --transcripts-to-genes {input.to_genes}' ' 1> {log.out}' ' 2> {log.err}' |
735 736 737 738 739 740 741 742 743 744 745 | shell: '{params.conda_wrapper} Rscript' ' {params.script}' ' --exp {input.exp_matrix}' ' --cancer_type {wildcards.cancer_type}' ' {params.sparks_lib}' ' {params.psi}' ' {params.anno}' ' {params.mats}' ' 1> {log.out}' ' 2> {log.err}' |
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/Xinglab/sparks
Name:
sparks
Version:
1
Downloaded:
0
Copyright:
Public Domain
License:
None
- 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...