ensembl-hive  2.8.1
Bio::EnsEMBL::Utils::PolyA Class Reference

Public Member Functions

public new ()
 
public clip ()
 
public mask ()
 
protected _find_polyA ()
 
protected _mask ()
 
protected _clip ()
 
protected _softmask ()
 
public has_polyA_track ()
 

Detailed Description

Synopsis

my $seq; # a Bio::Seq object
# returns a new Bio::Seq object with the trimmed sequence
my $trimmed_seq = $polyA->clip($seq);
# cat put Ns in the place of the polyA/polyT tail
my $masked_seq = $polyA->mask($seq);
# can put in lower case the polyA/polyT using any flag:
my $softmasked_seq = $poly->mask( $seq, 'soft' );

Description

  It reads a Bio::Seq object, it first finds out whether it has a
  polyA or a polyT and then performs one operation in the seq string:
  clipping, masking or softmasking.  It then returns a new Bio::Seq
  object with the new sequence.

Definition at line 29 of file PolyA.pm.

Member Function Documentation

◆ _clip()

protected Bio::EnsEMBL::Utils::PolyA::_clip ( )

Undocumented method

Code:
click to view

◆ _find_polyA()

protected Bio::EnsEMBL::Utils::PolyA::_find_polyA ( )

Undocumented method

Code:
click to view

◆ _mask()

protected Bio::EnsEMBL::Utils::PolyA::_mask ( )

Undocumented method

Code:
click to view

◆ _softmask()

protected Bio::EnsEMBL::Utils::PolyA::_softmask ( )

Undocumented method

Code:
click to view

◆ clip()

public Bio::EnsEMBL::Utils::PolyA::clip ( )

Undocumented method

Code:
click to view

◆ has_polyA_track()

public Bio::EnsEMBL::Utils::PolyA::has_polyA_track ( )

Undocumented method

Code:
click to view

◆ mask()

public Bio::EnsEMBL::Utils::PolyA::mask ( )

Undocumented method

Code:
click to view

◆ new()

public Bio::EnsEMBL::Utils::PolyA::new ( )
 
Code:
click to view

The documentation for this class was generated from the following file:
Bio::EnsEMBL::Utils::PolyA::_softmask
protected _softmask()
Bio::EnsEMBL::Utils::PolyA::_find_polyA
protected _find_polyA()
Bio::EnsEMBL::Utils::PolyA::clip
public clip()
Bio::EnsEMBL::Utils::PolyA::_mask
protected _mask()
Bio::EnsEMBL::Utils::PolyA::_clip
protected _clip()
Bio::EnsEMBL::Utils::PolyA::has_polyA_track
public has_polyA_track()
Bio::EnsEMBL::Utils::PolyA
Definition: PolyA.pm:29
Bio::EnsEMBL::Utils::PolyA::mask
public mask()
Bio::EnsEMBL::Utils::PolyA::new
public new()