[Bioperl-l] Problem or Bug with Bio::

Jason Stajich jason at cgt.duhs.duke.edu
Fri Nov 14 14:06:30 EST 2003


FASTA format has different meanings
AlignIO fasta means Multiple sequence alignment FASTA like this
>seq1
AGATAG-GATGA
>seq2
AGATAGTGA-GA

If you want to parse FASTA (pairwise) search output use
Bio::SearchIO


On Fri, 14 Nov 2003 hyupaik at indiana.edu wrote:

>
>
> #! /local/bin/perl -w
>
> use strict;
> use lib '/home/hy1001/bin';
>
> use Bio::SimpleAlign;
> use Bio::AlignIO;
>
>
> my $in = Bio::AlignIO->new('-file' => 'fastaResult',
>                          '-format' => 'fasta');
> my $aln = $in->next_aln();
>
> my $out = new Bio::AlignIO('-file' => '>testout.fasta',
>                          '-format' => 'fasta');
> $out->write_aln($aln);
>
>
>
>
>
>
> >>crab_chick/1-462
> initninitoptZ-score.bits.E.Smith-Watermanscore.identity.unga
> ppedinaaoverlap--crabaMDITIHNPLIRRPLFSWLAPSRIFDQIFGEHLQESELL
> PASPSLSPFLMRSPIFRMPSWL....crabcMDITIHNPLVRRPLFSWLTPSRIFDQIFG
> EHLQESELLPTSPSLSPFLMRSPFFRMPSWLcrabaETGLSEMRLEKDKFSVNLDVKHFS
> PEELKVKVLGDMVEIHGKHEERQDEHGFIAREFNRK..crabcETGLSEMRLEKDKFSVN
> LDVKHFSPEELKVKVLGDMIEIHGKHEERQDEHGFIAREFSRKcrabaYRIPADVDPLTI
> TSSLSLDGVLTVSAPRKQSDVPERSIPITREEKPAIAGAQRK.crabcYRIPADVDPLTI
> TSSLSLDGVLTVSAPRKQSDVPERSIPITREEKPAIAGSQRK
> >>crab_bovin/1-628
> initninitoptZ-score.bits.E.Smith-Watermanscore.identity.unga
> ppedinaaoverlap--crabaMDITIHNPLIRRPLFSWLAPSRIFDQIFGEHLQESELL
> PASPSLSPFLMRSPIF-RMPSW..........crabbMDIAIHHPWIRRPFFPFHSPSRL
> FDQFFGEHLLESDLFPASTSLSPFYLRPPSFLRAPSWcrabaLETGLSEMRLEKDKFSVN
> LDVKHFSPEELKVKVLGDMVEIHGKHEERQDEHGFIAREFNR........crabbIDTGL
> SEMRLEKDRFSVNLDVKHFSPEELKVKVLGDVIEVHGKHEERQDEHGFISREFHRcraba
> KYRIPADVDPLTITSSLSLDGVLTVSAPRKQSDVPERSIPITREEKPAIAGAQRK.....
> ....crabbKYRIPADVDPLAITSSLSSDGVLTVNGPRKQASGPERTIPITREEKPAVT
> AAPKKresiduesinquerysequencesresiduesinlibrarysequencesScomp
> libtstartFriNovdoneFriNovTotalScantime.TotalDisplaytime.Func
> tionusedwasFASTAversion.tNov
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>

--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu


More information about the Bioperl-l mailing list