python-nexus | python-nexus - Generic nexus

 by   dlce-eva Python Version: 2.9.0 License: BSD-2-Clause

kandi X-RAY | python-nexus Summary

kandi X-RAY | python-nexus Summary

python-nexus is a Python library. python-nexus has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install python-nexus' or download it from GitHub, PyPI.

python-nexus provides simple nexus file-format reading/writing tools, and a small collection of nexus manipulation scripts. Note: Due to a name clash with another python package, this package must be installed as pip install python-nexus but imported as import nexus.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              python-nexus has a low active ecosystem.
              It has 11 star(s) with 3 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 20 have been closed. On average issues are closed in 214 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of python-nexus is 2.9.0

            kandi-Quality Quality

              python-nexus has no bugs reported.

            kandi-Security Security

              python-nexus has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              python-nexus is licensed under the BSD-2-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              python-nexus releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed python-nexus and discovered the below as its top functions. This is intended to give you an instant insight into python-nexus implemented functionality, and help decide if they suit your requirements.
            • Construct a NexusReader from a file
            • Set the block attributes
            • Iterate over blocks
            • Returns a sequence of blocks from a file
            • Run the tests
            • Get a Nexus reader object
            • Write output to file
            • Combine nexus blocks
            • Register the nexus parser
            • Add output to the given parser
            • Add Nexus command line options
            • Write to file
            • Write the block
            • Generate the code block
            • Iterate over lines
            • Yields formatted lines
            • Verify that the character has the correct count
            • Parse character state block
            • Main entry point
            • Decorator to wrap a nexus reader
            Get all kandi verified functions for this library.

            python-nexus Key Features

            No Key Features are available at this moment for python-nexus.

            python-nexus Examples and Code Snippets

            python-nexus,Usage,Block Handlers:
            Pythondot img1Lines of Code : 74dot img1License : Permissive (BSD-2-Clause)
            copy iconCopy
            n.blockname.block
            ['line1', 'line2', ... ]
            
            #NEXUS 
            
            Begin data;
            Dimensions ntax=4 nchar=2;
            Format datatype=standard symbols="01" gap=-;
                Matrix
            Harry              00
            Simon              01
            Betty              10
            Louise             11
                ;
            End;
            
            be  
            python-nexus,Usage,Writing a Nexus File using NexusWriter
            Pythondot img2Lines of Code : 18dot img2License : Permissive (BSD-2-Clause)
            copy iconCopy
            >>> from nexus import NexusWriter
            >>> n = NexusWriter()
            >>> #Add a comment to appear in the header of the file
            >>> n.add_comment("I am a comment")
            
            >>> n.add('taxon1', 'Character1', 'A')
            >>> n.dat  
            python-nexus,Usage,Python API
            Pythondot img3Lines of Code : 18dot img3License : Permissive (BSD-2-Clause)
            copy iconCopy
            >>> from nexus import NexusReader
            >>> n = NexusReader.from_file('tests/examples/example.nex')
            
            >>> n = NexusReader.from_string('#NEXUS\n\nbegin foo; ... end;')
            
            >>> n.blocks
            {'foo': }
            >>> n = NexusReader('  

            Community Discussions

            No Community Discussions are available at this moment for python-nexus.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install python-nexus

            You can install using 'pip install python-nexus' or download it from GitHub, PyPI.
            You can use python-nexus like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install python-nexus

          • CLONE
          • HTTPS

            https://github.com/dlce-eva/python-nexus.git

          • CLI

            gh repo clone dlce-eva/python-nexus

          • sshUrl

            git@github.com:dlce-eva/python-nexus.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link