-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit e408958 Author: Nae-Chyun Chen <s93rm6@gmail.com> Date: Sat Jan 7 00:37:46 2023 -0800 Integrate strobealign in the workflow (#39) Support the feature request in #11 commit 797aea4 Author: Nae-Chyun Chen <s93rm6@gmail.com> Date: Wed Jan 4 23:40:40 2023 -0800 Logi minor update (#38) Provide the script to do the color inversion commit 9655767 Author: Nae-Chyun Chen <s93rm6@gmail.com> Date: Wed Jan 4 23:30:42 2023 -0800 Dark logo (#37) need improvements though commit 5c2a714 Author: Nae-Chyun Chen <s93rm6@gmail.com> Date: Wed Jan 4 22:48:31 2023 -0800 Workflow improvement: support unaligned FASTQ inputs (#36) * `workflow/leviosam2.sh`: now supports unaligned FASTQ as inputs * `workflow/leviosam2.py`: work-in-progress. Plan to use the Python-based script as the default in the future
- Loading branch information
Showing
6 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import matplotlib.image as mpimg | ||
import matplotlib.image | ||
import numpy as np | ||
|
||
|
||
img = mpimg.imread('figures/levioSAM_S_bw.png') | ||
img2 = [] | ||
for irow, row in enumerate(img): | ||
img2.append([]) | ||
for cell in row: | ||
if sum(cell) != 4: | ||
img2[-1].append([1, 1, 1, 1]) | ||
else: | ||
img2[-1].append([1-cell[0], 1-cell[1], 1-cell[2], 1.]) | ||
matplotlib.image.imsave('figures/levioSAM_S_bw_dark.png', img2, dpi=300) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters