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

Public Member Functions

public void reverse_comp ()
 
public void expand ()
 

Detailed Description

Synopsis

my $seq = 'ACTTTAAAGGCTATCCCAATATG';
print "my sequence = $seq\n";
reverse_comp( \$seq );
print "my reverse comp = $seq\n";
my $compressed_seq = '(AC)3';
print "my expanded seq is = expand($compressed_seq)";

Definition at line 22 of file Sequence.pm.

Member Function Documentation

◆ expand()

public void Bio::EnsEMBL::Utils::Sequence::expand ( )
  Arg [1]    : reference to a string $seqref
  Example    :
@verbatim
$seq = '(AC)3';
expand(\$seq);
print $seq;
@endverbatim
  Description: Expands a genomic sequence. The string is passed by reference
               rather than by value for memory efficiency.
  Returntype : none
  Exceptions : none
  Caller     : SequenceAdaptor, SliceAdaptor
 
Code:
click to view

◆ reverse_comp()

public void Bio::EnsEMBL::Utils::Sequence::reverse_comp ( )
  Arg [1]    : reference to a string $seqref
  Example    :
@verbatim
$seq = 'ACCTGAA';
reverse_comp(\$seq);
print $seq;
@endverbatim
  Description: Does an in place reverse compliment of a passed in string
               reference.  The string is passed by reference
               rather than by value for memory efficiency.
  Returntype : none
  Exceptions : none
  Caller     : SequenceAdaptor, SliceAdaptor
 
Code:
click to view

The documentation for this class was generated from the following file:
Bio::EnsEMBL::Utils::Sequence::expand
public void expand()
Bio::EnsEMBL::Utils::Sequence
Definition: Sequence.pm:22
Bio::EnsEMBL::Utils::Sequence::reverse_comp
public void reverse_comp()