<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.anunna.wur.nl/index.php?action=history&amp;feed=atom&amp;title=Population_mapping_pipeline</id>
	<title>Population mapping pipeline - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.anunna.wur.nl/index.php?action=history&amp;feed=atom&amp;title=Population_mapping_pipeline"/>
	<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Population_mapping_pipeline&amp;action=history"/>
	<updated>2026-04-19T04:57:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Population_mapping_pipeline&amp;diff=2125&amp;oldid=prev</id>
		<title>Moiti001: added workflow image</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Population_mapping_pipeline&amp;diff=2125&amp;oldid=prev"/>
		<updated>2021-09-29T12:55:31Z</updated>

		<summary type="html">&lt;p&gt;added workflow image&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:55, 29 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{|&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!align=&quot;center&quot;| [[File:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;https://github.com/CarolinaPB/population&lt;/del&gt;-mapping&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/blob/wur/&lt;/del&gt;workflow.png&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|DAG&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!align=&quot;center&quot;| [[File:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Population&lt;/ins&gt;-mapping&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/ins&gt;workflow.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|align=&amp;quot;center&amp;quot;| &amp;#039;&amp;#039;Pipeline workflow&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|align=&amp;quot;center&amp;quot;| &amp;#039;&amp;#039;Pipeline workflow&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l63&quot;&gt;Line 63:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== RESULTS ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== RESULTS ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;**&lt;/del&gt;&amp;lt;run_date&amp;gt;_files.txt&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** &lt;/del&gt;dated file with an overview of the files used to run the pipeline (for documentation purposes)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;&amp;lt;run_date&amp;gt;_files.txt&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;dated file with an overview of the files used to run the pipeline (for documentation purposes)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;processed_reads&amp;#039;&amp;#039;&amp;#039; directory with the bam files with the mapped reads for every sample&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;processed_reads&amp;#039;&amp;#039;&amp;#039; directory with the bam files with the mapped reads for every sample&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;mapping_stats&amp;#039;&amp;#039;&amp;#039; directory containing the qualimap results and a summary of the qualimap results for all samples in &amp;lt;code&amp;gt;sample_quality_summary.tsv&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;mapping_stats&amp;#039;&amp;#039;&amp;#039; directory containing the qualimap results and a summary of the qualimap results for all samples in &amp;lt;code&amp;gt;sample_quality_summary.tsv&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;#039;&amp;#039;&amp;#039;qualimap&amp;#039;&amp;#039;&amp;#039; contains qualimap results per sample&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;#039;&amp;#039;&amp;#039;qualimap&amp;#039;&amp;#039;&amp;#039; contains qualimap results per sample&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Moiti001</name></author>
	</entry>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Population_mapping_pipeline&amp;diff=2123&amp;oldid=prev</id>
		<title>Moiti001: added info about pipeline</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Population_mapping_pipeline&amp;diff=2123&amp;oldid=prev"/>
		<updated>2021-09-29T12:49:30Z</updated>

		<summary type="html">&lt;p&gt;added info about pipeline&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Author: Carolina Pita Barros &amp;lt;br /&amp;gt; &lt;br /&gt;
Contact: carolina.pitabarros@wur.nl  &amp;lt;br /&amp;gt;&lt;br /&gt;
ABG&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://github.com/CarolinaPB/population-mapping Link to the repository]&lt;br /&gt;
&lt;br /&gt;
== First follow the instructions here: ==&lt;br /&gt;
&lt;br /&gt;
[https://carolinapb.github.io/2021-06-23-how-to-run-my-pipelines/ Step by step guide on how to use my pipelines]&amp;lt;br /&amp;gt;&lt;br /&gt;
Click [https://github.com/CarolinaPB/snakemake-template/blob/master/Short%20introduction%20to%20Snakemake.pdf here] for an introduction to Snakemake&lt;br /&gt;
&lt;br /&gt;
== ABOUT ==&lt;br /&gt;
&lt;br /&gt;
This is a pipeline to map short reads from several individuals to a reference assembly. It outputs the mapped reads and a qualimap report.&lt;br /&gt;
&lt;br /&gt;
==== Tools used: ====&lt;br /&gt;
&lt;br /&gt;
* Bwa - mapping&lt;br /&gt;
* Samtools - processing&lt;br /&gt;
* Qualimap - mapping summary&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
!align=&amp;quot;center&amp;quot;| [[File:https://github.com/CarolinaPB/population-mapping/blob/wur/workflow.png|DAG]]&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;center&amp;quot;| &amp;#039;&amp;#039;Pipeline workflow&amp;#039;&amp;#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Edit config.yaml with the paths to your files ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ASSEMBLY: /path/to/assembly&lt;br /&gt;
OUTDIR: /path/to/outdir&lt;br /&gt;
PATHS_WITH_FILES:&lt;br /&gt;
  path1: /path/to/dir&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ASSEMBLY - path to the assembly file&lt;br /&gt;
* OUTDIR - directory where snakemake will run and where the results will be written to.&amp;lt;br /&amp;gt;&lt;br /&gt;
If you want the results to be written to this directory (not to a new directory), comment out &amp;lt;code&amp;gt;OUTDIR: /path/to/outdir&amp;lt;/code&amp;gt;&lt;br /&gt;
* PATHS_WITH_FILES - directory that can contain subdirectories where the &amp;#039;&amp;#039;&amp;#039;fq.gz&amp;#039;&amp;#039;&amp;#039; reads are located. You can add several paths by adding &amp;lt;code&amp;gt;path2: /path/to/dir&amp;lt;/code&amp;gt; under &amp;lt;code&amp;gt;PATHS_WITH_FILES&amp;lt;/code&amp;gt;. (The line you add has to have indentation)&lt;br /&gt;
&lt;br /&gt;
The script goes through the subdirectories of the directory you choose under &amp;lt;code&amp;gt;PATHS_WITH_FILES&amp;lt;/code&amp;gt; looking for files with &amp;#039;&amp;#039;&amp;#039;fq.gz&amp;#039;&amp;#039;&amp;#039; extension.&amp;lt;br /&amp;gt;&lt;br /&gt;
Example: if &amp;lt;code&amp;gt;path1: /lustre/nobackup/WUR/ABGC/shared/Chicken/Africa/X201SC20031230-Z01-F006_multipath&amp;lt;/code&amp;gt;, the subdirectory structure could be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;/lustre/nobackup/WUR/ABGC/shared/Chicken/Africa/X201SC20031230-Z01-F006_multipath  &lt;br /&gt;
├── X201SC20031230-Z01-F006_1  &lt;br /&gt;
│   └── raw_data  &lt;br /&gt;
│       ├── a109_26_15_1_H  &lt;br /&gt;
│       │   ├── a109_26_15_1_H_FDSW202597655-1r_HWFFFDSXY_L3_1.fq.gz  &lt;br /&gt;
│       │   ├── a109_26_15_1_H_FDSW202597655-1r_HWFFFDSXY_L3_2.fq.gz  &lt;br /&gt;
│       │   └── MD5.txt  &lt;br /&gt;
│       └── a20_10_16_1_H  &lt;br /&gt;
│           ├── a20_10_16_1_H_FDSW202597566-1r_HWFFFDSXY_L3_1.fq.gz  &lt;br /&gt;
│           ├── a20_10_16_1_H_FDSW202597566-1r_HWFFFDSXY_L3_2.fq.gz  &lt;br /&gt;
│           └── MD5.txt  &lt;br /&gt;
└── X201SC20031230-Z01-F006_2  &lt;br /&gt;
    └── raw_data  &lt;br /&gt;
        ├── a349_Be_17_1_C  &lt;br /&gt;
        │   ├── a349_Be_17_1_C_FDSW202597895-1r_HWFFFDSXY_L3_1.fq.gz  &lt;br /&gt;
        │   ├── a349_Be_17_1_C_FDSW202597895-1r_HWFFFDSXY_L3_2.fq.gz  &lt;br /&gt;
        │   └── MD5.txt  &lt;br /&gt;
        └── a360_Be_05_1_H  &lt;br /&gt;
            ├── a360_Be_05_1_H_FDSW202597906-1r_HWFFFDSXY_L3_1.fq.gz  &lt;br /&gt;
            ├── a360_Be_05_1_H_FDSW202597906-1r_HWFFFDSXY_L3_2.fq.gz  &lt;br /&gt;
            └── MD5.txt  &amp;lt;/pre&amp;gt;&lt;br /&gt;
== RESULTS ==&lt;br /&gt;
&lt;br /&gt;
* **&amp;lt;run_date&amp;gt;_files.txt** dated file with an overview of the files used to run the pipeline (for documentation purposes)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;processed_reads&amp;#039;&amp;#039;&amp;#039; directory with the bam files with the mapped reads for every sample&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;mapping_stats&amp;#039;&amp;#039;&amp;#039; directory containing the qualimap results and a summary of the qualimap results for all samples in &amp;lt;code&amp;gt;sample_quality_summary.tsv&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;qualimap&amp;#039;&amp;#039;&amp;#039; contains qualimap results per sample&lt;/div&gt;</summary>
		<author><name>Moiti001</name></author>
	</entry>
</feed>