<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Walkthrough</title><link>https://sourceforge.net/p/simulates/wiki/Walkthrough/</link><description>Recent changes to Walkthrough</description><atom:link href="https://sourceforge.net/p/simulates/wiki/Walkthrough/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 11 Dec 2017 10:42:37 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/simulates/wiki/Walkthrough/feed" rel="self" type="application/rss+xml"/><item><title>Walkthrough modified by Robert Kofler</title><link>https://sourceforge.net/p/simulates/wiki/Walkthrough/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v28
+++ v29
@@ -9,7 +9,7 @@
 ## Download the data:

 * chassis, i.e. the sequence into which TEs will be inserted: https://sourceforge.net/projects/simulates/files/validation_pop2/chasis1M.fasta/download
-* TE sequences: https://sourceforge.net/projects/simulates/files/validation_pop2/tehier-ml100noS4.txt/download
+* TE sequences: https://sourceforge.net/projects/simulates/files/validation_pop2/teseq-clean-ml100noS4.fasta/download

 ## generating the population genome definition (pgd)

@@ -56,7 +56,7 @@
 ## Download the data:

 * chassis, i.e. the sequence into which TEs will be inserted: https://sourceforge.net/projects/simulates/files/validation_pop2/chasis1M.fasta/download
-* TE sequences: https://sourceforge.net/projects/simulates/files/validation_pop2/tehier-ml100noS4.fasta/download
+* TE sequences: https://sourceforge.net/projects/simulates/files/validation_pop2/teseq-clean-ml100noS4.fasta/download

 ## Generate an empty template of a TE landscape

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Mon, 11 Dec 2017 10:42:37 -0000</pubDate><guid>https://sourceforge.nete2e27aa44ee478d9ea6b0bf10bbb1039ee1a0009</guid></item><item><title>Walkthrough modified by Robert Kofler</title><link>https://sourceforge.net/p/simulates/wiki/Walkthrough/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v27
+++ v28
@@ -9,7 +9,7 @@
 ## Download the data:

 * chassis, i.e. the sequence into which TEs will be inserted: https://sourceforge.net/projects/simulates/files/validation_pop2/chasis1M.fasta/download
-* TE sequences: https://sourceforge.net/projects/simulates/files/validation_pop2/tehier-ml100noS4.fasta/download
+* TE sequences: https://sourceforge.net/projects/simulates/files/validation_pop2/tehier-ml100noS4.txt/download

 ## generating the population genome definition (pgd)

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Mon, 11 Dec 2017 10:39:51 -0000</pubDate><guid>https://sourceforge.net63dbaaab35a2e7310a4709bac8b1d3562699f7f5</guid></item><item><title>Walkthrough modified by Robert Kofler</title><link>https://sourceforge.net/p/simulates/wiki/Walkthrough/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v26
+++ v27
@@ -3,7 +3,7 @@
 # Walkthrough 1: Random insertions; Pool-Seq; Illumina paired-end sequencing

 ## Introduction
-First a short walkthrough that demonstrates how to generate a random TE landscape and simulate Illumina paired-end reads for this landscape.
+This short walkthrough demonstrates how to generate a random TE landscape and how to simulate Illumina paired-end reads for this landscape.
 We simulate  1000 TE insertions in a population of N=100 haploid genomes. The TE insertions have a random position, family, strand and population frequency (between a range of 0.1 and 0.9). Finally we simulate Illumina paired-end data for a pooled population (Pool-Seq). 

 ## Download the data:
@@ -13,6 +13,7 @@

 ## generating the population genome definition (pgd)

+first we generate a pgd-file, i.e. a description of the TE landscape using our DSL (for details see https://sourceforge.net/p/simulates/wiki/Home/#manual)

 ~~~~~
 python define-landscape_random-insertions-freq-range.py --chassis chasis1M.fasta --te-seqs teseq-clean-ml100noS4.fasta --insert-count 1000 --min-freq 0.1 --max-freq 0.9 --min-distance 500 --N 100 --output mylandscape.pgd
@@ -21,6 +22,8 @@
 **Note**: we use a minimum distance of 500 between adjacent TE insertions

 ## build the population genome
+
+based on the pgd-file we generate the population genome

 ~~~~~~
 python build-population-genome.py --pgd mylandscape.pgd --te-seqs teseq-clean-ml100noS4.fasta --chassis chasis1M.fasta --output mylandscape.pg
@@ -34,8 +37,9 @@

 ## next steps

-The generated reads may be used as input for tools identifying TE insertions using Illumina data, such as PoPoolationTE2 or TEMP. 
-The reads may be used to i) validate tools for TE identification and ii)  test whether a given tool is suitable for TE identification in a species of interest.
+The obtained reads may be used as input for tools identifying TE insertions using Illumina data, such as PoPoolationTE2 or TEMP. 
+The reads may be used to i) validate tools for TE identification and ii)  test whether a given tool is suitable for TE identification in a species of interest (a particular set of genomic resources).
+
 An example, demonstrating TE identification with the simulated reads, can be found here: [Validation_Pop2]

 * PoPoolationTE2 https://academic.oup.com/mbe/article/33/10/2759/2925581/PoPoolationTE2-Comparative-Population-Genomics-of
@@ -46,7 +50,7 @@
 #Walkthrough 2: Manual insertions; Individual sequencing; PacBio sequencing

 ## Introduction
-Next a short walkthrough that demonstrates how to generate a custom TE landscape and simulate PacBio reads for this landscape.
+Next we show how to generate a custom TE landscape and simulate PacBio reads for this landscape.
 We simulate  5 TE insertions in a population of N=100 haploid genomes. The TE insertions have a random position. We manually specifiy the family the strand and the population frequency. Finally we simulate PacBio reads sequencing all individuals separately (assuming a diploid organism). 

 ## Download the data:
@@ -55,12 +59,17 @@
 * TE sequences: https://sourceforge.net/projects/simulates/files/validation_pop2/tehier-ml100noS4.fasta/download

 ## Generate an empty template of a TE landscape
+
+First we generate an empty pgd-file where we manually fill in the details for the TE insertions.
+
 ~~~~~
 python define-landscape_template.py --chassis chasis1M.fasta --te-seqs teseq-clean-ml100noS4.fasta --N 100 --insert-count 5 --output custom-landscape.pgd
 ~~~~~

 ## Define the landscape
-Following we show the empty template landscape *custom-lanscape.pgd* 
+
+Following the empty template landscape *custom-lanscape.pgd* 
+
 ~~~~~~
 1=$1     # M14653
 2=$2     # DME9736
@@ -75,9 +84,11 @@
 298778 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 439415 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 ~~~~~~
-The first part are the definition of the TE sequences and the second part specifies TE insertions in the 100 individuals, where a star indicates no insertion in a given individual. For more details on the population genome definition file see [describing_TE_landscapes] and [describing_TE_sequences]

