Skip to content

Commit a855a25

Browse files
authored
Add CI/license badges, FG branding, and logo assets to README (#1)
* Add CI/license badges, FG branding, and logo assets to README
1 parent f3b675e commit a855a25

File tree

4 files changed

+106
-1
lines changed

4 files changed

+106
-1
lines changed
Lines changed: 42 additions & 0 deletions
Loading
Lines changed: 42 additions & 0 deletions
Loading

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[![Build](https://github.com/fg-labs/holodeck/actions/workflows/check.yml/badge.svg)](https://github.com/fg-labs/holodeck/actions/workflows/check.yml)
2+
[![License](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/fg-labs/holodeck/blob/main/LICENSE)
3+
14
# Holodeck
25

36
Modern NGS read simulator written in Rust.
@@ -183,6 +186,21 @@ Holodeck is designed for high throughput. Typical performance on Apple M-series
183186

184187
Performance scales linearly with read count. Adding realistic variant density (~1 per 1,000bp) has no measurable impact on throughput.
185188

189+
<p>
190+
<a href="https://fulcrumgenomics.com">
191+
<picture>
192+
<source media="(prefers-color-scheme: dark)" srcset=".github/logos/fulcrumgenomics-dark.svg">
193+
<source media="(prefers-color-scheme: light)" srcset=".github/logos/fulcrumgenomics-light.svg">
194+
<img alt="Fulcrum Genomics" src=".github/logos/fulcrumgenomics-light.svg" height="100">
195+
</picture>
196+
</a>
197+
</p>
198+
199+
[Visit us at Fulcrum Genomics](https://www.fulcrumgenomics.com) to learn more about how we can power your Bioinformatics with holodeck and beyond.
200+
201+
<a href="mailto:contact@fulcrumgenomics.com?subject=[GitHub inquiry]"><img src="https://img.shields.io/badge/Email_us-%2338b44a.svg?&style=for-the-badge&logo=gmail&logoColor=white"/></a>
202+
<a href="https://www.fulcrumgenomics.com"><img src="https://img.shields.io/badge/Visit_Us-%2326a8e0.svg?&style=for-the-badge&logo=wordpress&logoColor=white"/></a>
203+
186204
## License
187205

188206
[MIT](LICENSE)

src/haplotype.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ impl Haplotype {
8484
let query_end_i32 = query_end.saturating_sub(1) as i32;
8585
let mut overlapping_indices: Vec<u32> = Vec::new();
8686
self.variant_tree.query(ref_start as i32, query_end_i32, |node| {
87-
overlapping_indices.push(*node.metadata);
87+
// clone() rather than *deref because coitrees' query callback
88+
// yields &T on NEON (ARM) but T directly on nosimd (x86).
89+
#[allow(clippy::clone_on_copy)]
90+
overlapping_indices.push(node.metadata.clone());
8891
});
8992

9093
// Sort variants by position for sequential processing.

0 commit comments

Comments
 (0)