Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: DNA Reverse Complement

by jkahn (Friar)
on Sep 14, 2002 at 05:12 UTC ( #197795=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub revdnacomp {
      # my $dna = @_;  
    ...
      $revcomp =~ tr/ACGTacgt/TGCAtgca/;
      return $revcomp;
    }
    
  2. or download this
    sub revcompl { # operates on all elements passed in
      my (@dna) = @_;
    ...
      }
      return @done; # or reverse @done;  # what's best semantics?
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-12-27 21:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls