This file contains hidden or 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
# DL: https://osf.io/dfvbz | |
$ zstd -dc VeroInf24h.all.fastq.zst|seqkit seq --rna2dna>VeroInf24h.all.fastq | |
$ minimap2 -aY --sam-hit-only -t7 MN908947.3.fa VeroInf24h.all.fastq >temp.sam | |
[..] | |
$ seqkit grep -p "6bde649c-c7a2-4872-ab6f-147510942a0e" VeroInf24h.all.fastq > single_read.fastq | |
minimap2 -a MN908947.3.fa single_read.fastq | samtools sort -@ 7 - >temp_longest.bam | |
samtools index temp_longest.bam | |
samtools fasta temp_longest.bam > temp_longest.fa | |
cat MN908947.3.fa temp_longest.fa | mafft --globalpair --clustalout - |
This file contains hidden or 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
library(dplyr) | |
library(readxl) | |
url <- paste0( | |
"https://www.pei.de/SharedDocs/Downloads/DE/newsroom/dossiers/rohdaten-", | |
"sicherheitsberichte/download-xls-uaw-daten-2020-12-27-bis-2023-12-31", | |
".xlsx?__blob=publicationFile&v=5" | |
) | |
tempfile_path <- tempfile(fileext = ".xlsx") | |
download.file(url, tempfile_path, mode = "wb") # Use mode = "wb" for binary files |
This file contains hidden or 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
library(tidyverse) | |
library(demography) | |
library(scales) | |
sf <- 2 | |
width <- 600 * sf | |
height <- 335 * sf | |
options(vsc.dev.args = list(width = width, height = height, res = 72 * sf)) |
This file contains hidden or 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
PopName | Area | Year | YearReg | YearInterval | Sex | Age | AgeInterval | Lexis | RefCode | Access | Deaths | NoteCode1 | NoteCode2 | NoteCode3 | LDB | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
USA | 01 | 2022 | 2022 | 1 | f | 0 | 1 | RR | 314 | O | 9182 | . | . | . | 1 | |
USA | 01 | 2022 | 2022 | 1 | f | 1 | 1 | RR | 314 | O | 705 | . | . | . | 1 | |
USA | 01 | 2022 | 2022 | 1 | f | 2 | 1 | RR | 314 | O | 442 | . | . | . | 1 | |
USA | 01 | 2022 | 2022 | 1 | f | 3 | 1 | RR | 314 | O | 380 | . | . | . | 1 | |
USA | 01 | 2022 | 2022 | 1 | f | 4 | 1 | RR | 314 | O | 276 | . | . | . | 1 | |
USA | 01 | 2022 | 2022 | 1 | f | 5 | 1 | RR | 314 | O | 267 | . | . | . | 1 | |
USA | 01 | 2022 | 2022 | 1 | f | 6 | 1 | RR | 314 | O | 231 | . | . | . | 1 | |
USA | 01 | 2022 | 2022 | 1 | f | 7 | 1 | RR | 314 | O | 217 | . | . | . | 1 | |
USA | 01 | 2022 | 2022 | 1 | f | 8 | 1 | RR | 314 | O | 215 | . | . | . | 1 |
This file contains hidden or 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
library(tidyverse) | |
library(scales) | |
library(tsibble) | |
library(fable) | |
sf <- 2 | |
width <- 600 * sf | |
height <- 335 * sf | |
options(vsc.dev.args = list(width = width, height = height, res = 72 * sf)) |
This file contains hidden or 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/sh | |
BASE_URL="https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/DVS/mortality" | |
OUTPUT_DIR="mortality_data" | |
YEARS="2017 2018 2019 2020 2021 2022" | |
OUTPUT_CSV="mcd.csv" | |
mkdir -p "$OUTPUT_DIR" | |
echo "id,year,month,age,ucd,mcd" > "$OUTPUT_CSV" | |
for YEAR in $YEARS; do | |
YY="${YEAR: -2}" # Extract last two digits of the year |
This file contains hidden or 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
library(tsibble) | |
library(fable) | |
library(ggplot2) | |
library(tidyverse) | |
library(data.table) | |
sf <- 2 | |
width <- 600 * sf | |
height <- 335 * sf | |
options(vsc.dev.args = list(width = width, height = height, res = 72 * sf)) |
This file contains hidden or 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
library(tsibble) | |
library(fable) | |
library(ggplot2) | |
library(tidyverse) | |
sf <- 2 | |
width <- 600 * sf | |
height <- 335 * sf | |
options(vsc.dev.args = list(width = width, height = height, res = 72 * sf)) |
This file contains hidden or 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
# Load necessary libraries | |
library(dplyr) | |
library(ggplot2) | |
sf <- 2 | |
width <- 600 * sf | |
height <- 335 * sf | |
options(vsc.dev.args = list(width = width, height = height, res = 72 * sf)) |
This file contains hidden or 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
library(readr) | |
library(dplyr) | |
library(tidyr) | |
library(ggplot2) | |
library(scales) | |
sf <- 2 | |
width <- 600 * sf | |
height <- 335 * sf | |
options(vsc.dev.args = list(width = width, height = height, res = 72 * sf)) |