You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-35Lines changed: 3 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,36 +10,7 @@ This is the source material for the [Introduction to Ancient Metagenomics text b
10
10
11
11
This text book has been developed as a [Quarto](https://quarto.org/) Book, allowing for both website and PDF formats.
12
12
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
- 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 (``)
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`
43
14
44
15
### Locally
45
16
@@ -75,7 +46,7 @@ General tips:
75
46
- Check for any major TODOs in the book
76
47
- Make sure authors updated
77
48
- On authors.qmd
78
-
- In citations.gff
49
+
- In citations.cff
79
50
- In citing-this-book.qmd (set DOI to root DOI)
80
51
- Make sure cover images updated
81
52
- Stating (Edition 202X)
@@ -86,7 +57,7 @@ General tips:
86
57
- Make sure to bump year to title
87
58
- Version system: YYYY.point release (2024.0, 2024.1)
88
59
- Make sure to update authors if required
89
-
- Update Zenodo DOI for each chapter
60
+
- Update Zenodo DOI for in each chapter DOI
90
61
- Make sure footnotes year fixed everywhere (\_quarto.yml)
91
62
- Update release date in citations.cff
92
63
@@ -95,6 +66,3 @@ General tips:
95
66
- In citing-this-book.qmd set DOI to release DOI
96
67
97
68
## 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`
Copy file name to clipboardExpand all lines: ancient-metagenomic-pipelines.qmd
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ In ancient DNA we need to use tools better suited for low coverage, and short re
112
112
### Running nf-core/eager
113
113
114
114
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.
116
116
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.
117
117
118
118
These four libraries come from from two ancient individuals, GLZ002 and KZL002.
@@ -127,11 +127,11 @@ Our aims in the following tutorial are to:
127
127
1. Preprocess the FASTQ files by trimming adapters and merging paired-end reads
128
128
2. Align reads to the _Y.
129
129
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
0 commit comments