@@ -314,74 +314,3 @@ There is rudimentary support for handling trees e.g.:
314314
315315 n.trees.append("tree tree1 = (a,b,c);")
316316 n.trees.append("tree tree2 = (a,b,c);")
317-
318-
319-
320- # Nexus manipulation scripts included
321-
322- ## nexus_combine_nexus.py
323-
324- Combines a series of nexuses into one nexus ('combined.nex').
325-
326- Usage: python nexus_combine_nexus.py filename1.nex filename2.nex ... filenameN.nex
327-
328- ## nexus_deinterleave.py
329-
330- Converts an interleaved nexus to a simple nexus.
331-
332- Usage: python nexus_deinterleave.py oldnexus.nex newnexus.nex
333-
334- ## nexus_detranslate.py
335-
336- Converts a nexus tree file with 'translated' taxa labels to a detranslated form.
337-
338- Usage: python nexus_detranslate.py oldnexus.trees newnexus.trees
339-
340- ## nexus_randomise.py
341-
342- Randomly shuffles the character states between taxa in a nexus file.
343-
344- Usage: python nexus_randomise.py oldnexus.nex randomised.nex
345-
346- ## nexus_treemanip.py
347-
348- Provides a number of functions for manipulating trees.
349-
350- Usage: python nexus_treemanip.py [ option] oldnexus.trees newnexus.trees
351-
352- Deleting trees:
353- nexus_treemanip.py -d 1 oldnexus.trees newnexus.trees - delete tree #1
354- nexus_treemanip.py -d 1-5 oldnexus.trees newnexus.trees - delete trees #1 -5
355- nexus_treemanip.py -d 1,5 oldnexus.trees newnexus.trees - delete trees #1 and #5
356- nexus_treemanip.py -d 1,4,20-30 oldnexus.trees newnexus.trees - delete trees #1 , #4 , #20 -30
357-
358- Resampling trees:
359- nexus_treemanip.py -r 10 oldnexus.trees newnexus.trees - resample every 10th tree
360-
361- Remove comments:
362- nexus_treemanip.py -c oldnexus.trees newnexus.trees
363-
364- Sampling N Random trees:
365- nexus_treemanip.py -n 100 oldnexus.trees newnexus.trees - randomly sample 100 trees.
366-
367-
368- ## nexus_nexusmanip.py
369-
370- Provides a number of functions for manipulating nexus character files.
371-
372- Usage: python nexus_nexusmanip.py [ option] oldnexus.nex [ newnexus.nex]
373-
374- Count missing characters:
375- Usage: python nexus_nexusmanip.py -m oldnexus.nex
376-
377- Remove constant characters:
378- Usage: python nexus_nexusmanip.py -c oldnexus.nex newnexus.nex
379-
380- Remove the unique characters:
381- Usage: python nexus_nexusmanip.py -u oldnexus.nex newnexus.nex
382-
383-
384- ## nexinfo.py
385-
386- Displays quick information about the nexus file loaded.
387-
0 commit comments