This Rust program processes lines from a given bedmethyl input file in parallel and filters them based on certain criteria. It utilizes the Rayon crate for parallel processing.
- Reads lines from a text file.
- Filters lines based on specific criteria.
- Processes lines in parallel using Rayon.
- Outputs the processed lines.
-
Make sure you have Rust and Cargo installed. If not, you can install them from here.
-
Clone this repository:
git clone https://github.com/sirselim/bedmeth2bedgraph
- Navigate to the project directory:
cd bedmeth2bedgraph
- Build the project:
cargo build --release
Run the compiled binary with the path to the input file as a command-line argument. For example:
./target/release/bedmethyl2bedgraph input.txt
Replace input.txt with the path to your input file.
This project is licensed under the MIT License - see the LICENSE file for details.