Subsections


mapbp

Compute the number of breakpoints between one order data set and a map.

Synopsis:

The mapbp command is invoked either:

Description:

The mapbp command computes the number of breakpoints between a map and a reference order. All the markers which do not appear in the reference order are not taken into account when computing the exact number of breakpoints. The number of breakpoints is the number of adjacent markers in an order which are not adjacent in the reference order. Two adjacent markers from two different chromosomes in the reference genome always count for one (obligate) breakpoint.

Arguments:

Returns:

number of breakpoints.

Example:

   CarthaGene version 1.2-LKH, Copyright (c) 1997-2010 (INRA).

   CarthaGene comes with ABSOLUTELY NO WARRANTY.
   CarthaGene is free software. You are welcome to redistribute it,
   under certain conditions. See the License file for information.

Type 'help' for help.

CG> dsload Data/rh1_true.cg
{1 haploid RH 110 93 /home/tschiex/Dev/carthagene/doc/user/exemple/Data/rh1...
CG> dsload Data/order1_ref.cg
{2 order 110 /home/tschiex/Dev/carthagene/doc/user/exemple/Data/order1_ref.cg}
CG> dsmergor 1 2
{3 merged by order 110 93}
CG> sem
...
CG> mapbp 2 0
6
CG>

See also:

Thomas Schiex 2018-03-23