Contributing
We welcome contributions to Binx! Here’s how to get started.
Development Setup
Prerequisites
- Rust toolchain (1.70+)
- Git
Clone and Build
git clone https://github.com/alex-sandercock/Binx.git
cd Binx
cargo build
Run Tests
cargo test
Run with Debug Output
RUST_LOG=debug cargo run -- gwas --help
Code Style
- Follow Rust conventions
- Run
cargo fmtbefore committing - Run
cargo clippyto check for issues
Making Changes
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Make your changes
- Add tests
- Run tests:
cargo test - Commit:
git commit -m "Add my feature" - Push:
git push origin feature/my-feature - Open a Pull Request
Areas to Contribute
- Documentation improvements
- New genetic models
- Performance optimizations
- Additional output formats
- Bug fixes
Reporting Issues
When reporting bugs, include:
- Binx version (
binx --version) - Operating system
- Minimal reproducible example
- Expected vs actual behavior
License
Contributions are licensed under GPL-3.0.
Contact
- GitHub Issues: alex-sandercock/Binx