Workflow for GA4GH/DREAM challenge (phase 2)
This workflow is a CWL version of a Python pipeline from BioWardrobe (Kartashov and Barski, 2015). It starts by extracting input FASTQ file (if it was compressed). Next step runs BowTie (Langmead et al., 2009) to perform alignment to a reference genome, resulting in an unsorted SAM file. The SAM file is then sorted and indexed with Samtools (Li et al., 2009) to obtain a BAM file and a BAI index. Next MACS2 (Zhang et al., 2008) is used to call peaks and to estimate fragment size. In the last few steps, the coverage by estimated fragments is calculated from the BAM file and is reported in bigWig format. The pipeline also reports statistics, such as read quality, peak number and base frequency, and other troubleshooting information using tools such as Fastx-toolkit and Bamtools.
This workflow v0.0.2 was used for GA4GH-DREAM Workflow Execution Challenge.
$ git clone --recursive https://github.com/Barski-lab/ga4gh_challenge.git
Use --recursive
to fetch the ga4gh_challenge_data submodule (download time depends on your Internet connection speed)
$ cd ./ga4gh_challenge/data
$ ./prepare_inputs.sh
The script will uncompress the input FASTQ file.
$ mkdir ../outputs && cd ../outputs
$ cwltool ../biowardrobe_chipseq_se.cwl ../biowardrobe_chipseq_se.yaml
Results will be saved into the outputs
directory
___
View the workflow in CWLviewer
Pipeline’s structural scheme generated by Rabix Composer.