| 1 |
.TH TRANSMUTE 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual" |
| 2 |
.SH NAME |
| 3 |
transmute \- transform data, particularly within NCBI Entrez Direct |
| 4 |
.SH SYNOPSIS |
| 5 |
\fBtransmute\fP \fB\-x2p\fP|\fB\-j2p\fP|\fB\-f2p\fP |
| 6 |
|
| 7 |
\fBtransmute\fP \fB\-align\fP |
| 8 |
[\|\fB\-a\ \fIcodes\fP\|] |
| 9 |
[\|\fB\-g\ \fIN\fP\|] |
| 10 |
[\|\fB\-h\ \fIN\fP\|] |
| 11 |
[\|\fB\-w\ \fIN\fP\|] |
| 12 |
|
| 13 |
\fBtransmute\fP \fB\-j2x\fP (\fBjson2xml\fP) |
| 14 |
[\|\fB\-set\fP\ \fItag\fP\|] |
| 15 |
[\|\fB\-rec\fP\ \fItag\fP\|] |
| 16 |
[\|\fB\-nest\fP\ \fBflat\fP|\fBrecurse\fP|\fBplural\fP\ |
| 17 |
|\fBsingular\fP|\fBdepth\fP|\fBelement\fP\|] |
| 18 |
|
| 19 |
\fBtransmute\fP \fB\-a2x\fP |
| 20 |
[\|\fB\-set\fP\ \fItag\fP\|] |
| 21 |
[\|\fB\-rec\fP\ \fItag\fP\|] |
| 22 |
|
| 23 |
\fBtransmute\fP \fB\-t2x\fP|\fB\-c2x\fP|\fB\-s2x\fP |
| 24 |
(\fBtbl2xml\fP / \fBcsv2xml\fP / \fBscn2xml\fP) |
| 25 |
[\|\fB\-set\fP\ \fItag\fP\|] |
| 26 |
[\|\fB\-rec\fP\ \fItag\fP\|] |
| 27 |
[\|\fB\-skip\fP\ \fIN\fP\|] |
| 28 |
[\|\fB\-header\fP] |
| 29 |
[\|\fB\-lower\fP|\fB\-upper\fP\|] |
| 30 |
[\|\fB\-indent\fP|\fB\-flush\fP\|] |
| 31 |
\fIcolumnName1\fP\ ... |
| 32 |
|
| 33 |
\fBtransmute\fP \fB\-i2x\fP (\fBini2xml\fP) |
| 34 |
|
| 35 |
\fBtransmute\fP \fB\-m2x\fP (\fBtoml2xml\fP) |
| 36 |
|
| 37 |
\fBtransmute\fP \fB\-y2x\fP (\fByaml2xml\fP) |
| 38 |
|
| 39 |
\fBtransmute\fP \fB\-txf\fP (\fBfilter\-record\fP) |
| 40 |
[\|\fB\-pattern\fP\ \fIstr\fP\|] |
| 41 |
[\|\fB\-exclude\fP\ \fIstr\fP\|] |
| 42 |
[\|\fB\-require\fP\ \fIstr\fP\|] |
| 43 |
[\|\fB\-min\fP\ \fIN\fP\|] |
| 44 |
[\|\fB\-max\fP\ \fIN\fP\|] |
| 45 |
|
| 46 |
\fBtransmute\fP \fB\-f2x\fP (\fBfsa2xml\fP) |
| 47 |
|
| 48 |
\fBtransmute\fP \fB\-g2x\fP (\fBgbf2xml\fP) |
| 49 |
|
| 50 |
\fBtransmute\fP \fB\-g2r\fP (\fBgbf2ref\fP) |
| 51 |
|
| 52 |
\fBtransmute\fP \fB\-r2p\fP (\fBref2pmid\fP) |
| 53 |
[\|\fB\-options\fP |
| 54 |
\fBconfirm\fP|\fBverbose\fP|\fBfast\fP|\fBslow\fP|\fBexact\fP ...\|] |
| 55 |
|
| 56 |
\fBtransmute\fP \fB\-gbf\fP (\fBfilter\-genbank\fP) |
| 57 |
[\|\fB\-accession\fP\ \fIacc\fP|\fB\-accessions\fP\ \fIfile\fP\|] |
| 58 |
[\|\fB\-taxid\fP\ \fIid\fP|\:\fB\-taxids\fP\ \fIfile\fP\|] |
| 59 |
[\|\fB\-organism\fP\ \fIname\fP\|] |
| 60 |
[\|\fB\-exclude\fP\ \fIstr\fP\|] |
| 61 |
[\|\fB\-require\fP\ \fIstr\fP\|] |
| 62 |
[\|\fB\-truncate\fP] |
| 63 |
|
| 64 |
\fBtransmute\fP \fB\-revcomp\fP |
| 65 |
|
| 66 |
\fBtransmute\fP \fB\-remove\fP |
| 67 |
[\|\fB\-first\fP\ \fIN\fP\|] |
| 68 |
[\|\fB\-last\fP\ \fIN\fP\|] |
| 69 |
|
| 70 |
\fBtransmute\fP \fB\-retain\fP |
| 71 |
\fB\-leading\fP\ \fIN\fP\|\fB\-trailing\fP\ \fIN\fP |
| 72 |
|
| 73 |
\fBtransmute\fP \fB\-replace\fP |
| 74 |
\fB\-offset\fP\ \fIN\fP|\fB\-column\fP\ \fIN\fP |
| 75 |
[\|\fB\-delete\fP\ \fIN\fP\|] |
| 76 |
[\|\fB\-insert\fP\ \fIseq\fP\|] |
| 77 |
[\|\fB\-lower\fP\|] |
| 78 |
|
| 79 |
\fBtransmute\fP \fB\-extract\fP |
| 80 |
[\|\fB\-1\-based\fP|\fB\-0\-based\fP\|] |
| 81 |
[\|\fB\-lower\fP\|] |
| 82 |
\fIfeat_loc\fP |
| 83 |
|
| 84 |
\fBtransmute\fP \fB\-cds2prot\fP |
| 85 |
[\|\fB\-gcode\fP\ \fIN\fP\|] |
| 86 |
[\|\fB\-frame\fP\ \fIN\fP|\fB\-all\fP\|] |
| 87 |
[\|\fB\-stop\fP\|] |
| 88 |
[\|\fB\-trim\fP\|] |
| 89 |
[\|\fB\-part5\fP\|] |
| 90 |
[\|\fB\-part3\fP\|] |
| 91 |
[\|\fB\-every\fP\|] |
| 92 |
[\|\fB\-between\fP\ \fIstr\fP\|] |
| 93 |
[\|\fB\-circular\fP\|] |
| 94 |
[\|\fB\-orf\fP\|] |
| 95 |
[\|\fB\-max\fP\ \fIN\fP\|] |
| 96 |
|
| 97 |
\fBtransmute\fP \fB\-molwt\fP |
| 98 |
[\|\fB\-met\fP|\fB\-fmet\fP\|] |
| 99 |
|
| 100 |
\fBtransmute\fP \fB\-hgvs\fP |
| 101 |
|
| 102 |
\fBtransmute\fP \fB\-counts\fP |
| 103 |
|
| 104 |
\fBtransmute\fP \fB\-diff\fP |
| 105 |
|
| 106 |
\fBtransmute\fP \fB\-codons\fP |
| 107 |
\fB\-nuc\fP\ \fIseq\fP |
| 108 |
\fB\-prot\fP\ \fIseq\fP |
| 109 |
[\|\fB\-frame\fP\ \fIN\fP\|] |
| 110 |
[\|\fB\-three\fP\|] |
| 111 |
|
| 112 |
\fBtransmute\fP \fB\-search\fP |
| 113 |
[\|\fB\-protein\fP\|] |
| 114 |
[\|\fB\-circular\fP\|] |
| 115 |
[\|\fB\-top\fP\|] |
| 116 |
\fIpattern\fP\ ... |
| 117 |
|
| 118 |
\fBtransmute\fP \fB\-find\fP |
| 119 |
[\|\fB\-relaxed\fP\|] |
| 120 |
[\|\fB\-sensitive\fP\|] |
| 121 |
[\|\fB\-whole\fP\|] |
| 122 |
\fIpattern\fP\ ... |
| 123 |
|
| 124 |
\fBtransmute\fP \fB\-encodeXML\fP|\fB\-decodeXML\fP|\fB\-plainXML\fP |
| 125 |
|
| 126 |
\fBtransmute\fP \fB\-encodeURL\fP|\fB\-decodeURL\fP |
| 127 |
|
| 128 |
\fBtransmute\fP \fB\-encode64\fP|\fB\-decode64\fP |
| 129 |
|
| 130 |
\fBtransmute\fP \fB\-plain\fP |
| 131 |
|
| 132 |
\fBtransmute\fP \fB\-upper\fP|\fB\-lower\fP |
| 133 |
|
| 134 |
\fBtransmute\fP \fB\-aa1to3\fP|\fB\-aa3to1\fP |
| 135 |
|
| 136 |
\fBtransmute\fP \fB\-relax\fP |
| 137 |
|
| 138 |
\fBtransmute\fP \fB\-format\fP\ [\|\fIfmt\fP\|] |
| 139 |
[\|\fB\-xml\fP\ \fIdeclaration\fP\|] |
| 140 |
[\|\fB\-doctype\fP\ \fIdeclaration\fP\|] |
| 141 |
[\|\fB\-comment\fP\|] |
| 142 |
[\|\fB\-cdata\fP\|] |
| 143 |
[\|\fB\-combine\fP\|] |
| 144 |
[\|\fB\-self\fP\|] |
| 145 |
[\|\fB\-unicode\fP\ \fIstyle\fP\|] |
| 146 |
[\|\fB\-script\fP\ \fIstyle\fP\|] |
| 147 |
[\|\fB\-mathml\ terse\fP\|] |
| 148 |
|
| 149 |
\fBtransmute\fP \fB\-filter\fP \fIelement\fP \fIaction\fP \fItarget\fP |
| 150 |
|
| 151 |
\fBtransmute\fP \fB\-normalize\fP \fIdatabase\fP |
| 152 |
.SH DESCRIPTION |
| 153 |
\fBtransmute\fP reads data from standard input, |
| 154 |
transforms it according to the specified mode, |
| 155 |
and writes the transformed data to standard output. |
| 156 |
.SH OPTIONS |
| 157 |
.SS Pretty\-Printing |
| 158 |
.TP |
| 159 |
\fB\-x2p\fP |
| 160 |
Reformat XML. |
| 161 |
.TP |
| 162 |
\fB\-j2p\fP |
| 163 |
Reformat JSON. |
| 164 |
.TP |
| 165 |
\fB\-f2p\fP |
| 166 |
Reformat FASTA. |
| 167 |
.TP |
| 168 |
\fB\-align\fP |
| 169 |
Table column alignment. |
| 170 |
.PD 0 |
| 171 |
.RS |
| 172 |
.IP "\fB\-a\fP \fIcodes\fP" 9 |
| 173 |
Column alignment codes: |
| 174 |
.RS |
| 175 |
.IP \fBl\fP |
| 176 |
Left. |
| 177 |
.IP \fBc\fP |
| 178 |
Center. |
| 179 |
.IP \fBr\fP |
| 180 |
Right. |
| 181 |
.IP \fBn\fP |
| 182 |
Numeric align on decimal point. |
| 183 |
.IP \fBN\fP |
| 184 |
Trailing zero\-pad decimals. |
| 185 |
.IP \fBz\fP |
| 186 |
Leading zero\-pad integers. |
| 187 |
.IP \fBm\fP |
| 188 |
Commas to group by 3 digits. |
| 189 |
.IP \fBM\fP |
| 190 |
Commas plus zero\-pad decimals. |
| 191 |
.IP \fBw\fP |
| 192 |
Just print colum widths. |
| 193 |
.RE |
| 194 |
.IP "\fB\-g\fP \fIN\fP" 9 |
| 195 |
Spacing between columns. |
| 196 |
.IP "\fB\-h\fP \fIN\fP" 9 |
| 197 |
Indentation before columns. |
| 198 |
.IP "\fB\-w\fP \fIN\fP" 9 |
| 199 |
Minimum column width. |
| 200 |
.RE |
| 201 |
.PD |
| 202 |
.SS Data Conversion |
| 203 |
.TP |
| 204 |
\fB\-j2x\fP |
| 205 |
Convert JSON stream to XML suitable for \fB\-path\fP navigation. |
| 206 |
.PD 0 |
| 207 |
.RS |
| 208 |
.TP |
| 209 |
\fB\-set\fP\ \fItag\fP |
| 210 |
Replace set wrapper tag. |
| 211 |
.TP |
| 212 |
\fB\-rec\fP\ \fItag\fP |
| 213 |
Replace record wrapper tag. |
| 214 |
.TP |
| 215 |
\fB\-nest\fP \ |
| 216 |
\fBflat\fP|\fBrecurse\fP|\fBplural\fP|\fBsingular\fP|\fBdepth\fP|\fBelement\fP |
| 217 |
Nested array naming policy. |
| 218 |
.RE |
| 219 |
.PD |
| 220 |
.TP |
| 221 |
\fB\-a2x\fP |
| 222 |
Convert text ASN.1 stream to XML suitable for \fB\-path\fP navigation. |
| 223 |
.PD 0 |
| 224 |
.RS |
| 225 |
.IP \fB\-set\fP\ \fItag\fP 10 |
| 226 |
Replace set wrapper tag. |
| 227 |
.IP \fB\-rec\fP\ \fItag\fP 10 |
| 228 |
Replace record wrapper tag. |
| 229 |
.RE |
| 230 |
.PD |
| 231 |
.TP |
| 232 |
\fB\-t2x\fP, \fB\-c2x\fP, \fB\-s2x\fP |
| 233 |
Convert tab\-delimited table, comma\-separated values file, |
| 234 |
or semicolon\-delimited table, |
| 235 |
respectively, to XML. |
| 236 |
.PD 0 |
| 237 |
.RS |
| 238 |
.IP \fB\-set\fP\ \fItag\fP 16 |
| 239 |
Replace set wrapper tag. |
| 240 |
.IP \fB\-rec\fP\ \fItag\fP 16 |
| 241 |
Replace record wrapper tag. |
| 242 |
.IP \fB\-skip\fP\ \fIN\fP 16 |
| 243 |
Skip the first \fIN\fP lines. |
| 244 |
.IP \fB\-header\fP 16 |
| 245 |
Use fields from first row for column names. |
| 246 |
.IP \fB\-lower\fP 16 |
| 247 |
Convert text to lowercase. |
| 248 |
.IP \fB\-upper\fP 16 |
| 249 |
Convert text to uppercase. |
| 250 |
.IP \fB\-indent\fP 16 |
| 251 |
Indent XML output. |
| 252 |
.IP \fB\-flush\fP 16 |
| 253 |
Do not indent XML output. |
| 254 |
.IP \fIcolumnName1\fP\ ... 16 |
| 255 |
XML object names per column. |
| 256 |
.RE |
| 257 |
.PD |
| 258 |
.TP |
| 259 |
\fB\-i2x\fP |
| 260 |
Convert \fB.ini\fP configuration file format to XML. |
| 261 |
.TP |
| 262 |
\fB\-m2x\fP |
| 263 |
Convert TOML configuration file format to XML. |
| 264 |
.TP |
| 265 |
\fB\-y2x\fP |
| 266 |
Convert YAML configuration file format to XML. |
| 267 |
.TP |
| 268 |
\fB\-txf\fP |
| 269 |
Text file filtering. |
| 270 |
.PD 0 |
| 271 |
.RS |
| 272 |
.IP \fB\-pattern\fP\ \fIstr\fP 15 |
| 273 |
Pattern at start of record. |
| 274 |
.IP \fB\-exclude\fP\ \fIstr\fP 15 |
| 275 |
Reject if string is present. |
| 276 |
.IP \fB\-require\fP\ \fIstr\fP 15 |
| 277 |
Require presence of string. |
| 278 |
.IP \fB\-min\fP\ \fIN\fP 15 |
| 279 |
Minimum record number. |
| 280 |
.IP \fB\-max\fP\ \fIN\fP 15 |
| 281 |
Maximum record number. |
| 282 |
.RE |
| 283 |
.PD |
| 284 |
.TP |
| 285 |
\fB\-f2x\fP |
| 286 |
Convert a FASTA stream to corresponding XML. |
| 287 |
.TP |
| 288 |
\fB\-g2x\fP |
| 289 |
Convert GenBank/GenPept flatfile format to INSDSeq XML. |
| 290 |
.TP |
| 291 |
\fB\-g2r\fP |
| 292 |
Convert GenBank/GenPept flatfile format to Reference XML. |
| 293 |
.TP |
| 294 |
\fB\-r2p\fP [\|\fB\-options\fP \fIoption\fP ...\|] |
| 295 |
Reference Index XML lookup to find PMIDs. |
| 296 |
Supported \fIoption\fP values: |
| 297 |
.PD 0 |
| 298 |
.RS |
| 299 |
.TP 10 |
| 300 |
\fBconfirm\fP |
| 301 |
Recheck existing PMID claims. |
| 302 |
.TP 10 |
| 303 |
\fBverbose\fP |
| 304 |
Add \fBNOTE\fP nodes explaining reasoning. |
| 305 |
.TP 10 |
| 306 |
\fBfast\fP |
| 307 |
Prefilter candidates relatively heavily (default). |
| 308 |
.TP 10 |
| 309 |
\fBslow\fP |
| 310 |
Prefilter candidates less heavily. |
| 311 |
.TP 10 |
| 312 |
\fBexact\fP |
| 313 |
Require exact, unique title matches. |
| 314 |
.RE |
| 315 |
.PD |
| 316 |
.TP |
| 317 |
\fB\-gbf\fP |
| 318 |
GenBank/GenPept filtering. |
| 319 |
.PD 0 |
| 320 |
.RS |
| 321 |
.IP \fB\-accession\fP\ \fIacc\fP 20 |
| 322 |
Single accession. |
| 323 |
.IP \fB\-accessions\fP\ \fIfile\fP 20 |
| 324 |
File of accessions. |
| 325 |
.IP \fB\-taxid\fP\ \fIid\fP 20 |
| 326 |
Single taxon identifier. |
| 327 |
.IP \fB\-taxids\fP\ \fIfile\fP 20 |
| 328 |
File of taxon identifiers. |
| 329 |
.IP \fB\-organism\fP\ \fIname\fP 20 |
| 330 |
Organism scientific name. |
| 331 |
.IP \fB\-exclude\fP\ \fIstr\fP 20 |
| 332 |
Reject if string is present. |
| 333 |
.IP \fB\-require\fP\ \fIstr\fP 20 |
| 334 |
Require presence of string. |
| 335 |
.IP \fB\-truncate\fP 20 |
| 336 |
Remove features and sequence. |
| 337 |
.RE |
| 338 |
.PD |
| 339 |
.SS Sequence Editing |
| 340 |
.TP 10 |
| 341 |
\fB\-revcomp\fP |
| 342 |
Reverse complement nucleotide sequence. |
| 343 |
.TP 10 |
| 344 |
\fB\-remove\fP |
| 345 |
Trim at ends of sequence. |
| 346 |
.PD 0 |
| 347 |
.RS |
| 348 |
.TP 15 |
| 349 |
\fB\-first\fP\ \fIN\fP |
| 350 |
Delete first \fIN\fP bases or residues. |
| 351 |
.TP 15 |
| 352 |
\fB\-last\fP\ \fIN\fP |
| 353 |
Delete last \fIN\fP bases or residues. |
| 354 |
.RE |
| 355 |
.PD |
| 356 |
.TP 10 |
| 357 |
\fB\-retain\fP |
| 358 |
Save either end of sequence. |
| 359 |
.PD 0 |
| 360 |
.RS |
| 361 |
.TP 15 |
| 362 |
\fB\-leading\fP\ \fIN\fP |
| 363 |
Keep first \fIN\fP bases or residues. |
| 364 |
.TP 15 |
| 365 |
\fB\-trailing\fP\ \fIN\fP |
| 366 |
Keep last \fIN\fP bases or residues. |
| 367 |
.RE |
| 368 |
.PD |
| 369 |
.TP 10 |
| 370 |
\fB\-replace\fP |
| 371 |
Apply base or residue substition. |
| 372 |
.PD 0 |
| 373 |
.RS |
| 374 |
.TP 15 |
| 375 |
\fB\-offset\fP\ \fIN\fP |
| 376 |
Skip ahead by 0\-based count (SPDI), or |
| 377 |
.TP 15 |
| 378 |
\fB\-column\fP\ \fIN\fP |
| 379 |
Move just before 1\-based position (HGVS). |
| 380 |
.TP 15 |
| 381 |
\fB\-delete\fP\ \fIN\fP |
| 382 |
Delete \fIN\fP bases or residues. |
| 383 |
.TP |
| 384 |
\fB\-insert\fP\ \fIseq\fP |
| 385 |
Insert given sequence. |
| 386 |
.TP |
| 387 |
\fB\-lower\fP |
| 388 |
Lower\-case original sequence. |
| 389 |
.RE |
| 390 |
.PD |
| 391 |
.TP 10 |
| 392 |
\fB\-extract\fP |
| 393 |
Use \fBxtract \-insd\fP ... \fBfeat_location\fP instructions. |
| 394 |
.PD 0 |
| 395 |
.RS |
| 396 |
.TP 10 |
| 397 |
\fB\-1\-based\fP |
| 398 |
GenBank feat_location convention. |
| 399 |
.TP 10 |
| 400 |
\fB\-0\-based\fP |
| 401 |
Alignment, or \fB\-insd\fP feat_intervals. |
| 402 |
.TP 10 |
| 403 |
\fB\-lower\fP |
| 404 |
Lower\-case extracted sequence. |
| 405 |
.TP 10 |
| 406 |
\fIfeat\_loc\fP |
| 407 |
Feature location. |
| 408 |
.RE |
| 409 |
.PD |
| 410 |
.SS Sequence Processing |
| 411 |
.TP 10 |
| 412 |
\fB\-cds2prot\fP |
| 413 |
Translate coding region into protein. |
| 414 |
.PD 0 |
| 415 |
.RS |
| 416 |
.TP 15 |
| 417 |
\fB\-gcode\fP\ \fIN\fP |
| 418 |
Genetic code (\fB1\fP by default). |
| 419 |
.TP 15 |
| 420 |
\fB\-frame\fP\ \fIN\fP |
| 421 |
Offset in sequence (0\-based). |
| 422 |
.TP 15 |
| 423 |
\fB\-stop\fP |
| 424 |
Include stop residue. |
| 425 |
.TP 15 |
| 426 |
\fB\-trim\fP |
| 427 |
Remove trailing \fBX\fPs and \fB*\fPs. |
| 428 |
.TP 15 |
| 429 |
\fB\-part5\fP |
| 430 |
CDS partial at 5' end. |
| 431 |
.TP 15 |
| 432 |
\fB\-part3\fP |
| 433 |
CDS extends past 3' end. |
| 434 |
.TP |
| 435 |
\fB\-every\fP |
| 436 |
Translate all codons. |
| 437 |
.TP 15 |
| 438 |
\fB\-between\fP\ \fIstr\fP |
| 439 |
Optional string between residues. |
| 440 |
.TP 15 |
| 441 |
\fB\-all\fP |
| 442 |
Simultaneous six\-frame translations. |
| 443 |
.TP 15 |
| 444 |
\fB\-circular\fP |
| 445 |
Reprocess first two priming bases at end. |
| 446 |
.TP 15 |
| 447 |
\fB\-orf\fP |
| 448 |
Only capitalize residues at start states. |
| 449 |
.TP 15 |
| 450 |
\fB\-max\fP\ \fIN\fP |
| 451 |
Number of residues per line. |
| 452 |
.RE |
| 453 |
.PD |
| 454 |
.TP 10 |
| 455 |
\fB\-molwt\fP |
| 456 |
Calculate molecular weight of peptide. |
| 457 |
.PD 0 |
| 458 |
.RS |
| 459 |
.TP 10 |
| 460 |
\fB\-met\fP |
| 461 |
Do not cleave leading methionine. |
| 462 |
.TP 10 |
| 463 |
\fB\-fmet\fP |
| 464 |
Retain leading formyl\-methionine. |
| 465 |
.RE |
| 466 |
.PD |
| 467 |
.SS Variation Processing |
| 468 |
.TP |
| 469 |
\fB\-hgvs\fP |
| 470 |
Convert Human Genome Variation Society variation format to XML. |
| 471 |
.SS Sequence Comparison |
| 472 |
.TP 10 |
| 473 |
\fB\-counts\fP |
| 474 |
Print summary of base or residue counts. |
| 475 |
.TP 10 |
| 476 |
\fB\-diff\fP |
| 477 |
Compare two aligned files for point differences. |
| 478 |
.TP 10 |
| 479 |
\fB\-codons\fP |
| 480 |
Display nucleotide codons above amino acid residues. |
| 481 |
.PD 0 |
| 482 |
.RS |
| 483 |
.TP 15 |
| 484 |
\fB\-nuc\fP\ \fIseq\fP |
| 485 |
Nucleotide sequence. |
| 486 |
.TP 15 |
| 487 |
\fB\-prot\fP\ \fIseq\fP |
| 488 |
Protein sequence. |
| 489 |
.TP 15 |
| 490 |
[\|\fB\-frame\fP\ \fIN\fP\|] |
| 491 |
Offset in nucleotide sequence. |
| 492 |
.TP 15 |
| 493 |
[\|\fB\-three\fP\|] |
| 494 |
Use three\-letter residue abbreviations. |
| 495 |
.RE |
| 496 |
.PD |
| 497 |
.SS Sequence Searching |
| 498 |
.TP 10 |
| 499 |
\fB\-search\fP |
| 500 |
Search for one or more patterns in a sequence, |
| 501 |
skipping any FASTA definition line (with a leading \fB>\fP). |
| 502 |
Each pattern can have an optional alias, |
| 503 |
\fIe.g.\fP, \fBGGATCC:BamHI\fP. |
| 504 |
.PD 0 |
| 505 |
.RS |
| 506 |
.TP 10 |
| 507 |
\fB\-protein\fP |
| 508 |
Do not expand nucleotide ambiguity characters. |
| 509 |
.TP 10 |
| 510 |
\fB\-circular\fP |
| 511 |
Match patterns spanning the origin of a circular molecule. |
| 512 |
.TP 10 |
| 513 |
\fB\-top\fP |
| 514 |
Do not search reverse complements of non\-palindromic patterns. |
| 515 |
.TP 10 |
| 516 |
\fIpattern\fP |
| 517 |
Pattern to search for. |
| 518 |
.RE |
| 519 |
.PD |
| 520 |
.SS Text Searching |
| 521 |
.TP 10 |
| 522 |
\fB\-find\fP |
| 523 |
Find one or more patterns in text, |
| 524 |
allowing digits, spaces, punctuation, and phrases, |
| 525 |
\fIe.g.\fP, \fB"double, double toil and trouble"\fP. |
| 526 |
.PD 0 |
| 527 |
.RS |
| 528 |
.TP 15 |
| 529 |
\fB\-relaxed\fP |
| 530 |
Match on words with letters and digits, |
| 531 |
ignoring spacing and punctuation. |
| 532 |
.TP 15 |
| 533 |
\fB\-sensitive\fP |
| 534 |
Case\-sensitive match, distinguishing upper\-case and lower\-case letters. |
| 535 |
.TP 15 |
| 536 |
\fB\-whole\fP |
| 537 |
Match on whole words or multi\-word phrases; implies \fB\-relaxed\fP. |
| 538 |
.TP 15 |
| 539 |
\fIpattern\fP |
| 540 |
Pattern to search for. |
| 541 |
.RE |
| 542 |
.PD |
| 543 |
.SS String Transformations |
| 544 |
.SS " XML" |
| 545 |
.TP 12 |
| 546 |
\fB\-encodeXML\fP |
| 547 |
XML\-encode \fB<\fP, \fB>\fP, \fB&\fP, |
| 548 |
\fB\(dq\fP, and \fB\[aq]\fP characters. |
| 549 |
.TP 12 |
| 550 |
\fB\-decodeXML\fP |
| 551 |
Decode XML entity references. |
| 552 |
.TP 12 |
| 553 |
\fB\-plainXML\fP |
| 554 |
Remove embedded mixed\-content tags and compress runs of spaces. |
| 555 |
.SS " URL" |
| 556 |
.TP 12 |
| 557 |
\fB\-encodeURL\fP |
| 558 |
Compress runs of spaces, and URI\-escape the result. |
| 559 |
.TP 12 |
| 560 |
\fB\-decodeURL\fP |
| 561 |
URI\-unescape the input. |
| 562 |
.SS " Base64" |
| 563 |
.TP 12 |
| 564 |
\fB\-encode64\fP |
| 565 |
Base64\-encode the input. |
| 566 |
.TP 12 |
| 567 |
\fB\-decode64\fP |
| 568 |
Base64\-decode the input. |
| 569 |
.SS " Accent" |
| 570 |
.TP 9 |
| 571 |
\fB\-plain\fP |
| 572 |
Strip accents from the input. |
| 573 |
.SS " Case" |
| 574 |
.TP 9 |
| 575 |
\fB\-upper\fP |
| 576 |
Convert the input to uppercase. |
| 577 |
.TP 9 |
| 578 |
\fB\-lower\fP |
| 579 |
Convert the input to lowercase. |
| 580 |
.SS Protein |
| 581 |
.TP 9 |
| 582 |
\fB\-aa1to3\fP |
| 583 |
Convert amino acids from 1\-character to 3\-character format. |
| 584 |
.TP 9 |
| 585 |
\fB\-aa3to1\fP |
| 586 |
Convert amino acids from 3\-character to 1\-character format. |
| 587 |
.SS Letters plus Digits |
| 588 |
.TP |
| 589 |
\fB\-relax\fP |
| 590 |
Remove all punctuation and compress whitespace. |
| 591 |
.SS Customized XML Reformatting |
| 592 |
.TP |
| 593 |
\fB\-format\fP\ [\|\fIfmt\fP\|] |
| 594 |
.PD 0 |
| 595 |
.RS |
| 596 |
.IP \fBcompact\fP 9 |
| 597 |
Compress runs of spaces. |
| 598 |
.IP \fBflush\fP 9 |
| 599 |
Suppress line indentation. |
| 600 |
.IP \fBindent\fP 9 |
| 601 |
Indent according to nesting depth. |
| 602 |
.IP \fBexpand\fP 9 |
| 603 |
Place each attribute on a separate line. |
| 604 |
|
| 605 |
.TP |
| 606 |
\fB\-xml\fP\ \fIdeclaration\fP |
| 607 |
Use the given XML declaration. |
| 608 |
.TP |
| 609 |
\fB\-doctype\fP\ \fIdeclaration\fP |
| 610 |
Use the given document type declaration. |
| 611 |
.TP |
| 612 |
\fB\-comment\fP |
| 613 |
Preserve comments. |
| 614 |
.TP |
| 615 |
\fB\-cdata\fP |
| 616 |
Preserve \fBcdata\fP blocks. |
| 617 |
.TP |
| 618 |
\fB\-combine\fP |
| 619 |
If the input contains multiple top\-level documents, |
| 620 |
combine them. |
| 621 |
.TP |
| 622 |
\fB\-self\fP |
| 623 |
Keep empty self\-closing tags. |
| 624 |
.TP |
| 625 |
\fB\-unicode\fP\ \fIstyle\fP |
| 626 |
How to handle Unicode superscript and subscript digits |
| 627 |
(first converted to ASCII form in all cases). |
| 628 |
.\".PD 0 |
| 629 |
.RS |
| 630 |
.IP \fBfuse\fP 9 |
| 631 |
Run them all together, with no additional markup. |
| 632 |
.IP \fBspace\fP 9 |
| 633 |
Add spaces between digits in different positions. |
| 634 |
.IP \fBperiod\fP 9 |
| 635 |
Add periods between digits in different positions. |
| 636 |
.IP \fBbrackets\fP 9 |
| 637 |
Surround superscripts by square brackets and subscripts by parentheses. |
| 638 |
.IP \fBmarkdown\fP 9 |
| 639 |
Surround superscripts with carets and subscripts with tildes. |
| 640 |
.IP \fBslash\fP 9 |
| 641 |
Add backslashes when going up in height |
| 642 |
and forward slashes when going down. |
| 643 |
.IP \fBtag\fP 9 |
| 644 |
Put superscripts in XML \fBsup\fP elements |
| 645 |
and subscripts in \fBsub\fP elements. |
| 646 |
.RE |
| 647 |
.\".PD |
| 648 |
.TP |
| 649 |
\fB\-script\fP\ \fIstyle\fP |
| 650 |
How to handle XML \fBsup\fP and \fBsub\fP elements |
| 651 |
(denoting superscripts and subscripts, respectively). |
| 652 |
.\".PD 0 |
| 653 |
.RS |
| 654 |
.IP \fBbrackets\fP 9 |
| 655 |
Surround superscripts by square brackets and subscripts by parentheses. |
| 656 |
.IP \fBmarkdown\fP 9 |
| 657 |
Surround superscripts with carets and subscripts with tildes. |
| 658 |
.RE |
| 659 |
.\".PD |
| 660 |
.TP |
| 661 |
\fB\-mathml\ terse\fP |
| 662 |
Flatten MathML markup tersely. |
| 663 |
.RE |
| 664 |
.PD |
| 665 |
.SS XML Modification |
| 666 |
.TP |
| 667 |
\fB\-filter\fP\ \fIelement\fP \fIaction\fP\ \fItarget\fP |
| 668 |
Actions: |
| 669 |
.PD 0 |
| 670 |
.RS |
| 671 |
.IP \fBretain\fP 12 |
| 672 |
Keep matching elements (no\-op). |
| 673 |
.IP \fBremove\fP 12 |
| 674 |
Remove matching elements. |
| 675 |
.IP \fBencode\fP 12 |
| 676 |
HTML\-escape special characters. |
| 677 |
.IP \fBdecode\fP 12 |
| 678 |
Decode HTML escapes. |
| 679 |
.IP \fBshrink\fP 12 |
| 680 |
Compress runs of spaces. |
| 681 |
.IP \fBexpand\fP 12 |
| 682 |
Place each attribute on a separate line. |
| 683 |
.IP \fBaccent\fP 12 |
| 684 |
Strip off Unicode accents. |
| 685 |
.PD |
| 686 |
.P |
| 687 |
Targets: |
| 688 |
.PD 0 |
| 689 |
.IP \fBcontent\fP 12 |
| 690 |
Plain\-text content. |
| 691 |
.IP \fBcdata\fP 12 |
| 692 |
\fBCDATA\fP blocks. |
| 693 |
.IP \fBcomment\fP 12 |
| 694 |
Comments. |
| 695 |
.IP \fBobject\fP 12 |
| 696 |
The whole object. |
| 697 |
.IP \fBattributes\fP 12 |
| 698 |
Attributes. |
| 699 |
.IP \fBcontainer\fP 12 |
| 700 |
Start and end tags. |
| 701 |
.RE |
| 702 |
.PD |
| 703 |
.SS EFetch XML Normalization |
| 704 |
.TP |
| 705 |
\fB\-normalize\fP\ \fIdatabase\fP |
| 706 |
Adjust XML fields to conform to common conventions. |
| 707 |
.SH SEE ALSO |
| 708 |
.BR align\-columns (1), |
| 709 |
.BR blst2tkns (1), |
| 710 |
.BR bsmp2info (1), |
| 711 |
.BR cit2pmid (1), |
| 712 |
.BR csv2xml (1), |
| 713 |
.BR disambiguate\-nucleotides (1), |
| 714 |
.BR download\-flatfile (1), |
| 715 |
.BR download\-pubmed (1), |
| 716 |
.BR ds2pme (1), |
| 717 |
.BR efetch (1), |
| 718 |
.BR filter\-columns (1), |
| 719 |
.BR filter\-genbank (1), |
| 720 |
.BR gbf2info (1), |
| 721 |
.BR gbf2tbl (1), |
| 722 |
.BR gff2xml (1), |
| 723 |
.BR gff\-sort (1), |
| 724 |
.BR jsonl2xml (1), |
| 725 |
.BR pma2apa (1), |
| 726 |
.BR pma2pme (1), |
| 727 |
.BR pmc2bioc (1), |
| 728 |
.BR pmc2info (1), |
| 729 |
.BR print\-columns (1), |
| 730 |
.BR ref2pmid (1), |
| 731 |
.BR snp2tbl (1), |
| 732 |
.BR sort\-table (1), |
| 733 |
.BR spdi2tbl (1), |
| 734 |
.BR systematic\-mutations (1), |
| 735 |
.BR tbl2prod (1), |
| 736 |
.BR uniq\-table (1), |
| 737 |
.BR xml2fsa (1), |
| 738 |
.BR xml2tbl (1), |
| 739 |
.BR xfetch (1), |
| 740 |
.BR xtract (1). |