2 package CXGN
::Blast
::SeqQuery
::Plugin
::ProteinSequence
;
9 return "protein sequence";
17 return "VHYNLFKMNGFHHTEIWDRHESFECSSVGSEESHSLEGGEKLYHDPSTEGQKEAGPKSELTSGVKSLDRCLSNPRSLGEIPASYEISEYE
18 HLIEQEMRWLKANYQIKLRELKDQHLGLPPKASKPPTGSSKRKKKTKNKNSCLETLLKSSDCGKTISSESNGLSCPISVSQRARKCEAIK
19 GSPNVRDMVSSAKSFFTRTLLPNSLHRTTSLPVDAVDI";
28 my $s = Bio
::Seq
->new(-seq
=> $input);
30 if ($s->seq() !~ /^[ACDEFGHIKLMNPQRSTVWYX\n\s\t]$/i) {
31 $c->stash->{rest
} = { error
=> "Protein sequence contains illegal characters: ".($s->id)};
36 $c->stash->{rest
} = {error
=> "The sequence does not seem to be a legal protein sequence.", };
48 return ">Untitled Sequence\n$sequence\n";