bug-datamash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-datamash] Datamash for Windows - datamash-1.3-no-locale-64bit.exe


From: Ted Marynicz
Subject: [Bug-datamash] Datamash for Windows - datamash-1.3-no-locale-64bit.exe
Date: Tue, 27 Nov 2018 14:14:01 +0000

Downloaded from
http://mirror.netcologne.de/savannah/datamash/windows-binaries/datamash-1.3-no-locale-64bit.exe

Appears to contain several bugs.

1. Running the examples with genes.txt
=============================

C:\>datamash -s -g 13 count 2 < genes.txt
'LC_ALL' is not recognized as an internal or external command,
operable program or batch file.
datamash: read error (on close)

C:\>datamash -s -g 13 count 2 collapse 2 < genes.txt
'LC_ALL' is not recognized as an internal or external command,
operable program or batch file.
datamash: read error (on close)

C:\>datamash -H -s -g 13 count 2 collapse 2 < genes_h.txt
GroupBy(name2)  count(name)     collapse(name)
'LC_ALL' is not recognized as an internal or external command,
operable program or batch file.
datamash: read error (on close)


2. Transpose does not work correctly
===========================

C:\>type input.txt
Sample   Year   Count
id-123   2014   1002
id-99    2013    990
id-42    2014   2030
id-13    2014    599

C:\>datamash transpose < input.txt
Sample   Year   Count   id-123   2014   1002    id-99    2013    990    id-42
 2014   2030    id-13    2014    599

C:\>type input1.txt
Sample  Year    Count
id-123  2014    1002
id-99   2013
id-42   2014    2030
id-13   2014    599

C:\>datamash transpose < input1.txt
Sample  Year    Count   id-123  2014    1002    id-99   2013    id-42   2014
2030    id-13   2014    599

C:\>datamash --no-strict transpose < input1.txt
Sample  Year    Count   id-123  2014    1002    id-99   2013    id-42   2014
2030    id-13   2014    599

C:\>datamash --no-strict --filler XYZ transpose < input1.txt
Sample  Year    Count   id-123  2014    1002    id-99   2013    id-42   2014
2030    id-13   2014    599

3. Reverse does not work
==================
C:\>type input.txt
Sample   Year   Count
id-123   2014   1002
id-99    2013    990
id-42    2014   2030
id-13    2014    599

C:\>datamash reverse < input.txt
Sample   Year   Count
id-123   2014   1002
id-99    2013    990
id-42    2014   2030
id-13    2014    599


Regards

Ted Marynicz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]