ensembl-hive
2.6
|
Public Member Functions | |
public Bio::EnsEMBL::PaddedSlice | new () |
public Int | start () |
public Int | end () |
public Int | length () |
public Scalar | seq () |
public Scalar | subseq () |
public | sub_Slice () |
protected CodeRef | __resolver () |
Public Member Functions inherited from Bio::EnsEMBL::Utils::Proxy | |
public Bio::EnsEMBL::Utils::Proxy | new () |
protected Any | __proxy () |
public Boolean | isa () |
public Code | can () |
public void | DESTROY () |
public void | AUTOLOAD () |
protected | __resolver () |
Used when dumping Slices which represet a portion of the sequence region they map to e.g. the first section of human Y. The code will return N as sequence if an attempt is made to retrieve sequence not covered by the Slice given. This makes the code very memory efficient if sequence dumping is carried out using subseq() calls.
Definition at line 14 of file PaddedSlice.pm.
protected CodeRef Bio::EnsEMBL::PaddedSlice::__resolver | ( | ) |
Description : Delegates all non-overriden actions onto the backing slice Returntype : CodeRef Exceptions : None Caller : public Status : -
public Int Bio::EnsEMBL::PaddedSlice::end | ( | ) |
Example :
@co
de $slice->end();
Description : Always returns the backing slice sequence region length Returntype : Int Exceptions : None Caller : public Status : -
public Int Bio::EnsEMBL::PaddedSlice::length | ( | ) |
public Bio::EnsEMBL::PaddedSlice Bio::EnsEMBL::PaddedSlice::new | ( | ) |
Arg [SLICE] : The Slice to proxy Example :
Description : Provides a new instance of a padded slice Returntype : Bio::EnsEMBL::PaddedSlice Exceptions : None Caller : public Status : -
public Scalar Bio::EnsEMBL::PaddedSlice::seq | ( | ) |
Example :
@co
de my $seq = $slice->seq()
Description : Returns the entire sequence of the backing slice but padded with N's at the beginning and the end of the slice where applicable Returntype : Scalar string Exceptions : None Caller : public Status : -
public Int Bio::EnsEMBL::PaddedSlice::start | ( | ) |
Example :
Description : Always returns 1 since all padded slices start at 1 Returntype : Int Exceptions : None Caller : public Status : -
public Bio::EnsEMBL::PaddedSlice::sub_Slice | ( | ) |
Undocumented method
public Scalar Bio::EnsEMBL::PaddedSlice::subseq | ( | ) |
Arg [1] : Int; start position of the subslice Arg [2] : Int; end position of the subslice Arg [3] : Int; strand of the subslice Example :
@co
de my $subseq = $slice->subseq(1, 1_000_000);
Description : Returns a portion of the sequence padded with N's if required Returntype : Scalar string Exceptions : None Caller : public Status : -
Arg [1] : Int; start position of the subslice Arg [2] : Int; end position of the subslice Arg [3] : Int; strand of the subslice Example :
@co
de my $subseq = $slice->subseq(1, 1_000_000);
Description : Returns a portion of the sequence padded with N's if required Returntype : Scalar string Exceptions : None Caller : public Status : -
/**