rwdavies / STITCH

STITCH - Sequencing To Imputation Through Constructing Haplotypes
http://www.nature.com/ng/journal/v48/n8/abs/ng.3594.html
GNU General Public License v3.0
76 stars 17 forks source link

error about 1.6.1 #27

Closed Zilong-Li closed 5 years ago

Zilong-Li commented 5 years ago

Hey Robbie,

Recently I want to test the performance of latest STITCH. It seems that the 1.6.2 version has not been released on github yet, though the README shows a guide to wget it. So I downloaded the 1.6.1 version and run some tests. Here is a error.

Error in data.table::fread(cmd = command, colClasses = colClasses, sep = " ",  :
  unused argument (cmd = command)
Calls: STITCH ... extract_validate_and_load_haplotypes -> <Anonymous>
Execution halted

I checked that the version of data.table on my server is 1.11.4. Is it a bug of data.table or of STITCH?

rwdavies commented 5 years ago

Shoot, I forgot to put the new version online before I went on holiday. One sec

rwdavies commented 5 years ago

OK, I've pushed the new version (sorry about that! I had it on my todo list. Now, to bioconda)

The error above seems like a data.table problem, the "cmd" option only came in later versions of data.table. However this should no longer be a problem in the latest release as I wrote a native R + cpp haplotype file ingester. Let me know if it sorts it for you?

Zilong-Li commented 5 years ago

The latest version works and starts to do EM ! Thank u.