Leser: 4
|< 1 2 >| | 14 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/perl
use warnings;
use strict;
# ein paar hundert zeilen code dazwischen.....
SKIPFRAG: while(.....)
eval {
# extract Primary Structure 1 Letter-Code
$primaryStructureSubStr = substr($primaryStructure1L, $k, $fragmentLength);
# extract quartary structure chain
$quartaryStructureSubStr = substr($quartaryStructureChainS, $k, $fragmentLength);
# create secondary structure substring
$secondaryStructureSubStr = substr($secondaryStructureS, $k, $fragmentLength);
};
if($@) {
print "skipping fragment \n";
$k++;
next SKIPFRAG;
}
print "skipping fragment \n";
local $SIG{_ _WARN_ _} = sub { die $_[0] };
local $SIG{_ _WARN_ _} = sub { die $_[0] };
my ($teilstring) = m/^.{$k}(.{$teilstringlaenge})/ or die;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
undef($@);
eval {
local $SIG{_ _WARN_ _} = sub { die $_[0] };
# extract Primary Structure 1 Letter-Code
$primaryStructureSubStr = substr($primaryStructure1L, $k, $fragmentLength);
# extract quartary structure chain
$quartaryStructureSubStr = substr($quartaryStructureChainS, $k, $fragmentLength);
# create secondary structure substring
$secondaryStructureSubStr = substr($secondaryStructureS, $k, $fragmentLength);
};
if($@) {
print "skipping fragment \n";
$k++;
next SKIPFRAG;
}
undef($@);
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/perl
use warnings;
use strict;
# ----------- viel code--------------
while(bla) {
eval {
no strict 'subs';
local $SIG{_ _WARN_ _} = sub { die $_[0] };
$primaryStructureSubStr = substr($primaryStructure1L, $k, $fragmentLength);
$quartaryStructureSubStr = substr($quartaryStructureChainS, $k, $fragmentLength);
$secondaryStructureSubStr = substr($secondaryStructureS, $k, $fragmentLength);
};
if($@) {
print "skipping fragment \n";
$k++;
next SKIPFRAG;
}
}
|< 1 2 >| | 14 Einträge, 2 Seiten |