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 |