Skip to main content

Table 1 Seahawk data rule format: regular expressions. Complete rules file, containing one regular expression rule for creating a basic MOBY-S NCBI Global Identifier record from a string, such as "gi"122354" or "GI:636353". Captured groups from the regex can be used to populate the MOBY-S Object fields using the standard Perl and Java syntax ($1, $2, etc.).

From: Seahawk: moving beyond HTML in Web-based bioinformatics analysis

<?xml version="1.0"?>
      <regex>(?:GI|gi) [:|](\ d+)</regex>
         <ns value="NCBI_gi">$1</ns>