Skip to content

Commit

Permalink
correct y-axis to be per codon rather than per nt
Browse files Browse the repository at this point in the history
  • Loading branch information
kistlerk committed Aug 2, 2022
1 parent 72c376a commit 61f5e2f
Show file tree
Hide file tree
Showing 4,114 changed files with 542,599 additions and 336,813 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified 229e/README.md
100644 → 100755
Empty file.
37 changes: 19 additions & 18 deletions 229e/Snakefile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,28 @@ rule files:

files = rules.files.params

rule download:
message: "Downloading sequences from fauna"
output:
sequences = "data/229e_{gene}.fasta"
params:
fasta_fields = "strain accession strain_name collection_date host country virus subtype type sequence_locus"
shell:
"""
python3 ../fauna/vdb/download.py \
--database vdb \
--virus seasonal_corona \
--fasta_fields {params.fasta_fields} \
--select sequence_locus:{wildcards.gene} subtype: 229e \
--path $(dirname {output.sequences}) \
--fstem $(basename {output.sequences} .fasta)
"""
# rule download:
# message: "Downloading sequences from fauna"
# output:
# sequences = "data/229e_{gene}.fasta"
# params:
# fasta_fields = "strain accession strain_name collection_date host country virus subtype type sequence_locus"
# shell:
# """
# python3 ../fauna/vdb/download.py \
# --database vdb \
# --virus seasonal_corona \
# --fasta_fields {params.fasta_fields} \
# --select sequence_locus:{wildcards.gene} subtype: 229e \
# --path $(dirname {output.sequences}) \
# --fstem $(basename {output.sequences} .fasta)
# """

rule parse:
message: "Parsing fasta into sequences and metadata"
input:
sequences = rules.download.output.sequences
sequences = 'data/229e_{gene}.fasta'
# sequences = rules.download.output.sequences
output:
sequences = "results/sequences_229e_{gene}.fasta",
metadata = "results/metadata_229e_{gene}.tsv"
Expand Down Expand Up @@ -169,7 +170,7 @@ rule ancestral:
augur ancestral \
--tree {input.tree} \
--alignment {input.alignment} \
--output {output.node_data} \
--output-node-data {output.node_data} \
--inference {params.inference}
"""

Expand Down
Empty file modified 229e/auspice/.DS_Store
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_envelope.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_envelope_root-sequence.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_full.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_full_root-sequence.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_membrane.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_membrane_root-sequence.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_nucleocapsid.json
100644 → 100755
Empty file.
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_protein4a.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_protein4a_root-sequence.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_protein4b.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_protein4b_root-sequence.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_rdrp.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_rdrp_root-sequence.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_replicase1a.json
100644 → 100755
Empty file.
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_replicase1ab.json
100644 → 100755
Empty file.
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_s1.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_s1_root-sequence.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_s2.json
100644 → 100755
Empty file.
Empty file modified 229e/auspice/seasonal_corona_229e_s2_root-sequence.json
100644 → 100755
Empty file.
Loading

0 comments on commit 61f5e2f

Please sign in to comment.