[Bioperl-l] length of hit->description
Antony03
antony.vincent.1 at ulaval.ca
Thu Jul 24 19:08:01 UTC 2014
In fact, for the '500' it is because of this:
Usage : $hit_object->description( [integer] );
Purpose : Set/Get a description string for the hit.
This is parsed out of the "Query=" line as everything after
the first chunk of non-whitespace text. Use $hit->name()
to get the first chunk (the ID of the sequence).
Example : $description = $hit->description;
: $desc_60char = $hit->description(60);
Argument : Integer (optional) indicating the desired length of the
: description string to be returned.
Returns : String consisting of the hit's description or undef if not set.
That you can found here:
http://doc.bioperl.org/releases/bioperl-1.2/Bio/Search/Hit/BlastHit.html
But maybe it is just for blast and not fasta.
--
View this message in context: http://bioperl.996286.n3.nabble.com/length-of-hit-description-tp17596p17601.html
Sent from the Bioperl-L mailing list archive at Nabble.com.
More information about the Bioperl-l
mailing list