Installing the command-line executable
Assuming you have Rust/Cargo installed , run this command in a terminal:
cargo install nexus2fa
It will make the nexus2fa command available in your PATH if you've allowed the PATH to be modified when installing Rust . cargo uninstall nexus2fa uninstalls.
Back to the crate overview .
Readme
nexus2fa
decided to make this because the other tools could not convert my .nex to .fa
Usage
Binary
Usage: nexus2fa - n/ - - nexus < NEXUS > - f/ - - fasta < FASTA >
Arguments:
- n, - - nexus < NEXUS > : NEXUS file
- f, - - fasta < FASTA > : FASTA file
Options:
- - help: print help
- - version: print version
Build
to build nexus2fa from this repo, do:
get rust
run git clone https://github.com/alejandrogzi/nexus2fa.git && cd nexus2fa
run cargo run -- release -- -n < NEXUS> - f < FASTA>