Explore Workflows

View already parsed workflows here or click here to add your own

Graph Name Retrieved From View
workflow graph Trim Galore ATAC-Seq pipeline paired-end

The original [BioWardrobe's](https://biowardrobe.com) [PubMed ID:26248465](https://www.ncbi.nlm.nih.gov/pubmed/26248465) **ChIP-Seq** basic analysis workflow for a **paired-end** experiment with Trim Galore. The pipeline was adapted for ATAC-Seq paired-end data analysis by updating genome coverage step. _Trim Galore_ is a wrapper around [Cutadapt](https://github.com/marcelm/cutadapt) and [FastQC](http://www.bioinformatics.babraham.ac.uk/projects/fastqc/) to consistently apply adapter and quality trimming to FastQ files, with extra functionality for RRBS data. A [FASTQ](http://maq.sourceforge.net/fastq.shtml) input file has to be provided. In outputs it returns coordinate sorted BAM file alongside with index BAI file, quality statistics for both the input FASTQ files, reads coverage in a form of BigWig file, peaks calling data in a form of narrowPeak or broadPeak files, islands with the assigned nearest genes and region type, data for average tag density plot (on the base of BAM file). Workflow starts with running fastx_quality_stats (steps fastx_quality_stats_upstream and fastx_quality_stats_downstream) from FASTX-Toolkit to calculate quality statistics for both upstream and downstream input FASTQ files. At the same time Bowtie is used to align reads from input FASTQ files to reference genome (Step bowtie_aligner). The output of this step is unsorted SAM file which is being sorted and indexed by samtools sort and samtools index (Step samtools_sort_index). Depending on workflow’s input parameters indexed and sorted BAM file could be processed by samtools rmdup (Step samtools_rmdup) to remove all possible read duplicates. In a case when removing duplicates is not necessary the step returns original input BAM and BAI files without any processing. If the duplicates were removed the following step (Step samtools_sort_index_after_rmdup) reruns samtools sort and samtools index with BAM and BAI files, if not - the step returns original unchanged input files. Right after that macs2 callpeak performs peak calling (Step macs2_callpeak). On the base of returned outputs the next step (Step macs2_island_count) calculates the number of islands and estimated fragment size. If the last one is less that 80 (hardcoded in a workflow) macs2 callpeak is rerun again with forced fixed fragment size value (Step macs2_callpeak_forced). If at the very beginning it was set in workflow input parameters to force run peak calling with fixed fragment size, this step is skipped and the original peak calling results are saved. In the next step workflow again calculates the number of islands and estimated fragment size (Step macs2_island_count_forced) for the data obtained from macs2_callpeak_forced step. If the last one was skipped the results from macs2_island_count_forced step are equal to the ones obtained from macs2_island_count step. Next step (Step macs2_stat) is used to define which of the islands and estimated fragment size should be used in workflow output: either from macs2_island_count step or from macs2_island_count_forced step. If input trigger of this step is set to True it means that macs2_callpeak_forced step was run and it returned different from macs2_callpeak step results, so macs2_stat step should return [fragments_new, fragments_old, islands_new], if trigger is False the step returns [fragments_old, fragments_old, islands_old], where sufix \"old\" defines results obtained from macs2_island_count step and sufix \"new\" - from macs2_island_count_forced step. The following two steps (Step bamtools_stats and bam_to_bigwig) are used to calculate coverage on the base of input BAM file and save it in BigWig format. For that purpose bamtools stats returns the number of mapped reads number which is then used as scaling factor by bedtools genomecov when it performs coverage calculation and saves it in BED format. The last one is then being sorted and converted to BigWig format by bedGraphToBigWig tool from UCSC utilities. To adapt the pipeline for ATAC-Seq data analysis we calculate genome coverage using only the first 9 bp from every read. Step get_stat is used to return a text file with statistics in a form of [TOTAL, ALIGNED, SUPRESSED, USED] reads count. Step island_intersect assigns genes and regions to the islands obtained from macs2_callpeak_forced. Step average_tag_density is used to calculate data for average tag density plot on the base of BAM file.

https://github.com/datirium/workflows.git

Path: workflows/trim-atacseq-pe.cwl

Branch/Commit ID: 17a4a68b20e0af656e09714c1f39fe761b518686

workflow graph conflict.cwl#main

https://github.com/common-workflow-language/cwltool.git

Path: tests/wf/conflict.cwl

Branch/Commit ID: 1441c285e8a5afe399f5d52ca9059cb8bb513edb

Packed ID: main

workflow graph io-any-wf-1.cwl

https://github.com/common-workflow-language/cwl-v1.2.git

Path: tests/io-any-wf-1.cwl

Branch/Commit ID: 5f27e234b4ca88ed1280dedf9e3391a01de12912

workflow graph sec-wf-out.cwl

https://github.com/common-workflow-language/cwltool.git

Path: tests/wf/sec-wf-out.cwl

Branch/Commit ID: 4c905b830371eee45188a53510ba0ee9113fd4c8

workflow graph count-lines8-wf-noET.cwl

https://github.com/common-workflow-language/cwl-v1.2.git

Path: tests/count-lines8-wf-noET.cwl

Branch/Commit ID: 5f27e234b4ca88ed1280dedf9e3391a01de12912

workflow graph env-wf2.cwl

https://github.com/common-workflow-language/cwl-v1.2.git

Path: tests/env-wf2.cwl

Branch/Commit ID: 5f27e234b4ca88ed1280dedf9e3391a01de12912

workflow graph exomeseq.cwl#exomeseq-02-variantdiscovery.cwl

https://github.com/Duke-GCB/bespin-cwl.git

Path: packed/exomeseq.cwl

Branch/Commit ID: ef08cb00bd55b4c712645d171dbc691e01ed6165

Packed ID: exomeseq-02-variantdiscovery.cwl

workflow graph count-lines7-wf.cwl

https://github.com/common-workflow-language/cwl-v1.2.git

Path: tests/count-lines7-wf.cwl

Branch/Commit ID: 5f27e234b4ca88ed1280dedf9e3391a01de12912

workflow graph igv-report_maf_workflow.cwl

Workflow to run GetBaseCountsMultiSample fillout on a number of samples, each with their own bam and maf files

https://github.com/mskcc/pluto-cwl.git

Path: cwl/igv-report_maf_workflow.cwl

Branch/Commit ID: ba3ff09328cc646d7254b2d2ee0fbe1abca3d4ad

workflow graph kf_alignment_fq_input_wf.cwl

https://github.com/cr-ste-justine/chujs-alignment-workflow.git

Path: workflows/kf_alignment_fq_input_wf.cwl

Branch/Commit ID: 682ec407000059b7f397e5faaeff1317af1d9402