Skip to contents

sylph2lab ships the sylph profiles of 18 SRA runs from BioProject PRJNA1556220 (skin, stool and perirectal swabs from 7 subjects, five of them sampled 2 to 6 times; profiled with sra2lab::sylph_runs() against the GTDB r232 database), and the run table for all 67 runs of the BioProject, as made by sra2lab::get_bioproject_runs().

Usage

sylph_example(which = c("profiles", "runs", "taxonomy"))

Arguments

which

"profiles" for the directory of *_profiling.tsv files, "runs" for the run table (CSV), or "taxonomy" for the bacterial and archaeal GTDB taxonomy files (two paths).

Value

A file path (two for "taxonomy").

Details

It also ships the GTDB r232 taxonomy (the release the profiles were made with) for the genomes detected in those profiles: the rows of bac120_taxonomy_r232.tsv.gz and ar53_taxonomy_r232.tsv.gz, from https://data.gtdb.ecogenomic.org/releases/release232/232.0/, whose accessions appear in the example profiles. They are in the same format as the full files, so they stand in for them in examples; for your own data, download the full files.

Examples

sylph_example("profiles")
#> [1] "/home/runner/work/_temp/Library/sylph2lab/extdata/sylph"
list.files(sylph_example("profiles"))
#>  [1] "SRR41520862_profiling.tsv" "SRR41520863_profiling.tsv"
#>  [3] "SRR41520865_profiling.tsv" "SRR41520867_profiling.tsv"
#>  [5] "SRR41520868_profiling.tsv" "SRR41520869_profiling.tsv"
#>  [7] "SRR41520870_profiling.tsv" "SRR41520873_profiling.tsv"
#>  [9] "SRR41520874_profiling.tsv" "SRR41520876_profiling.tsv"
#> [11] "SRR41520878_profiling.tsv" "SRR41520879_profiling.tsv"
#> [13] "SRR41520882_profiling.tsv" "SRR41520884_profiling.tsv"
#> [15] "SRR41520894_profiling.tsv" "SRR41520897_profiling.tsv"
#> [17] "SRR41520902_profiling.tsv" "SRR41520919_profiling.tsv"
sylph_example("runs")
#> [1] "/home/runner/work/_temp/Library/sylph2lab/extdata/PRJNA1556220_runs.csv"
sylph_example("taxonomy")
#> [1] "/home/runner/work/_temp/Library/sylph2lab/extdata/gtdb/bac120_taxonomy_r232_example.tsv.gz"
#> [2] "/home/runner/work/_temp/Library/sylph2lab/extdata/gtdb/ar53_taxonomy_r232_example.tsv.gz"