Accessor methods for Bio::SeqIO
Hello All,
I need some help.
I am trying to use Bio::SeqIO. How can I know what accessor functions does this module have like for example:
my $seqin = Bio::SeqIO->new(-file => "myfile.fa", -format => "fasta");
my $seqout = Bio::SeqIO->new(-file => ">myfile_100.fa", -format => "fasta");
while(my $seq = $seqin->next_seq) {
if($seq->length <= 100) {
$seqout->write_seq($seq);
}
}
or for example $seq->desc
Is there a way to know what all methods each bio perl module may have? If so what is the right command? Is there a general command to be used on any bio perl module to find this out?
Thanks, Yaseen
• 2,327 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Edited your post for clarity of the code block, you can use the
101010button to do the same ;)Thank you for editing. What is 101010 button and is it for code formatting? When can I use that?
When you write a reply you have a button bar to change the appearance of your text, including bold, italics, links. It's right above the text box and includes a
101010button. Select the code, click the101010button and the code will be formatted. Alternatively, you can add the indentation yourself but this is more convenient.Thank you very much. Thats very helpfiul.