Pegasus is a workflow management system that maps abstract workflows to executable workflows that can run on different execution environments. It consists of three main components - the Pegasus Mapper, HTCondor DAGMan, and HTCondor Schedd. Pegasus provides APIs in multiple languages including R to generate abstract workflows and can easily scale to workflows with millions of tasks. It handles mapping workflows to resources, data movement between sites, monitoring and debugging of workflows. Pegasus was used to run EPA and Bioconductor genomic analysis workflows across multiple sites by partitioning tasks.