@@ -27,6 +27,7 @@ The result consists in 3 tables :
...
@@ -27,6 +27,7 @@ The result consists in 3 tables :
- Genes table : One gene per line. Those are genes from the aforementioned system, with some addition information on the quality of the hit. The key between both table is `sys_id`
- Genes table : One gene per line. Those are genes from the aforementioned system, with some addition information on the quality of the hit. The key between both table is `sys_id`
- HMMER table : One gene per line. Here it's all the genes hit by a hmm profile, even when the gene is not part of a defense system.
- HMMER table : One gene per line. Here it's all the genes hit by a hmm profile, even when the gene is not part of a defense system.
## Contributing to the Wiki
## Contributing to the Wiki
### 1/ Create an account
### 1/ Create an account
...
@@ -47,7 +48,7 @@ Click, and wait for an admin approval.
...
@@ -47,7 +48,7 @@ Click, and wait for an admin approval.
### 2/ Edit a page.
### 2/ Edit a page.
Once you have access to the project (the previous step is done once), you can edit easily each page of the wiki, and post issues (if you have question about something or remarks with anything from content to design).
Once you have access to the project (the previous step is done once), you can edit easily each page of the wiki, and post [issues](https://gitlab.pasteur.fr/mdm-lab/wiki/-/issues)(if you have question about something or remarks with anything from content to design).
To edit a page, just click on the Edit on Gitlab button at the bottom of every page of the wiki, and it will lead you to the corresponding page of the wiki.
To edit a page, just click on the Edit on Gitlab button at the bottom of every page of the wiki, and it will lead you to the corresponding page of the wiki.
...
@@ -67,59 +68,72 @@ To do so, just fill in the description (1) of what you did, or anything that you
...
@@ -67,59 +68,72 @@ To do so, just fill in the description (1) of what you did, or anything that you
As a general advice, check an already written file to see how other pages are written.<br>
<br>
The files you edit are in markdown, which is pretty basic language but that can let you do many things, such as tables, links and such with a particular syntax.
You can check more about this syntax here : https://docs.gitlab.com/ee/user/markdown.html<br>
<br>
As a general advice, check an already written file to see how other pages are written.
To add images, you need to upload the image in the `/content/public` folder (and possibly in the corresponding folder of the defense system) and you can specify its path in the markdown file as follows :<br>
<br>
```
{max-width=750px}
```
<br>
The files you edit are in markdown, which is pretty basic language but that can let you do many things, such as tables, links and such with a particular syntax.
where `/path/within/public` is the relative path to the `public` folder (the absolute path would be `/content/public/path/within/public`)
You can check more about this syntax here : https://docs.gitlab.com/ee/user/markdown.html
<br>
To add images, you need to upload the image of the public folder (and possibly to put it in the corresponding folder of the system) and you can specify its path in the markdown file as follows :
In addition to this, there are some specificities to this wiki :<br>
`{max-width=750px}` where `/path/within/public` is the relative path to the `public` folder (the absolute path would be `/content/public/path/within/public`)
<br>
**1. Each system's page has *frontmatter*, which is a piece of code that will be used to populate the table of the list of system. It has the following syntax :**
In addition to this, there are some specificities to this wiki.
```
1. First, each system's page has **frontmatter**, which is a piece of code that will be used to populate the table of the list of system. It has the following syntax :
---
title: Viperin
```yaml
tableColumns:
---
article:
title: Viperin
doi: 10.1038/s41586-020-2762-2
tableColumns:
abstract: |
article:
<theabstract>
doi: 10.1038/s41586-020-2762-2
Sensor: Unknown
abstract: |
Activator: Direct
<the abstract>
Effector: Nucleotide modifying
Sensor: Unknown
PFAM: PF04055, PF13353
Activator: Direct
Contributor : Florian Tesson, Aude Bernheim
Effector: Nucleotide modifying
---
PFAM: PF04055, PF13353
```
Contributor : Florian Tesson, Aude Bernheim
Any new item in the `tableColumns` object will create a new column in the list of [defense system's table](/defense-systems).
---
```
<br>
2. In the relevant abstract section, only the doi is relevant :
**2. In the relevant abstract section, only the doi is relevant :**
```md
```
::article-doi-list
::article-doi-list
---
---
items:
items:
- doi: 10.1038/s41586-020-2762-2
- doi: 10.1038/s41586-020-2762-2
---
---
::```
::
```
3. To display a protein structure, you can call the plugin as follows :
<br>
```md
**3. To display a protein structure, you can call the plugin as follows :**