zcat work around for .Z unzip error on Mac OSX

Trying to use Guillaume’s demul_trim_prep demultiplexing script, but kept getting errors on Mac OSX related to zcat adding an .Z extension one files. Workaround tutorial is here, and below are the commands I ran on Mac Air:

sudo mv /usr/bin/zcat /usr/bin/broken-zcat

sudo ln -s /usr/bin/gzcat /usr/bin/zcat

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: