mtArchitect is a pipeline that uses other existing tools to reconstruct the complete sequence of the mitogenome from Whole Genome Sequencing fastqs.


BWA (0.7.15)

SAMtools (1.3.1)

Bam2fastq (1.1.0)

Tabix (0.2.5)

BCFtools (1.3.1)

Picardtools (1.119)

bgzip (htslib 1.3.1)

VCFtools (0.1.13)

Hapsembler (2.21)

Blast (2.4.0)

Please note that the pipeline was developed using the versions in parenthesis. As the commands and options may vary between versions there can be some problems of compatibility with previous versions.

Other requirements:

A mitochondrial genome reference is used in the reconstruction. This reference can have up to 12% divergent without demising the quality of the resulting sequence. Also, the 4th step of the pipeline is mapping to the nuclear genome to remove reads that are preferentially mapped to it, so a nuclear assembly (with the mitochondria included) is also required.

Note that the pipeline has been designed for Linux environments and adapted for Mac.


Download the scripts from here


Download the scripts folder and uncompress it. Open and edit the “Variables to set” and the “Paths to tools” according to your system.

Once you have adapted the main script, run

./ sample_1.fastq sample_2.fastq sampleName

The final sequence will be in FINALseq/sampleName/sampleName.fa

Also, in this same folder you will find sampleName.bam which you can view with IGV (Use sampleName.fa in Genomes/Load Genome from File and sampleName.bam File/Load from File) to check any problems with the resulting sequence.



12/01/2016 – as well as the R scripts have been debugged and updated.


Citation: Lobon, Irene, et al. “Demographic history of the genus Pan inferred from whole mitochondrial genome reconstructions.” Genome Biology and Evolution 8.6 (2016): 2020-2030.


 334 total views,  1 views today