[Bio] / Sprout / CDMIUtilsTest.pl Repository:
ViewVC logotype

View of /Sprout/CDMIUtilsTest.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (as text) (annotate)
Wed Apr 18 19:30:14 2012 UTC (7 years ago) by parrello
Branch: MAIN
CVS Tags: rast_rel_2014_0729, mgrast_version_3_2, rast_rel_2014_0912, HEAD
Changes since 1.1: +1 -1 lines
Fixed CDMI use to new format.

use strict;
use Bio::KBase::CDMI::CDMIUtils;

my @locStrings = ('NC1007_100+10,NC1007_220+50,NC1007_300+10',
                  'NC_1000_100-50',
                  'kb|17_100-50,kb|18_200+10');
for my $locString (@locStrings) {
    my $location = location_string_to_location($locString);
    my $otherString = location_to_location_string($location);
    if ($otherString ne $locString) {
        die "Failed on $locString to $otherString.\n";
    }
}

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3