Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: how to access elements in perl

by BrowserUk (Pope)
on May 05, 2014 at 07:50 UTC ( #1085012=note: print w/ replies, xml ) Need Help??


in reply to Re^2: how to access elements in perl
in thread how to access elements in perl

If we want to calculate G+C

Add $counts{ C } + $counts{ G }.

... and percentage of G+C

Multiply the above sum by 2.


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.


Comment on Re^3: how to access elements in perl
Download Code
Re^4: how to access elements in perl
by grewal7634 (Novice) on May 08, 2014 at 04:42 UTC
    Actually i want to check ATGC , GC COUNT and GC percentage in 0-200, 1-201, 2-202... upto 1000 sequence and if GC percentage is more than 50% then to print that region.
      Actually i want to ...

      Then do so. (Whatever that means?)

      What is stopping you?


      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.
        I am learning perl , so can you give me hint how to do this....

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2014-09-18 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (120 votes), past polls