| 1 |
.TH CSV2XML 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual" |
| 2 |
.SH NAME |
| 3 |
csv2xml,fsa2xml,gbf2ref,gbf2xml,ini2xml,json2xml,scn2xml,tbl2xml,toml2xml,yaml2xml \- XMLify |
| 4 |
.SH SYNOPSIS |
| 5 |
\fBcsv2xml\fP|\fBscn2xml\fP|\fBtbl2xml\fP |
| 6 |
[\|\fB\-set\fP\ \fItag\fP\|] |
| 7 |
[\|\fB\-rec\fP\ \fItag\fP\|] |
| 8 |
[\|\fB\-skip\fP\ \fIN\fP\|] |
| 9 |
[\|\fB\-header\fP] |
| 10 |
[\|\fB\-lower\fP|\fB\-upper\fP\|] |
| 11 |
[\|\fB\-indent\fP|\fB\-flush\fP\|] |
| 12 |
\fIcolumnName1\fP\ ... |
| 13 |
|
| 14 |
\fBfsa2xml\fP |
| 15 |
|
| 16 |
\fBgbf2ref\fP |
| 17 |
|
| 18 |
\fBgbf2xml\fP |
| 19 |
|
| 20 |
\fBini2xml\fP |
| 21 |
|
| 22 |
\fBjson2xml\fP |
| 23 |
[\|\fB\-set\fP\ \fItag\fP\|] |
| 24 |
[\|\fB\-rec\fP\ \fItag\fP\|] |
| 25 |
[\|\fB\-nest\fP\ \fBflat\fP|\fBrecurse\fP|\fBplural\fP\ |
| 26 |
|\fBsingular\fP|\fBdepth\fP|\fBelement\fP\|] |
| 27 |
|
| 28 |
\fBtoml2xml\fP |
| 29 |
|
| 30 |
\fByaml2xml\fP |
| 31 |
.SH DESCRIPTION |
| 32 |
These commands all simply invoke |
| 33 |
corresponding \fBtransmute\fP(1) modes; |
| 34 |
each reads a stream of data from standard input, |
| 35 |
converts it to XML suitable for \fB\-path\fP navigation, |
| 36 |
and writes the result to standard output. |
| 37 |
Specifically: |
| 38 |
|
| 39 |
.TP 10 |
| 40 |
\fBcsv2xml\fP |
| 41 |
corresponds to \fBtransmute \-c2x\fP, |
| 42 |
converting comma\-separated values to XML. |
| 43 |
.TP 10 |
| 44 |
\fBfsa2xml\fP |
| 45 |
corresponds to \fBtransmute \-f2x\fP, |
| 46 |
converting FASTA streams to XML. |
| 47 |
.TP 10 |
| 48 |
\fBgbf2ref\fP |
| 49 |
corresponds to \fBtransmute \-g2r\fP, |
| 50 |
converting from GenBank/GenPept flatfile format to Reference Index XML. |
| 51 |
.TP 10 |
| 52 |
\fBgbf2xml\fP |
| 53 |
corresponds to \fBtransmute \-g2x\fP, |
| 54 |
converting from GenBank/GenPept flatfile format to INSDSeq XML. |
| 55 |
.TP 10 |
| 56 |
\fBini2xml\fP |
| 57 |
corresponds to \fBtransmute \-i2x\fP, |
| 58 |
converting from \fB.ini\fP configuration file format to XML. |
| 59 |
.TP 10 |
| 60 |
\fBjson2xml\fP |
| 61 |
corresponds to \fBtransmute \-j2x\fP, |
| 62 |
converting JSON to XML. |
| 63 |
.TP 10 |
| 64 |
\fBscn2xml\fP |
| 65 |
corresponds to \fBtransmute \-s2x\fP, |
| 66 |
converting a semicolon\-delimited table to XML. |
| 67 |
.TP 10 |
| 68 |
\fBtbl2xml\fP |
| 69 |
corresponds to \fBtransmute \-t2x\fP, |
| 70 |
converting a tab\-delimited table to XML. |
| 71 |
.TP 10 |
| 72 |
\fBtoml2xml\fP |
| 73 |
corresponds to \fBtransmute \-m2x\fP, |
| 74 |
converting from TOML format to XML. |
| 75 |
.TP 10 |
| 76 |
\fByaml2xml\fP |
| 77 |
corresponds to \fBtransmute \-y2x\fP, |
| 78 |
converting from YAML format to XML. |
| 79 |
.P |
| 80 |
There is also an analogous \fBasn2xml\fP wrapper corresponding to |
| 81 |
\fBtransmute \-a2x\fP (converting text ASN.1 to XML), |
| 82 |
but Debian systems install it to |
| 83 |
\fB/usr/lib/ncbi\-entrez\-direct/bin\fP to avoid conflicting with |
| 84 |
the \fBncbi\-tools\-bin\fP package's \fBasn2xml\fP(1). |
| 85 |
.SH OPTIONS |
| 86 |
See \fBtransmute\fP(1). |
| 87 |
.SH SEE ALSO |
| 88 |
.BR asn2ref (1), |
| 89 |
.BR download\-flatfile (1), |
| 90 |
.BR gbf2facds (1), |
| 91 |
.BR gbf2fsa (1), |
| 92 |
.BR gbf2info (1), |
| 93 |
.BR gbf2tbl (1), |
| 94 |
.BR gene2range (1), |
| 95 |
.BR gff2xml (1), |
| 96 |
.BR jsonl2xml(1), |
| 97 |
.BR ref2pmid (1), |
| 98 |
.BR refseq\-nm\-cds (1), |
| 99 |
.BR transmute (1), |
| 100 |
.BR xml2fsa (1), |
| 101 |
.BR xml2tbl (1), |
| 102 |
.BR xtract (1). |