here you go, this complete your script. you have the right idea.
if ($ARGV[0] eq undef )
{
print "You must pass the gene as a command-line parameter!\n";
}
else
{
$geneToFind=$ARGV[0];
#print "Gene to find: $geneToFind\n";
while ( <hFile> )
{...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.