Skip to content

Commit

Permalink
fix: update link for covariants (#626)
Browse files Browse the repository at this point in the history
* update link

* fmt

* Update super linter in main.yml

* Update main.yml

* Update collect-lineage-variants.py

* Update collect-lineage-variants.py
  • Loading branch information
alethomas authored Jan 29, 2024
1 parent 0780432 commit e6476b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Formatting
uses: github/super-linter@v5.0.0
uses: super-linter/super-linter@v5.7.2
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master
Expand Down
3 changes: 1 addition & 2 deletions workflow/scripts/collect-lineage-variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from requests.models import ContentDecodingError

covariants_data = requests.get(
"https://raw.githubusercontent.com/hodcroftlab/covariants/master/web/data/clusters.json"
"https://raw.githubusercontent.com/hodcroftlab/covariants/master/web/public/data/clusters.json"
).json()
translate_aa = get_backtranslation_table("Standard")
gff = gffutils.create_db(snakemake.input.annotation, dbfn=":memory:")
Expand Down Expand Up @@ -327,5 +327,4 @@ def write_record(pos, ref_allele, alt_allele, lineages, variants):

ref_allele = infasta.fetch(reference=contig, start=pos, end=pos + 3)
for alt_allele in aa_to_dna(variant.right):

write_record(pos, ref_allele, alt_allele, lineages, [variant])

0 comments on commit e6476b6

Please sign in to comment.