-Now we edit the file and specifiy TE insertions as in the following example (dont forget to safe it):
+The first part defines the TE sequences and the second part specifies TE insertions in the 100 individuals, where a star indicates no insertion in a given haploid genome. For more details on the population genome definition file see [describing_TE_landscapes] and [describing_TE_sequences]
+
+Next we edit the file (using any text editor of choice) and specifiy TE insertions similarly as in the following example (don't forget to safe your changes):
+
 ~~~~~~
 # Chasis 2R; Length 1000000 nt
 mariner=$1     # M14653
@@ -96,8 +107,8 @@
 439415 * idefix * * idefix * * * mariner * idefix * * * * * * * * * * mariner * * * * * * * * * mariner * * * * * * * * * * * mariner mariner * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 ~~~~~~

-**Note** that we renammed some insertions, like *1* into *mariner*; this was just done for convenience and is not required; dealing with *mariner* may just be more intuitive than dealing with *1*
-**Note** that we generated two new insertions: *nest* is mariner  nested within OSV ; *multinest* are  several nested insertions within idefix; for details on our DSL for describing TE sequences see [describing_TE_sequences]
+**Note** that we re-named some insertions, like *1* into *mariner*; this was just done for convenience and is not required; dealing with *mariner* is just more intuitive than dealing with *1*
+**Note** that we generated two new insertions: *nest* is a mariner  nested within OSV ; *multinest* are  several nested insertions within idefix; for details on our DSL for describing TE sequences see [describing_TE_sequences]

 * insertion at position 150985: five individuals have a *nest* insertions; four on the plus strand one on the minus strand
 * insertion at position 158736: three individuals have a *multinest* insertion on the minus strand
@@ -110,6 +121,9 @@

 ## build population genome
+
+Based on our pgd-file we than build the population genome:
+
 ~~~~~
 python ~/dev/simulate/build-population-genome.py --pgd custom-landscape.pgd --chassis chasis1M.fasta --te-seqs teseq-clean-ml100noS4.fasta --output custom-landscape.pg
 ~~~~~
@@ -117,7 +131,7 @@
 ## simulate the reads
 PacBio reads frequently have a bimodal read length distribution; In this example we use the following read length distribution: https://sourceforge.net/projects/simulates/files/validation_reads/rld.txt/download

-The simulated reads will have the following length distribution
+which is visualized here:
 [[img src=rld.png ]]

 ~~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Tue, 25 Jul 2017 12:24:08 -0000</pubDate><guid>https://sourceforge.net371ccf8893909ceb2018cd7e0ed34e92260712a1</guid></item><item><title>Walkthrough modified by Robert Kofler</title><link>https://sourceforge.net/p/simulates/wiki/Walkthrough/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v25
+++ v26
@@ -38,7 +38,7 @@
 The reads may be used to i) validate tools for TE identification and ii)  test whether a given tool is suitable for TE identification in a species of interest.
 An example, demonstrating TE identification with the simulated reads, can be found here: [Validation_Pop2]

-* PoPoolationTE2 https://sourceforge.net/projects/popoolation-te2/
+* PoPoolationTE2 https://academic.oup.com/mbe/article/33/10/2759/2925581/PoPoolationTE2-Comparative-Population-Genomics-of
 * TEMP https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4066757/

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Fri, 07 Jul 2017 13:26:34 -0000</pubDate><guid>https://sourceforge.netabbe65c81534da875b84e7d0836c816567d76489</guid></item><item><title>Walkthrough modified by Robert Kofler</title><link>https://sourceforge.net/p/simulates/wiki/Walkthrough/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v24
+++ v25
@@ -37,6 +37,9 @@
 The generated reads may be used as input for tools identifying TE insertions using Illumina data, such as PoPoolationTE2 or TEMP. 
 The reads may be used to i) validate tools for TE identification and ii)  test whether a given tool is suitable for TE identification in a species of interest.
 An example, demonstrating TE identification with the simulated reads, can be found here: [Validation_Pop2]
+
+* PoPoolationTE2 https://sourceforge.net/projects/popoolation-te2/
+* TEMP https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4066757/

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Fri, 07 Jul 2017 13:24:31 -0000</pubDate><guid>https://sourceforge.netf9a1f6c7b94131e0169d12ba9a057f00d2cdfdf7</guid></item><item><title>Walkthrough modified by Robert Kofler</title><link>https://sourceforge.net/p/simulates/wiki/Walkthrough/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v23
+++ v24
@@ -34,7 +34,8 @@

 ## next steps

-The generated reads may be used as input for a tool identifying TE insertions, such as PoPoolationTE2 or TEMP. The reads may therefore be used to i) validate tools for TE identification and ii) to test if a tool is suitable for TE identification in a species of interest.
+The generated reads may be used as input for tools identifying TE insertions using Illumina data, such as PoPoolationTE2 or TEMP. 
+The reads may be used to i) validate tools for TE identification and ii)  test whether a given tool is suitable for TE identification in a species of interest.
 An example, demonstrating TE identification with the simulated reads, can be found here: [Validation_Pop2]

@@ -135,4 +136,6 @@
 ~~~~~

 ## next steps
