CSV2XML(1)
β¨ csv2xml β the XMLify girlies π
ok so this is the page for the NCBI Entrez Direct User's Manual crew, and bestie, it's a whole family of little converter tools. Let me introduce you to the squad:
csv2xmlfsa2xmlgbf2refgbf2xmlini2xmljson2xmlscn2xmltbl2xmltoml2xmlyaml2xml
collectively known as XMLify. no cap, that's literally what the manpage calls them. π
π SYNOPSIS π
csv2xml|scn2xml|tbl2xml [-set tag] [-rec tag] [-skip N] [-header]
[-lower|-upper] [-indent|-flush] columnName1 ...
fsa2xml
gbf2ref
gbf2xml
ini2xml
json2xml [-set tag] [-rec tag]
[-nest flat|recurse|plural|singular|depth|element]
toml2xml
yaml2xml
ok so the tea here is that csv2xml, scn2xml, and tbl2xml all share the same options and they take a list of columnName1 ... arguments. json2xml gets its own special little set of flags (it's giving main character energy, honestly). and the rest of them? they take no options at all. they just are. π
π DESCRIPTION π
So here's the vibe: every single one of these commands is just a lil wrapper that invokes a corresponding mode of transmute(1). They each read a stream of data from standard input, convert it to XML that's suitable for -path navigation, and write the result out to standard output. Periodt.
Let's go one by one, bestie:
csv2xmlβ corresponds totransmute -c2x, converting comma-separated values to XML. πfsa2xmlβ corresponds totransmute -f2x, converting FASTA streams to XML. π§¬gbf2refβ corresponds totransmute -g2r, converting from GenBank/GenPept flatfile format to Reference Index XML.gbf2xmlβ corresponds totransmute -g2x, converting from GenBank/GenPept flatfile format to INSDSeq XML.ini2xmlβ corresponds totransmute -i2x, converting from.iniconfiguration file format to XML.json2xmlβ corresponds totransmute -j2x, converting JSON to XML. β¨scn2xmlβ corresponds totransmute -s2x, converting a semicolon-delimited table to XML.tbl2xmlβ corresponds totransmute -t2x, converting a tab-delimited table to XML.toml2xmlβ corresponds totransmute -m2x, converting from TOML format to XML.yaml2xmlβ corresponds totransmute -y2x, converting from YAML format to XML.
and there's also an analogous asn2xml wrapper that corresponds to transmute -a2x (that one converts text ASN.1 to XML, iconic of it). BUT β and this is the plot twist β on Debian systems it gets installed to /usr/lib/ncbi-entrez-direct/bin so it doesn't start beef with the ncbi-tools-bin package's asn2xml(1). two queens can't share the same throne, iykyk. π
π OPTIONS π
See transmute(1).
that's it. that's the whole options section. the real menu lives over at transmute(1), so go read that one too, bestie. π«Ά
πΈ SEE ALSO πΈ
asn2ref(1)download-flatfile(1)gbf2facds(1)gbf2fsa(1)gbf2info(1)gbf2tbl(1)gene2range(1)gff2xml(1)jsonl2xml(1)ref2pmid(1)refseq-nm-cds(1)transmute(1)xml2fsa(1)xml2tbl(1)xtract(1)
ok that's the whole page, bestie!! π this one's brought to you by NCBI, dated 2025-05-26 β mwah, go XMLify something gorgeous β¨π¦
π¦ where this page comes from
- debian trixie: ncbi-entrez-direct 24.0.20250523+dfsg-1+b1 Β· PD
- ubuntu questing: ncbi-entrez-direct 24.0.20250523+dfsg-1
- ubuntu resolute: ncbi-entrez-direct 24.0.20250523+dfsg-2 Β· PD
- ubuntu stonking: ncbi-entrez-direct 24.0.20250523+dfsg-2 Β· PD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms