06 April 2016 3 8K Report

Okay, so I have a template program from Beginning Perl for Bioinformatics, example 4 - 4. However, it works for calculating the reverse complement of a DNA strand given a predetermined DNA sequence in scalar. I want to write the initial DNA sequence with a standard input command from the user because I love the function. I have tried initializing the STDIN function from an array, and then joining it to a scalar. 

@DNA = ;

$DNA = join(' ', @DNA);

I'm new to programming, so I think there is something wrong with my syntax.

Thank you so much!

If you need a template its attached. Also, it would probably be a good idea to activate strict warnings. 

More Adron Ung's questions See All
Similar questions and discussions