Skip to content
This repository has been archived by the owner on Jun 26, 2019. It is now read-only.

Latest commit

 

History

History
executable file
·
32 lines (21 loc) · 1.9 KB

genome.md

File metadata and controls

executable file
·
32 lines (21 loc) · 1.9 KB

Reference genome

The genome parameters required to run the pipeline are listed below:

Parameter Description
fasta Path to multi-fasta file containing reference genome assembly.
bwa_index Path to BWA index for reference genome assembly. See Indexing genome section below.

The parameters can either be specified at the command-line when running the pipeline

nextflow run main.nf --design design.csv --fasta <FASTA_FILE> --bwa_index <BWA_INDEX> -profile babs_modules

or you can edit the genomes.config file to define and store these parameters for multiple genome assemblies. Using this method you will only need to provide the specified shorthand name for the reference genome when running the pipeline.

nextflow run main.nf --design design.csv --genome hg19 -profile babs_modules

Indexing genome

The fasta file will need to be indexed with SAMtools and BWA before running the pipeline.

samtools faidx <FASTA_FILE>
bwa index <FASTA_FILE>

See BWA documentation for more information.