http://www.perlmonks.org?node_id=1041649


in reply to Re: Reverse Complement
in thread Reverse Complement

Do you have to use STDIN in this case or do I have to store it a file? How did you get your outputs? I run the code and it did not allow any user input.

please two sequences as arguments on the command line. Press any key to continue

what am I missing and why cant I run the code?

Stamp1982

Replies are listed 'Best First'.
Re^3: Reverse Complement
by rjt (Curate) on Jun 30, 2013 at 23:53 UTC

    EDIT: (More of a complete 180, really): I somehow completely missed the fact you already asked the exact same question in Re^2: Reverse Complement and had a lengthy exchange with AnomylousMonk, who was very helpful.

    I actually used the exact same structure (and even used the exact same error messages!) that you provided in the original post. Did you write that code yourself? Anyway, I also gave a direct example of how to run the script. Assuming you saved the script as 1041523.pl (an odd name, to be sure—feel free to choose a better one), type the following:

    perl 1041523.pl GGGGaaaaaaaatttatatat atatataaattttttttcccc

    Of course, substitute any two sequences for the two shown here.