cmuts csv¶
Purpose¶
Converting a cmuts HDF5 file into a comma-separated table.
Requires¶
Usage¶
Provide the HDF5 file and redirect the output to a file.
cmuts csv reactivity.h5 > reactivity.csv
Providing a FASTA populates the reference column with the corresponding name.
cmuts csv -f references.fasta reactivity.h5 > reactivity.csv
Input¶
Dataset |
Input |
|---|---|
if present |
|
if present |
|
if present |
|
if present |
|
if present |
|
if present |
|
if present |
|
if present |
|
required |
|
required |
All other datasets in an input are ignored.
Output¶
Each row is one position in one reference. The first three columns identify the position as follows.
Column |
Meaning |
|---|---|
|
the reference number, or the name of the record in the FASTA |
|
the position in the reference, counting from one |
|
the base at that position, taken from the |
Each column after these is one dataset of the input, under the name it has in the format. NaN values are converted to empty fields.
In ragged libraries references are not padded.
CLI Options¶
Arguments¶
Argument |
Description |
|---|---|
|
the cmuts output to convert |
Input¶
Option |
Description |
|---|---|
|
populate the reference field with the names from this file (default: the reference number) |
Information¶
Option |
Description |
|---|---|
|
show this help and exit |
|
show the version and exit |
Advanced¶
Accepted, and left out of --help.
Option |
Description |
|---|---|
|
describe every argument as JSON and exit |
|
describe the input format as JSON and exit |