Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^5: mismatching characters in dna sequence

by BrowserUk (Patriarch)
on Dec 30, 2011 at 20:42 UTC ( [id://945668]=note: print w/replies, xml ) Need Help??


in reply to Re^4: mismatching characters in dna sequence
in thread mismatching characters in dna sequence

Hm. The first and most obvious problem is you've forgotten my here:

my( $ref, $matches, $query ) = $read->padded_alignment; #...^^

A more subtle potential problem is not having the shebang line as the first line of the file:

# V5: Inline::C #!/opt/local/bin/perl

I don't know what that first line is meant to do, but either delete it or move it below the Inline C code.

Make those two corrections and then see what happens.

You do have a C compiler correctly installed don't 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.

The start of some sanity?

Replies are listed 'Best First'.
Re^6: mismatching characters in dna sequence
by prbndr (Acolyte) on Dec 30, 2011 at 20:58 UTC
    thanks...this is really quick! it was really the missing "my" that did me in. is there a quick way to tabulate all the respective transitions? e.g.
    A:T = 234 A:G = 492 A:C = 273 T:A = 400 ...
    and so on... basically output the total number of each type of transition?
      basically output the total number of each type of transition?

      Per sequence compared, or for all the sequences?


      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?

        for all the sequences

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-24 19:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found