Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Avg qual score by position

by silver_steve (Initiate)
on Jan 30, 2012 at 17:07 UTC ( #950813=perlquestion: print w/ replies, xml ) Need Help??
silver_steve has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks, I have a .qual file, and I would like to find out the average score for each position across all sequences. For instance, if I have 10 sequences, each 100 bp, what is the average qual score of the values at each index across all sequences? My strategy is to split the scores by index into their own separate arrays, and then take the average of each array. I know there may be modules in Bio::Seq that can help with this, but I am not familiar enough with those yet to use them effectively. Does anyone know if it is necessary to use a module, and if so, are there any existing ones that can help with this? Thank you!

Comment on Avg qual score by position
Re: Avg qual score by position
by BrowserUk (Pope) on Jan 30, 2012 at 17:14 UTC

    See .qual File Writing Complication for some related info.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://950813]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2014-07-25 20:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls