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
#! /bin/env bash | |
sinceDate="2023-02-01" | |
untilDate=$(date +%Y-%m-%d) | |
headerPattern='(\w+)(\(\w+\))?!?\: (.*)' | |
prefixPattern='[a-z0-9]+ [0-9-]+ ' | |
typeGroupPattern='(feat|fix|revert|ci|docs|refactor|style|perf|test|chore)' | |
if [ ${#@} -gt 0 ]; then sinceDate=$1; fi | |
if [ ${#@} -gt 1 ]; then untilDate=$2; fi |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/env bash | |
# As hic files contain sparse matrices, the matrix size is usually smaller than the expected (especially at high resolutions) | |
# This needs straw to be installed, see here: https://github.com/aidenlab/straw | |
hic_file="SRR2184278-93.hic" | |
resolution=100000 | |
chromosomes=($(seq 1 22) X Y) | |
if [ -f "$hic_file.chrom_size.tsv" ]; then |
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
from typing import Dict, List, Tuple | |
City = str | |
Country = str | |
Institute = str | |
Lab = str | |
Language = str | |
LoveLevel = float | |
Program = str | |
Title = str |
I hereby claim:
- I am ggirelli on github.
- I am gggirelli (https://keybase.io/gggirelli) on keybase.
- I have a public key ASAU6K-iIjJnP-FZZ6_Hzvv5teH4HL24B_r35ePiSGPiXwo
To claim this, I am signing this object:
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
''' | |
@author: Gabriele Girelli | |
@contact: gigi.ga90@gmail.com | |
''' | |
import re | |
from typing import Iterator, List, Optional, Pattern, Tuple | |
class MultiRange(object): |