Parabricks provides GPU-accelerated BWA for short-read alignment to a reference genome.
data/MN908947/MN908947.fasta
is the reference genome for SARS-CoV-2 in FASTA format.
Follow the installation guide at https://www.nvidia.com/en-us/docs/parabricks/local-installation/
Once Parabricks is installed, the following command performs:
- GPU-accelerated BWA-MEM
- Co-ordinate sorting
- Marking duplicates.
pbrun fq2bam --ref data/MN908947/MN908947.fasta --in-fq sample_1.fastq.gz sample_2.fastq.gz --out-bam output.bam