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 python3 | |
import requests | |
import hashlib | |
import getpass | |
password = getpass.getpass() | |
hash = hashlib.sha1(password.encode("utf8")).hexdigest().upper() | |
head, rest = hash[:5], hash[5:] | |
r = requests.get("https://api.pwnedpasswords.com/range/%s" % head) |
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
# Create the directory fake/test and the file fake/test/sample.Mutect2.snpSift.vcf.gz | |
# Run on cluster, example: | |
# snakemake --cluster 'bash ' -j1 -p | |
rule all: | |
input: | |
expand( | |
"fake/test/{t}.Mutect2.snpSift.hardfilter.vcf.gz", | |
t=['sample']), |
OlderNewer