NCLCONVERTER(1)
π NAME π
Okay bestie, welcome to the NCLCONVERTER(1) manual π It's a User Commands page and I am so obsessed π
NCLconverter is a report of the content of a NEXUS file π¦
π DESCRIPTION π
So NCLconverter reads a file π and writes a report of what's inside it. The report goes to a file prefix you pick with -o, in the output format you pick with -e. Lowkey iconic, honestly β¨
The most common usage is literally just this:
NCLconverter <path to NEXUS file>
πΈ OPTIONS πΈ
-hβ type this on the command line and it shows the help message π-qβ quiets the NCL status messages while files are being read π€«-l<path>β reads a file and treats every line in it as a path to a NEXUS file ποΈ-aβ outputs AltNexus, which means no translation table in trees π¦-xβ do NOT validate internal labels in trees as taxa labels π ββοΈ-Xβ do NOT treat numbers in trees as taxon numbers. Treat them as arbitrary labels instead. This should not be used with NEXUS files π-s<non-negative integer>β controls the NEXUS strictness level π₯- The default level is equivalent to
-s2. - Invoking with
-s3or higher turns some warnings into fatal errors. - Running with
-s1makes the parser accept dangerous constructs. - Running with
-s0makes the parser try every single way to finish parsing the file, warning about very serious errors along the way.
- The default level is equivalent to
Note: when the -s0 strictness level is used and the parser fails to finish, the cause is often an earlier error, not the one in the last message. Keep that in mind, bestie π
-i<number>β sets the length of the interleaved pages to create π-f<format>β specifies the input file format you expect π§-fnexusβ NEXUS (this is also the default) π-faafastaβ amino acid data in fasta π§¬-fdnafastaβ DNA data in fasta π-frnafastaβ RNA data in fasta π
The complete list of format names that can follow the -f flag is:
nexus dnafasta aafasta rnafasta dnaphylip rnaphylip aaphylip
discretephylip dnaphylipinterleaved rnaphylipinterleaved
aaphylipinterleaved discretephylipinterleaved dnarelaxedphylip
rnarelaxedphylip aarelaxedphylip discreterelaxedphylip
dnarelaxedphylipinterleaved rnarelaxedphylipinterleaved
aarelaxedphylipinterleaved discreterelaxedphylipinterleaved
dnaaln rnaaln aaaln phyliptree relaxedphyliptree nexml dnafin
aafin rnafin
-e<format>β specifies the output file format you expect π€-enexusβ "normalized" NEXUS output β¨-efastaβ character data in fasta. This could result in multiple output files π§©-ephylipβ trees and character data in phylip. This could result in multiple output files π³-erelaxedphylipβ trees and character data in relaxed phylip. This could result in multiple output files πΏ-enexmlβ nexml output (this is also the default) π
-o<fn>β specifies the output prefix. An appropriate suffix and extension get added on for you π·οΈ-d<fn>β specifies the single output destination. You can also use-d-to send the output to standard output πΊ
Warning: using this option may result in invalid output, because separate "blocks" of information get concatenated into a single file!
-uβ converts underscores to spaces in formats other than NEXUS π«§-y<filename>β translates to "safe" taxon names and stores the new names as a NEXUS file called<filename>with a TaxaAssociation block. The first taxa block in the association block holds the original names, and the second holds the "safe" names π-Y<filename>β behaves like-y, except a translation file gets produced even if the original names were already "safe" π-z<filename>β uses the NEXUS-formatted file called<filename>with a TaxaAssociation block to restore the original names. It assumes the first taxa block in the TaxaAssociation block holds the original name and the second holds the current name. This is super useful for "undoing" the effects of the-yoption πͺ-jβ suppresses the creation of a NameTranslationFile π
π AUTHOR π
Andreas Tille wrote this manpage for the Debian distribution π§ and it can be used for any other usage of the program π«Ά
That's the whole tea β Stay iconic, bestie π β¨ NCLconverter 2.1.18, January 2016, NCLCONVERTER(1) ππ
π¦ where this page comes from
- debian bookworm: ncl-tools 2.1.21+git20210811.b1213a7-4 Β· GPL-2.0-or-later
- debian trixie: ncl-tools 2.1.21+git20210811.b1213a7-6 Β· GPL-2.0-or-later
- ubuntu jammy: ncl-tools 2.1.21+git20210811.b1213a7-1 Β· GPL-2.0-or-later
- ubuntu noble: ncl-tools 2.1.21+git20210811.b1213a7-5 Β· GPL-2.0-or-later
- ubuntu questing: ncl-tools 2.1.21+git20210811.b1213a7-6
- ubuntu resolute: ncl-tools 2.1.21+git20210811.b1213a7-6build1 Β· GPL-2.0-or-later
- ubuntu stonking: ncl-tools 2.1.21+git20210811.b1213a7-6build1 Β· GPL-2.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms