We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4e524f commit ba9f855Copy full SHA for ba9f855
categories/rosalind/mprt-grondilu.pl
@@ -42,11 +42,11 @@ ($input-file = Nil)
42
my $fasta = $fasta-name.IO.e
43
?? $fasta-name.IO.slurp
44
!! qqx{wget -O - -q "http://www.uniprot.org/uniprot/$id.fasta"};
45
- given join '', grep /^ <.alpha>+ $/, $fasta.split: "\n" {
46
- if $N-glycosylation {
+ given join '', grep /^ <.alpha>+ $/, $fasta.lines {
+ when $N-glycosylation {
47
say $id;
48
- my @arr = gather for m:overlap/$N-glycosylation/ { take .from + 1}
49
- say "{@arr}"
+ my @arr = gather for m:overlap/$N-glycosylation/ { take .from + 1}
+ say "{@arr}"
50
}
51
52
0 commit comments