Logo Search packages:      
Sourcecode: python-biopython version File versions

def Bio::Graphics::BasicChromosome::Chromosome::__init__ (   self,
  chromosome_name 
)

Initialize a Chromosome for drawing.

Arguments:

o chromosome_name - The label for the chromosome.

Attributes:

o start_x_position, end_x_position - The x positions on the page
where the chromosome should be drawn. This allows multiple
chromosomes to be drawn on a single page.

o start_y_position, end_y_position - The y positions on the page
where the chromosome should be contained.

Configuration Attributes:

o title_size - The size of the chromosome title.

o scale_num - A number of scale the drawing by. This is useful if
you want to draw multiple chromosomes of different sizes at the
same scale. If this is not set, then the chromosome drawing will
be scaled by the number of segements in the chromosome (so each
chromosome will be the exact same final size).

Definition at line 181 of file BasicChromosome.py.

00181                                        :
        """Initialize a Chromosome for drawing.

        Arguments:

        o chromosome_name - The label for the chromosome.

        Attributes:

        o start_x_position, end_x_position - The x positions on the page
        where the chromosome should be drawn. This allows multiple
        chromosomes to be drawn on a single page.

        o start_y_position, end_y_position - The y positions on the page
        where the chromosome should be contained.

        Configuration Attributes:

        o title_size - The size of the chromosome title.

        o scale_num - A number of scale the drawing by. This is useful if
        you want to draw multiple chromosomes of different sizes at the
        same scale. If this is not set, then the chromosome drawing will
        be scaled by the number of segements in the chromosome (so each
        chromosome will be the exact same final size).
        """
        _ChromosomeComponent.__init__(self)

        self._name = chromosome_name

        self.start_x_position = -1
        self.end_x_position = -1
        self.start_y_position = -1
        self.end_y_position = -1

        self.title_size = 20
        self.scale_num = None

    def subcomponent_size(self):


Generated by  Doxygen 1.6.0   Back to index