Skip to content

The mitoz tools circle_check command

Guanliang MENG edited this page Jun 22, 2023 · 1 revision

A quick way to check whether the sequences are circular.

$ mitoz-tools circle_check -h
usage: mitoz-tools circle_check [-h] [-i <file>] [-o <file>] [-m <int>]

Check whether the sequences are circular when the sequences have length >= 12Kbp

output files:

1. <outPrefix>.mitogenome.fa
All the sequences from <in.fasta>.

The sequence id line will be like:
>C1 topology=circular
>C2 topology=linear

For the circular mt sequence, the overlapping region (the second `ATGCNN`
below) has been removed (below is an example)

ATGCNNNNN[ATGCNN]

Assuming `ATGCNNNNN` is a circular mt sequence, `ATGCNN` are the overlapping
regions.

2. <outPrefix>.start2end_for-circular-mt-only
This file contains the circular sequences only, and the first 300 bp of each
has been moved to the end of the sequence, just for better reads mapping. You
can check the sequencing depth around the 'joining site' (-300 bp) using the
`annotate` module of MitoZ, to confirm if the sequence is really circular.

3. <outPrefix>.overlap_information
The overlapping sequence detected for the circular sequences.

Author
    [email protected], BGI.

Please cite:
Guanliang Meng, Yiyuan Li, Chentao Yang, Shanlin Liu,
MitoZ: a toolkit for animal mitochondrial genome assembly, annotation
and visualization, Nucleic Acids Research, https://doi.org/10.1093/nar/gkz173

optional arguments:
  -h, --help  show this help message and exit
  -i <file>   input fasta file
  -o <file>   output prefix
  -m <int>    mismatch allowed in the overlapping region [3]

Usage

$  mitoz-tools circle_check -i your_mito_genome.fa -o AAA -m 3

We got:

-rw-rw-r-- 1 gmeng  17K Jul  8 17:50 AAA.start2end_for-circular-mt-only
-rw-rw-r-- 1 gmeng  191 Jul  8 17:50 AAA.overlap_information
-rw-rw-r-- 1 gmeng  17K Jul  8 17:50 AAA.mitogenome.fa
$ cat AAA.overlap_information
>k141_250555 overlap between 5' and 3' are 54bp
AAGCCCGAGGGTTAGAAGTACTAGAATAAAGAGAAATAGGATCGCAACTAGGAA
Clone this wiki locally