Genomic variants - SNPs and INDELs detection using VARSCAN2.
Author: AMBARISH KUMAR er.ambarish@gmail.com ; ambari73_sit@jnu.ac.in
This is a proposed standard operating procedure for genomic variant detection using VARSCAN.
It is hoped to be effective and useful for getting SARS-CoV-2 genome variants.
It uses Illumina RNASEQ reads and genome sequence.
Code Snippets
864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 | baseCommand: - bowtie2 arguments: - valueFrom: | ${ if (inputs.filelist && inputs.filelist_mates){ return "-1"; } else if (inputs.filelist){ return "-U"; } else { return null; } } position: 82 - valueFrom: | ${ if (inputs.filelist && inputs.filelist_mates){ return "-2"; } else if (inputs.filelist_mates){ return "-U"; } else { return null; } } position: 84 - valueFrom: | ${ if (inputs.output_filename == ""){ return ' 2> ' + default_output_filename().split('.').slice(0,-1).join('.') + '.log'; } else { return ' 2> ' + inputs.output_filename.split('.').slice(0,-1).join('.') + '.log'; } } position: 100000 shellQuote: false |
226 227 228 229 230 231 232 | baseCommand: - bowtie2-build arguments: - valueFrom: $('2> ' + inputs.bt2_index_base + '.log') position: 100000 shellQuote: false |
25 26 27 28 | baseCommand: [] arguments: - valueFrom: varscan mpileup2indel $(inputs.inputMpileup.path) > $(inputs.sampleName).indel.vcf shellQuote: false |
25 26 27 28 | baseCommand: [] arguments: - valueFrom: varscan mpileup2snp $(inputs.inputMpileup.path) > $(inputs.sampleName).snp.vcf shellQuote: false |
12 13 14 15 16 17 18 19 20 21 | baseCommand: [ samtools, faidx ] inputs: sequences: type: File doc: Input FASTA file arguments: - $(inputs.sequences.basename) |
19 20 21 22 23 24 25 26 27 28 29 | baseCommand: ["samtools", "index"] arguments: - valueFrom: -b # specifies that index is created in bai format position: 1 inputs: bam_sorted: doc: sorted bam input file type: File inputBinding: position: 2 |
41 42 43 44 45 | baseCommand: [] arguments: - valueFrom: |- samtools index $(inputs.inputBAM.path) | samtools mpileup -B -f $(inputs.ReferenceGenome.path) $(inputs.inputBAM.path) > $(inputs.sampleName).mpileup shellQuote: false |
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | baseCommand: ["samtools", "sort"] inputs: bam_unsorted: doc: aligned reads to be checked in sam or bam format type: File inputBinding: position: 2 by_name: doc: If true, will sort by name, otherwise will sort by genomic position type: boolean default: false inputBinding: position: 1 prefix: -n |
15 16 17 18 19 20 21 22 | baseCommand: ["samtools", "view"] arguments: - valueFrom: -h position: 1 # include the headers - valueFrom: -b position: 1 # output in bam format |
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/ambarishK/bio-cwl-tools/blob/release/varscanW.cwl
Name:
genomic-variants-snps-and-indels-detection-using-v
Version:
Version 1
Downloaded:
0
Copyright:
Public Domain
License:
Boost Software License 1.0
- 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...