Tibor Nagy > Bio-DOOP-DOOP-1.02 > Bio::DOOP::Util::Filt

Download:
Bio-DOOP-DOOP-1.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.2   Source   Latest Release: Bio-DOOP-DOOP-1.04

NAME ^

  Bio::DOOP::Util::Filt - filter a cluster list.

VERSION ^

  Version 0.2

SYNOPSIS ^

  use Bio::DOOP::DOOP;

  @list = ("81001020","81001110","81001200","80100006");
  $db   = Bio::DOOP::DBSQL->connect("username","passwd","doop-chordate-1_4","localhost");
  $filt = Bio::DOOP::Util::Filt->new_by_list($db,\@list,500);

  @res = @{$filt->filt_by_goid("0046872")};
  for(@res){
    print $_->get_cluster_id,"\n";
  }

DESCRIPTION ^

  This object filters a clusterlist. It is useful to find a smaller cluster set from a
  large mofext or fuzznuc search result.

AUTHORS ^

  Tibor Nagy, Godollo, Hungary and Endre Sebestyen, Martonvasar, Hungary

METHODS ^

new

  Create new Filter object from Cluster object array.

new_by_list

  Create new Filter class from cluster id array.

new_by_id

  Create new Filter class from cluster primary id array.

filt_by_goid

  @filtered = @{$filt->filt_by_goid("0006523")};

  Filter the cluster list by GO id.
syntax highlighting: