Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/applicativesystem/rust-samtools-genomeview

rust-samtools-genomeview
https://github.com/applicativesystem/rust-samtools-genomeview

bioinformatics genome-alignments genome-analysis genome-bioinformatics genome-capture genome-sequencing

Last synced: 7 days ago
JSON representation

rust-samtools-genomeview

Awesome Lists containing this project

README

        

# rust-samtools-genomeview

- rust samtools genome-view
- rust-samtools-genome-view: takes a genome alignment files, a reference fasta file, the upstream and the downstream regions and the path to the prank aligner and then aligns the extracted regions and also outputs a unaligned file.The aligned region will also be visualized into the terminal using the embedded approach.
- This feature is not present in samtools and specific to rust-samtools and allows for the direct estimation of the reads to alignments approach for desining capture assay.
- targetd capture assay development for taking reads from HybSeq.
- general note: 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.

![](https://github.com/applicativesystem/rust-samtools-genomeview/blob/main/rust-samtools-genomeview.png)

```
cargo build

```

```
λ gauravsablok rust-samtools-genomeview → λ git main* → \
./target/debug/rust-samtools-genome-view -h
Usage: rust-samtools-genome-view

Arguments:
please provide the path to the alignment file
please provide the id list for the specific region
please provide the fasta file used for the reference alignment
please provide the upstream add from the sam alignments to be extracted
please provide the downstream add from the sam alignments to be extracted
please provide the path to the prank aligner

Options:
-h, --help Print help
-V, --version Print version

```

- how to run the binary

```
./rust-samtools-genome-view ./sample-files/Col0_C1.100k_selected.sam ./sample-files/idlist.txt ./sample-files/sample-fasta.fasta 5 10 ./prank

```

- it will output following additional files
```
- selected-ids-downstream-aligned.fasta.best.fas - best alignment for the downstream region
- selected-ids-reads-aligned.fasta.best.fas - best alignment for the reads
- selected-ids-upstream-aligned.fasta.best.fas - best alignment for the upstream region.
- selected-ids-upstream-region-downstream-aliged.fasta.best.fas - best alignment for the upstream+region+downstream.
Gaurav Sablok