Skip to content

Commit b158483

Browse files
committed
Merge branch 'main' of github.com:SPAAM-community/intro-to-ancient-metagenomics-book
2 parents 5e8648b + 24b1150 commit b158483

15 files changed

Lines changed: 103 additions & 151 deletions

.gitpod.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

CITATION.cff

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ authors:
1515
- family-names: Borry
1616
given-names: Maxime
1717
orcid: https://orcid.org/0000-0001-9140-7559
18+
- family-names: Denise
19+
given-names: Rémi
20+
orcid: https://orcid.org/0000-0003-2277-689X
1821
- family-names: Guellil
1922
given-names: Meriam
2023
orcid: https://orcid.org/0000-0002-7235-4604
@@ -64,11 +67,11 @@ authors:
6467
orcid: https://orcid.org/0009-0000-2068-3505
6568

6669
title: "Introduction to Ancient Metagenomics"
67-
version: 2024
70+
version: 2025.1
6871
doi: 10.5281/zenodo.8027280
69-
date-released: 2024-09-17
72+
date-released: 2025-11-25
7073
license: CC-BY-4.0
71-
license_url: https://github.com/SPAAM-community/intro-to-ancient-metagenomics-book/blob/2024.1/LICENSE
74+
license_url: https://github.com/SPAAM-community/intro-to-ancient-metagenomics-book/blob/2025.1/LICENSE
7275
keywords:
7376
- "ancient metagenomics"
7477
- metagenomics
File renamed without changes.

