SmotifTF

 view release on metacpan or  search on metacpan

lib/SmotifTF/GetSMotifsfromPDB.pm  view on Meta::CPAN

        && defined($end)
        && defined($ressequence)
        && defined($sssequence)
        && defined($ArrayRef_coordchain) )
    {
        die "There was error: arguments for checklength subroutine\n";
       # return;
    }
    my $checklength;

    #count insertions in the start-end range
    my $numinsertions = 0;
    my $InRange       = 0;
    my $rescount      = 0;
    my %CAcoords;
    my $firstresnum = 'NA';
    my $lastresnum  = 'NA';
  PDBLINE: foreach my $line (@$ArrayRef_coordchain) {

        #get the coordinate line info for any ATOM or HETATM record
        next PDBLINE unless ( $line =~ /^(ATOM|HETATM)/ );

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.033 second using v1.00-cache-2.02-grep-82fe00e-cpan-1925d2aa809 )