gringer / bioinfscripts

Bioinformatics scripts produced over the course of my work. Now maintained on GitLab.
https://gitlab.com/gringer/bioinfscripts
GNU General Public License v3.0
69 stars 15 forks source link

fastx-length.pl #5

Closed sarah872 closed 6 years ago

sarah872 commented 6 years ago

Hey, I am running into errors when executing the following code based on your tutorial:

./fastx-length.pl PRJEB511.WBPS9.genomic.fa |gzip >lengths_Nb_WTSI.txt.gz

Can't locate Digest/MD5.pm in @INC (@INC contains: /apps/perl/5.26.1/lib/perl5/x86_64-linux-thread-multi /apps/perl/5.26.1/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./fastx-length.pl line 7.
BEGIN failed--compilation aborted at ./fastx-length.pl line 7.
gringer commented 6 years ago

Hmm, I assumed that Digest::MD5 would be installed by default because it's on the list of perl core modules. Guess I was wrong about that.

This issue should be fixed by the following commit:

https://github.com/gringer/bioinfscripts/commit/ae325770eaf9efa52c851154fd8c7aabe221cd9f

If not, as a temporary fix, comment out the use Digest::MD5 qw(md5_hex); line.