Skip to content

Commit

Permalink
Use scripts directory instead of bin #76
Browse files Browse the repository at this point in the history
  • Loading branch information
j23414 authored Jul 9, 2024
2 parents 011bea3 + 12c35e4 commit 1a9ada3
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ingest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Do the following to include sequences from static FASTA files.
1. Convert the FASTA files to NDJSON files with:

```sh
./ingest/bin/fasta-to-ndjson \
./ingest/scripts/fasta-to-ndjson \
--fasta {path-to-fasta-file} \
--fields {fasta-header-field-names} \
--separator {field-separator-in-header} \
Expand Down
4 changes: 2 additions & 2 deletions ingest/rules/curate.smk
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ rule curate:
--abbr-authors-field {params.abbr_authors_field} \
| ./vendored/apply-geolocation-rules \
--geolocation-rules {input.all_geolocation_rules} \
| ./bin/infer-dengue-serotype.py \
| ./scripts/infer-dengue-serotype.py \
--out-col {params.serotype_field} \
| ./vendored/merge-user-metadata \
--annotations {input.annotations} \
--id-field {params.annotations_id} \
| ./bin/ndjson-to-tsv-and-fasta \
| ./scripts/ndjson-to-tsv-and-fasta \
--metadata-columns {params.metadata_columns} \
--metadata {output.metadata} \
--fasta {output.sequences} \
Expand Down
2 changes: 1 addition & 1 deletion ingest/rules/nextclade.smk
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ rule calculate_gene_coverage:
serotype=SEROTYPE_CONSTRAINTS,
shell:
"""
python bin/calculate-gene-converage-from-nextclade-translation.py \
python scripts/calculate-gene-converage-from-nextclade-translation.py \
--fasta {input.nextclade_translation} \
--out-col {wildcards.gene}_coverage \
> {output.gene_coverage}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions nextclade/rules/export.smk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rule colors:
colors = "results/colors_{serotype}.tsv"
shell:
"""
python3 ../phylogenetic/bin/assign-colors.py \
python3 ../phylogenetic/scripts/assign-colors.py \
--color-schemes {input.color_schemes} \
--ordering {input.color_orderings} \
--metadata {input.metadata} \
Expand Down Expand Up @@ -169,7 +169,7 @@ rule final_strain_name:
display_strain_field=config.get("display_strain_field", "strain"),
shell:
"""
python3 ../phylogenetic/bin/set_final_strain_name.py \
python3 ../phylogenetic/scripts/set_final_strain_name.py \
--metadata {input.metadata} \
--metadata-id-columns {params.strain_id} \
--input-auspice-json {input.auspice_json} \
Expand Down
4 changes: 2 additions & 2 deletions phylogenetic/rules/export.smk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rule colors:
colors = "results/colors_{serotype}.tsv"
shell:
"""
python3 bin/assign-colors.py \
python3 scripts/assign-colors.py \
--color-schemes {input.color_schemes} \
--ordering {input.color_orderings} \
--metadata {input.metadata} \
Expand Down Expand Up @@ -171,7 +171,7 @@ rule final_strain_name:
display_strain_field=config.get("display_strain_field", "strain"),
shell:
"""
python3 bin/set_final_strain_name.py \
python3 scripts/set_final_strain_name.py \
--metadata {input.metadata} \
--metadata-id-columns {params.strain_id} \
--input-auspice-json {input.auspice_json} \
Expand Down
2 changes: 1 addition & 1 deletion phylogenetic/rules/prepare_sequences_E.smk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rule generate_E_reference_files:
gene = "E",
shell:
"""
python3 bin/newreference.py \
python3 scripts/newreference.py \
--reference {input.reference} \
--output-fasta {output.fasta} \
--output-genbank {output.genbank} \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1a9ada3

Please sign in to comment.