README.md

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,7 @@ This is the source material for the [Introduction to Ancient Metagenomics text b
1010

1111
This text book has been developed as a [Quarto](https://quarto.org/) Book, allowing for both website and PDF formats.
1212

13-
It is highly recommend to use the [Gitpod environment](#gitpod) to develop new material for the textbook, as it provides a fully set up writing environment.
14-
15-
If running [locally](#locally), I highly recommend installing [VS Code](https://code.visualstudio.com/) (or your [preferred text editor/IDE](https://quarto.org/docs/get-started/)) and the corresponding [Quarto extension](https://quarto.org/docs/getting-started/installation.html#vs-code-extension) for development. This allows rendering prior to pushing to GitHub, and debugging of any issues of the website view. Make sure you also install all the dependincy requirements as described in the `.gitpod.Dockerfile`
16-
17-
### GitPod
18-
19-
1. Fork this repository
20-
2. Open on [https://gitpod.io](https://gitpod.io) [^1]
21-
- This may take a little bit of time to pull the docker container
22-
- Once loaded, wait a minute or so until the preview of the textbook is loaded (you will see lots of text being printed in the console)
23-
- To load the preview, press the 'open preview' button in the bottom right
24-
![image](https://github.com/SPAAM-community/intro-to-ancient-metagenomics-book/assets/17950287/cc47d264-eb4e-4fff-94c8-a8da21e9494b)
25-
- If you miss the message above, press 'Ports' in the bottom right toolbar, and click the running URL to open in a new tab
26-
3. Make a new branch e.g. `git switch -c new-chapter`
27-
4. If adding a new chapter, make a new `.qmd` file in the root directory, else edit the existing `.qmd` file of your choice
28-
5. Images for the chapter should go into `assets/images/chapters/`
29-
- Do not place in `docs/assets/images/chapters/`!
30-
6. References in BibTex for the chapter should go a `references.bib` file into `assets/references/<chapter_name>.bib`
31-
7. Conda environment files go in `docs/assets/envs/<chapter_name>.bib`
32-
8. If adding a new chapter, add the `.qmd` file to the `_quarto.yml` config file in the `chapters:` scope
33-
9. Refresh the preview tab to check your chapter renders correctly
34-
10. Commit, push to GitHub, and open a PR against the `main` branch [^2]
35-
36-
> ![WARNING]
37-
> Only push `.qmd`, images, `.bib` files etc! Do not push `html` `json` files etc., from the rendering!
38-
39-
General tips:
40-
41-
- Use the native markdown syntax for images (`![](assets/images/chapters/<your_image>.png)`)
42-
- For note blocks see the [Quarto docs](https://quarto.org/docs/authoring/callouts.html#callout-types)
13+
If running [locally](#locally), I highly recommend installing [VS Code](https://code.visualstudio.com/) (or your [preferred text editor/IDE](https://quarto.org/docs/get-started/)) and the corresponding [Quarto extension](https://quarto.org/docs/getting-started/installation.html#vs-code-extension) for development. This allows rendering prior to pushing to GitHub, and debugging of any issues of the website view. Make sure you also install all the dependincy requirements as described in the `Dockerfile`
4314

4415
### Locally
4516

@@ -75,7 +46,7 @@ General tips:
7546
- Check for any major TODOs in the book
7647
- Make sure authors updated
7748
- On authors.qmd
78-
- In citations.gff
49+
- In citations.cff
7950
- In citing-this-book.qmd (set DOI to root DOI)
8051
- Make sure cover images updated
8152
- Stating (Edition 202X)
@@ -86,7 +57,7 @@ General tips:
8657
- Make sure to bump year to title
8758
- Version system: YYYY.point release (2024.0, 2024.1)
8859
- Make sure to update authors if required
89-
- Update Zenodo DOI for each chapter
60+
- Update Zenodo DOI for in each chapter DOI
9061
- Make sure footnotes year fixed everywhere (\_quarto.yml)
9162
- Update release date in citations.cff
9263

@@ -95,6 +66,3 @@ General tips:
9566
- In citing-this-book.qmd set DOI to release DOI
9667

9768
## Notes
98-
99-
[^1]: I recommend installing the [gitpod chrome extension](https://chrome.google.com/webstore/detail/gitpod-always-ready-to-co/dodmmooeoklaejobgleioelladacbeki) which adds a nice shortcut button to the github repository next to the green 'code' button.
100-
[^2]: If you're using gitpod and have a 'don't have permissions' error when pushing you may need to do the following: (1) Go to: [https://gitpod.io/user/integrations](https://gitpod.io/user/integrations) (2) Press triple dots next to the GitHub Git Provider (3) Edit permissions so all permissions are ticked _except_ for `read:user`

_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ book:
7272

7373
license: "CC-BY 4.0"
7474
cover-image: "assets/images/cover.png"
75-
page-footer: "© 2024 SPAAM Community & Authors with ❤️. Available under [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/). Source material [here](https://github.com/SPAAM-community/intro-to-ancient-metagenomics-book)."
75+
page-footer: "© 2025 SPAAM Community & Authors with ❤️. Available under [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/). Source material [here](https://github.com/SPAAM-community/intro-to-ancient-metagenomics-book)."
7676
site-url: https://spaam-community.github.org/intro-to-ancient-metagenomics-book
7777
favicon: favicon.png
7878
open-graph: true

ancient-metagenomic-pipelines.qmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ In ancient DNA we need to use tools better suited for low coverage, and short re
112112
### Running nf-core/eager
113113

114114
For the practical portion of this chapter, we will utilise sequencing data from four aDNA libraries, which we should have already downloaded from NCBI.
115-
If not, please see the **Preparation** section above <!-- TODO Add download links & DOWNLOAD GFF FILE - SEE NOTE BELOW -->.
115+
If not, please see the **Preparation** section above.
116116
We will use nf-core/eager to perform a typical microbial _genomic_ analysis, i.e., reconstruction of an ancient genome to generate variant calls that can be used for generating phylogenomic trees and other evolutionary analysis, and gene feature coverage statistics to allow insight into the functional aspects of the genome.
117117

118118
These four libraries come from from two ancient individuals, GLZ002 and KZL002.
@@ -127,11 +127,11 @@ Our aims in the following tutorial are to:
127127
1. Preprocess the FASTQ files by trimming adapters and merging paired-end reads
128128
2. Align reads to the _Y.
129129
pestis_ reference and compute the endogenous DNA percentage
130-
3. Filter the aligned reads to remove host DNA
131-
4. Remove duplicate reads for accurate coverage estimation and genotyping
132-
5. Generate statistics on gene features (e.g. virulence factors)
133-
6. Merge data by sample and perform genotyping on the combined dataset
134-
7. Review quality control data to evaluate the success of the previous steps
130+
1. Filter the aligned reads to remove host DNA
131+
2. Remove duplicate reads for accurate coverage estimation and genotyping
132+
3. Generate statistics on gene features (e.g. virulence factors)
133+
4. Merge data by sample and perform genotyping on the combined dataset
134+
5. Review quality control data to evaluate the success of the previous steps
135135

136136
Let's get started!
137137

assets/images/cover-gradient.png

399 Bytes
Loading

assets/images/cover-gradient.svg

Lines changed: 2 additions & 2 deletions
Loading

assets/images/cover.png

315 Bytes
Loading

assets/images/cover.svg

Lines changed: 5 additions & 5 deletions
Loading

0 commit comments

Comments
 (0)