Skip to main content
. 2018 Apr 20;14(5):64. doi: 10.1007/s11306-018-1356-6

Table 2.

Common patterns for using the ‘mwtab’ as a command-line tool

Command Description Example
convert Convert between ‘mwTab’ and its JSON representation $ python3 -m mwtab convert AN000001.txt AN000001.json \
 --from_format=mwtab --to_format=json
$ python3 -m mwtab convert AN000001.json AN000001.txt \
 --from_format=json --to_format=mwtab
validate Validate file(s) $ python3 -m mwtab validate AN000001.txt
$ python3 -m mwtab validate AN000001.json