Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed md5sum command in compute_sequence_statistics.pl #60

Merged
merged 1 commit into from

1 participant

Jared Bischof
Jared Bischof

No description provided.

Jared Bischof jaredbischof merged commit 25d2e70 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 1 deletion.
  1. +3 −1 bin/compute_sequence_statistics.pl
4 bin/compute_sequence_statistics.pl
View
@@ -107,7 +107,9 @@
push @stats, "sequence_content\t$seq_content";
# md5sum
- my $file_md5 = `md5sum '$dir/$file'` =~ /^(\S+)/;
+ my $file_md5 = `md5sum '$dir/$file'`;
+ chomp $file_md5;
+ $file_md5 =~ s/^(\S+).*/$1/;
push @stats, "file_checksum\t$file_md5";
# tech guess
Something went wrong with that request. Please try again.