+The generated reads may be used as input for tools identifying TE insertions using PacBio data, such as LoRTE https://mobilednajournal.biomedcentral.com/articles/10.1186/s13100-017-0088-x
+The reads may be used to i) validate tools for TE identification and ii) test whether a given tool is suitable for TE identification in a species of interest.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Fri, 07 Jul 2017 13:23:05 -0000</pubDate><guid>https://sourceforge.netbc95d5d12487657dc8def895aecec7560abe78a2</guid></item><item><title>Walkthrough modified by Robert Kofler</title><link>https://sourceforge.net/p/simulates/wiki/Walkthrough/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v22
+++ v23
@@ -122,8 +122,16 @@

 Additionally the reads will have an error rate of 10%, where half the errors are deletions and the other half insertions (*--deletion-fraction*); We have 100 haploid genomes thus 50 diploid individuals will be simulated (always two consecutive entries from the pgd-file). We simulate 10.000 reads for each diploid individual. 

+This command will generate the following 50 read files:
+
 ~~~~~
-files...
+-rw-r--r--  1 robertkofler  staff  113067241 Jul  7 14:05 reads1.fasta
+-rw-r--r--  1 robertkofler  staff  113444056 Jul  7 14:06 reads2.fasta
+-rw-r--r--  1 robertkofler  staff  112483761 Jul  7 14:07 reads3.fasta
+-rw-r--r--  1 robertkofler  staff  113818134 Jul  7 14:08 reads4.fasta
+...
+-rw-r--r--  1 robertkofler  staff  113177013 Jul  7 14:46 reads49.fasta
+-rw-r--r--  1 robertkofler  staff  113611996 Jul  7 14:47 reads50.fasta
 ~~~~~

 ## next steps
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Fri, 07 Jul 2017 13:19:09 -0000</pubDate><guid>https://sourceforge.net114f6856b08dd96727590ddd36857fddba0ad747</guid></item><item><title>Walkthrough modified by Robert Kofler</title><link>https://sourceforge.net/p/simulates/wiki/Walkthrough/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v21
+++ v22
@@ -120,7 +120,7 @@
 python read_individual_pacbio.py --pg custom-landscape.pg --rld-file rld.txt --error-rate 0.1 --deletion-fraction 0.5 --reads 10000 --fasta-prefix reads
 ~~~~~

-Additionally the reads will have an error rate of 10%, where half the errors are deletions and the other half insertions (*--deletion-fraction*); 10.000 reads will be simulated for each diploid individual. Since we have 100 haploid genomes, 50 diploid individuals will be simulated (always two consecutive haploid genomes from the pgd-file).
+Additionally the reads will have an error rate of 10%, where half the errors are deletions and the other half insertions (*--deletion-fraction*); We have 100 haploid genomes thus 50 diploid individuals will be simulated (always two consecutive entries from the pgd-file). We simulate 10.000 reads for each diploid individual. 

 ~~~~~
 files...
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Fri, 07 Jul 2017 07:56:50 -0000</pubDate><guid>https://sourceforge.netab12128ae851b51d07e9566ff937848db6265ef3</guid></item><item><title>Walkthrough modified by Robert Kofler</title><link>https://sourceforge.net/p/simulates/wiki/Walkthrough/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v20
+++ v21
@@ -126,4 +126,5 @@
 files...
 ~~~~~

+## next steps

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Thu, 06 Jul 2017 14:31:37 -0000</pubDate><guid>https://sourceforge.net3eaf877b0d2d2d02ece4d2c339815bd70e477ffa</guid></item><item><title>Walkthrough modified by Robert Kofler</title><link>https://sourceforge.net/p/simulates/wiki/Walkthrough/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v19
+++ v20
@@ -115,3 +115,15 @@

 The simulated reads will have the following length distribution
 [[img src=rld.png ]]
+
+~~~~~
+python read_individual_pacbio.py --pg custom-landscape.pg --rld-file rld.txt --error-rate 0.1 --deletion-fraction 0.5 --reads 10000 --fasta-prefix reads
+~~~~~
+
+Additionally the reads will have an error rate of 10%, where half the errors are deletions and the other half insertions (*--deletion-fraction*); 10.000 reads will be simulated for each diploid individual. Since we have 100 haploid genomes, 50 diploid individuals will be simulated (always two consecutive haploid genomes from the pgd-file).
+
+~~~~~
+files...
+~~~~~
+
+
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Thu, 06 Jul 2017 14:31:12 -0000</pubDate><guid>https://sourceforge.net79ca070f244fc5fd676d480e0c23b2a6ac84f90b</guid></item></channel></rss>