[Bio] / Sprout / Sapling.pm Repository:
ViewVC logotype

Diff of /Sprout/Sapling.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21, Tue Sep 8 21:30:33 2009 UTC revision 1.22, Thu Oct 29 18:31:48 2009 UTC
# Line 1144  Line 1144 
1144  gene identifiers, or C<LocusTag> for locus tags. In addition, you may specify  gene identifiers, or C<LocusTag> for locus tags. In addition, you may specify
1145  C<RefSeq>, C<CMR>, C<NCBI>, C<Trembl>, or C<UniProt> for IDs from those databases.  C<RefSeq>, C<CMR>, C<NCBI>, C<Trembl>, or C<UniProt> for IDs from those databases.
1146  Use C<mixed> to allow mixed ID types (though this may cause problems when the same  Use C<mixed> to allow mixed ID types (though this may cause problems when the same
1147  ID has different meanings in different databases). The default is C<SEED>.  ID has different meanings in different databases). Use C<prefixed> to allow IDs with
1148    prefixing indicating the ID type (e.g. C<uni|P00934> for a UniProt ID, C<gi|135813> for
1149    an NCBI identifier, and so forth). The default is C<SEED>.
1150    
1151  =item RETURN  =item RETURN
1152    
# Line 1170  Line 1172 
1172          # Here we're processing mixed IDs of unknown type.          # Here we're processing mixed IDs of unknown type.
1173          $objects = 'Identifier Identifies Feature';          $objects = 'Identifier Identifies Feature';
1174          $filter = 'Identifier(natural-form) = ?';          $filter = 'Identifier(natural-form) = ?';
1175        } elsif ($source eq 'prefixed') {
1176            # Here we're processing mixed IDs with prefixes. This is the internal form
1177            # of the ID.
1178            $objects = 'Identifier Identifies Feature';
1179            $filter = 'Identifier(id) = ?';
1180      } else {      } else {
1181          # Here we're processing a fixed ID type from an external database.          # Here we're processing a fixed ID type from an external database.
1182          # This is the case that requires an additional parameter. Note that          # This is the case that requires an additional parameter. Note that

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3