Skip to content

Commit

Permalink
applicativesystem
Browse files Browse the repository at this point in the history
Finished writing the code today and a complete graph to bed analyzer and final and binary release.
  • Loading branch information
sciencegenome committed Jan 14, 2025
1 parent 669fc03 commit 0af041a
Show file tree
Hide file tree
Showing 10 changed files with 433 additions and 1 deletion.
237 changes: 237 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[package]
name = "rust-pangenome-graph-bed"
version = "0.1.0"
edition = "2021"

[dependencies]
clap = { version = "4.5.26", features = ["derive"] }
38 changes: 37 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,38 @@
# rust-pangenome-graph-bed
rust pangenome graph bed

- rust pangenome graph bed converted
- Incase of Golang and RUST, please see the last commit message and if it says compiled binary then it is completed or else still in development version.


```
cargo build
```

```
╭─gauravsablok@fedora ~/Desktop/rust-pangenome-graph-linear ‹main*›
╰─➤ ./target/debug/rust-pangenome-graph-bed -h
Usage: rust-pangenome-graph-bed <GRAPH>
Arguments:
<GRAPH> please provide the path to the graph file
Options:
-h, --help Print help
-V, --version Print version
```

```
./target/debug/rust-pangenome-graph-bed ./sample-file/sample-pangenome.gfa
"MT_human" 0 4001 "MTh0" 0
"MT_human" 4001 4502 "MTh4001" 0
"MT_orang" 3426 3927 "MTo3426" 1
"MT_human" 4502 9505 "MTh4502" 0
"MT_orang" 8961 9463 "MTo8961" 1
"MT_human" 9505 13014 "MTh9505" 0
"MT_human" 13014 13516 "MTh13014" 0
"MT_human" 13516 16569 "MTh13516" 0
```

Gaurav Sablok
Binary file added rust-pangenome-graph-bed
Binary file not shown.
Binary file added rust-pangenome-graph-bed.tar
Binary file not shown.
8 changes: 8 additions & 0 deletions sample-file/gfa-bed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
MT_human 0 4001 MTh0 0
MT_human 4001 4502 MTh4001 0
MT_orang 3426 3927 MTo3426 1
MT_human 4502 9505 MTh4502 0
MT_orang 8961 9463 MTo8961 1
MT_human 9505 13014 MTh9505 0
MT_human 13014 13516 MTh13014 0
MT_human 13516 16569 MTh13516 0
Loading

0 comments on commit 0af041a

Please sign in to comment.