repo.or.cz
/
GalaxyCodeBases.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
modified: Makefile
[GalaxyCodeBases.git]
/
perl
/
etc
/
WoodyMiaoLin
/
Tiger
/
N_in_scaffold.pl
blob
39a37f672273eca96cf456a8e55585d1b50d6b31
1
#!/usr/bin/perl
2
use
strict
;
3
use
warnings
;
4
5
<>;
6
$/ =
">"
;
7
my
$_
= <>;
8
s/\s//g
;
9
my
@a
=
split
//
;
10
my
$n
;
11
foreach
(
@a
) {
12
++
$n
;
13
if
(!
/N/
) {
14
print
"
$n
\n
"
;
15
}
16
}