Skip to content

Instantly share code, notes, and snippets.

@andrawaag
Created June 1, 2013 09:40
Show Gist options
  • Save andrawaag/5689827 to your computer and use it in GitHub Desktop.
Save andrawaag/5689827 to your computer and use it in GitHub Desktop.
open EXPRESSIONFILE, "N:/FHML_BIGCAT/Bioinformatics/Programming/GeneExpression.txt";
$counter = 0;
while ($line = <FILE>){
@fields = split('\t', $line);
if ($fields[2]<0){
$counter = $counter + 1;
}
}
print $counter;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment