<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to DriverScripts</title><link>https://sourceforge.net/p/popoolation-te2/wiki/DriverScripts/</link><description>Recent changes to DriverScripts</description><atom:link href="https://sourceforge.net/p/popoolation-te2/wiki/DriverScripts/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 09 May 2016 09:01:56 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/popoolation-te2/wiki/DriverScripts/feed" rel="self" type="application/rss+xml"/><item><title>DriverScripts modified by Robert Kofler</title><link>https://sourceforge.net/p/popoolation-te2/wiki/DriverScripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -45,7 +45,7 @@
 ######################################################################
 ~~~~~

-### run-map.sh 
+## run-map.sh 

 Driver script for automating mapping. Download here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-map.sh/download

@@ -60,7 +60,7 @@
  * parameter3: output directory
 The result is *outputdir/map-pe.sort.bam*

-### run-popte2.sh
+## run-popte2.sh

 Driver script for automated TE identification with PoPoolationTE2 using default parameters;  Download script here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-popte2.sh/download

@@ -77,7 +77,7 @@
  The  results is *outputdir/tes.finalresult.txt*

-### run-map-popte2 
+## run-map-popte2 

 Driver script for automated mapping of reads and TE identification with PoPoolationTE2 using default parameters; Download the script here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-map-popte2.sh/download
@@ -95,7 +95,7 @@
  * parameter4: the minimum count for TE identification
  The  result is *outputdir/tes.finalresult.txt*

-### run-map-subs-popte2.sh
+## run-map-subs-popte2.sh

 Driver script for automated mapping of reads, subsampling of ppileup files and TE identification with PoPoolationTE2 using default parameters. Download the script here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-map-subs-popte2.sh/download

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Mon, 09 May 2016 09:01:56 -0000</pubDate><guid>https://sourceforge.net34a5d2792abc90c1467d9f424092bb6b3dc79084</guid></item><item><title>DriverScripts modified by Robert Kofler</title><link>https://sourceforge.net/p/popoolation-te2/wiki/DriverScripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -75,8 +75,10 @@
  * parameter2: the output directory
  * parameter3: the minimum count for TE identification
  The  results is *outputdir/tes.finalresult.txt*
- 
- ### run-map-popte2 
+
+
+### run-map-popte2 
+

 Driver script for automated mapping of reads and TE identification with PoPoolationTE2 using default parameters; Download the script here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-map-popte2.sh/download

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Tue, 26 Apr 2016 14:44:15 -0000</pubDate><guid>https://sourceforge.net42ad4f34047bd1b58241073d1601e418b67a21dd</guid></item><item><title>DriverScripts modified by Robert Kofler</title><link>https://sourceforge.net/p/popoolation-te2/wiki/DriverScripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -45,7 +45,8 @@
 ######################################################################
 ~~~~~

-### run-map.sh ###
+### run-map.sh 
+
 Driver script for automating mapping. Download here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-map.sh/download

  First update the configuration (see above) and than run the script like in the following example:
@@ -59,12 +60,11 @@
  * parameter3: output directory
 The result is *outputdir/map-pe.sort.bam*

-### run-popte2.sh###
+### run-popte2.sh

 Driver script for automated TE identification with PoPoolationTE2 using default parameters;  Download script here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-popte2.sh/download

- First update the configuration (see above) and than run the script like in the following example:
-
+First update the configuration (see above) and than run the script like in the following example:

 ~~~~~
 zsh run-popte2.sh input.sort.bam outputdir 2
@@ -76,24 +76,38 @@
  * parameter3: the minimum count for TE identification
  The  results is *outputdir/tes.finalresult.txt*

- ### run-map-popte2 ###
- Driver script for automated mapping of reads and TE identification with PoPoolationTE2 using default parameters; Download the script here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-map-popte2.sh/download
+ ### run-map-popte2 
+ 
+Driver script for automated mapping of reads and TE identification with PoPoolationTE2 using default parameters; Download the script here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-map-popte2.sh/download

  First update the configuration (see above) and than run the script like in the following example:
- 
- 
- ~~~~
- zsh run-map-popte2.sh input_1.fastq.gz input_2.fastq.gz outputdir 2
- ~~~~
- 
- 
+
+
+~~~~~
+zsh run-map-popte2.sh input_1.fastq.gz input_2.fastq.gz outputdir 2
+~~~~~
+
  * parameter1: first fastq file (may be zipped)
  * parameter2: second fastq file (may be zipped)
  * parameter3: output directory
  * parameter4: the minimum count for TE identification
  The  result is *outputdir/tes.finalresult.txt*

+### run-map-subs-popte2.sh
+
+Driver script for automated mapping of reads, subsampling of ppileup files and TE identification with PoPoolationTE2 using default parameters. Download the script here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-map-subs-popte2.sh/download
+
+First update the configuration (see above) and than run the script like in the following example:
+
+~~~~~
+zsh run-map-subs-popte2.sh input_1.fastq.gz input_2.fastq.gz outputdir 2 50
+~~~~~

+ * parameter1: first fastq file (may be zipped)
+ * parameter2: second fastq file (may be zipped)
+ * parameter3: output directory
+ * parameter4: the minimum count for TE identification
+ * parameter5: the target coverage for subsampling the ppileup file
+ The  result is *outputdir/tes.finalresult.txt*

-
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Tue, 26 Apr 2016 12:32:07 -0000</pubDate><guid>https://sourceforge.netcbbc5e3b616566cc9ab15fb92111b4520de7bc2d</guid></item><item><title>DriverScripts modified by Robert Kofler</title><link>https://sourceforge.net/p/popoolation-te2/wiki/DriverScripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -65,9 +65,11 @@

  First update the configuration (see above) and than run the script like in the following example:

-~~~~
+
+~~~~~
 zsh run-popte2.sh input.sort.bam outputdir 2
-~~~~
+~~~~~
+

  * parameter1: a sorted bam file containing paired-end reads mapped to a TE-merged-reference
  * parameter2: the output directory
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Tue, 26 Apr 2016 12:28:15 -0000</pubDate><guid>https://sourceforge.netd08211b19df616d35a9791ffa7b0140cf7ddf6bd</guid></item><item><title>DriverScripts modified by Robert Kofler</title><link>https://sourceforge.net/p/popoolation-te2/wiki/DriverScripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -48,7 +48,7 @@
 ### run-map.sh ###
 Driver script for automating mapping. Download here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-map.sh/download

-First change the configuration and than run like in the example below:
+ First update the configuration (see above) and than run the script like in the following example:

 ~~~~~
 zsh run-map.sh input_1.fastq.gz input_2.fastq.gz outputdir
@@ -57,13 +57,13 @@
  * parameter1: first fastq file (may be zipped)
  * parameter2: second fastq file (may be zipped)
  * parameter3: output directory
-Result is the file *outputdir/map-pe.sort.bam*
+The result is *outputdir/map-pe.sort.bam*

 ### run-popte2.sh###

-Driver script for automated running of PoPoolationTE2 using default parameters;  Download script here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-popte2.sh/download
+Driver script for automated TE identification with PoPoolationTE2 using default parameters;  Download script here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-popte2.sh/download

-First update the configuration file and run like in the example below
+ First update the configuration (see above) and than run the script like in the following example:

 ~~~~
 zsh run-popte2.sh input.sort.bam outputdir 2
@@ -72,9 +72,24 @@
  * parameter1: a sorted bam file containing paired-end reads mapped to a TE-merged-reference
  * parameter2: the output directory
  * parameter3: the minimum count for TE identification
- Results can be found in *outputdir/tes.finalresult.txt*
+ The  results is *outputdir/tes.finalresult.txt*
+ 
+ ### run-map-popte2 ###
+ Driver script for automated mapping of reads and TE identification with PoPoolationTE2 using default parameters; Download the script here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-map-popte2.sh/download
+ 
+ First update the configuration (see above) and than run the script like in the following example:

+ ~~~~
+ zsh run-map-popte2.sh input_1.fastq.gz input_2.fastq.gz outputdir 2
+ ~~~~
+ 
+ 
+ * parameter1: first fastq file (may be zipped)
+ * parameter2: second fastq file (may be zipped)
+ * parameter3: output directory
+ * parameter4: the minimum count for TE identification
+ The  result is *outputdir/tes.finalresult.txt*

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Tue, 26 Apr 2016 12:18:39 -0000</pubDate><guid>https://sourceforge.netce8bb0c28315aef966bea0e35ac5e2ece2efa2a6</guid></item><item><title>DriverScripts modified by Robert Kofler</title><link>https://sourceforge.net/p/popoolation-te2/wiki/DriverScripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -45,5 +45,38 @@
 ######################################################################
 ~~~~~

+### run-map.sh ###
+Driver script for automating mapping. Download here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-map.sh/download
+
+First change the configuration and than run like in the example below:
+
+~~~~~
+zsh run-map.sh input_1.fastq.gz input_2.fastq.gz outputdir
+~~~~~
+
+ * parameter1: first fastq file (may be zipped)
+ * parameter2: second fastq file (may be zipped)
+ * parameter3: output directory
+Result is the file *outputdir/map-pe.sort.bam*
+
+### run-popte2.sh###
+
+Driver script for automated running of PoPoolationTE2 using default parameters;  Download script here https://sourceforge.net/projects/popoolation-te2/files/driver-scripts/run-popte2.sh/download
+
+First update the configuration file and run like in the example below
+
+~~~~
+zsh run-popte2.sh input.sort.bam outputdir 2
+~~~~
+
+ * parameter1: a sorted bam file containing paired-end reads mapped to a TE-merged-reference
+ * parameter2: the output directory
+ * parameter3: the minimum count for TE identification
+ Results can be found in *outputdir/tes.finalresult.txt*
+ 
+ 

+
+
+
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Tue, 26 Apr 2016 12:11:29 -0000</pubDate><guid>https://sourceforge.net8f2f6728d97fd2ac5e42ba640f9d26b9acfcf34c</guid></item><item><title>DriverScripts modified by Robert Kofler</title><link>https://sourceforge.net/p/popoolation-te2/wiki/DriverScripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -5,7 +5,7 @@
 This is an advanced topic, so it would help if you have read the manual before and completed the [Walkthrough].
 The driver scripts are provided as shell scripts.

-# The driver scripts =
+# The driver scripts

 ## First steps: configuration 
 Before the driver scripts can be used it is necessary to edit them and fill in the common options.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Tue, 26 Apr 2016 11:52:03 -0000</pubDate><guid>https://sourceforge.net278037aa3a6cb485ee2d4a0345fe79417d6e663d</guid></item><item><title>DriverScripts modified by Robert Kofler</title><link>https://sourceforge.net/p/popoolation-te2/wiki/DriverScripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,17 +1,17 @@
 [TOC]

-= Introduction=
+# Introduction
 We generated a couple of shell scripts that allow automatizing some workflows with PoPoolationTE2.
 This is an advanced topic, so it would help if you have read the manual before and completed the [Walkthrough].
 The driver scripts are provided as shell scripts. 

-= The driver scripts =
+# The driver scripts =

-== First steps: configuration ==
+## First steps: configuration 
 Before the driver scripts can be used it is necessary to edit them and fill in the common options.
 The user needs to provide the **absolute** path to the bwa, samtools, PoPoolationTE2 (the jar), the TE-merged-reference and the TE-hierarchy. Editing can be done with any text editor (eg TextWrangler, vi, emacs).

-At the beginning of the file you will find the section:
+At the beginning of each driver script you  will find the following section. Please fill in with the correct values:

 ~~~~~
 #!/bin/zsh
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Tue, 26 Apr 2016 11:49:42 -0000</pubDate><guid>https://sourceforge.net8a8de3223d46949d38aa1652f72a517779d67da8</guid></item><item><title>DriverScripts modified by Robert Kofler</title><link>https://sourceforge.net/p/popoolation-te2/wiki/DriverScripts/</link><description>&lt;div class="markdown_content"&gt;&lt;div class="toc"&gt;&lt;/div&gt;
&lt;p&gt;= Introduction=&lt;br/&gt;
We generated a couple of shell scripts that allow automatizing some workflows with PoPoolationTE2.&lt;br/&gt;
This is an advanced topic, so it would help if you have read the manual before and completed the &lt;a class="alink" href="/p/popoolation-te2/wiki/Walkthrough/"&gt;[Walkthrough]&lt;/a&gt;.&lt;br/&gt;
The driver scripts are provided as shell scripts. &lt;/p&gt;
&lt;p&gt;= The driver scripts =&lt;/p&gt;
&lt;p&gt;== First steps: configuration ==&lt;br/&gt;
Before the driver scripts can be used it is necessary to edit them and fill in the common options.&lt;br/&gt;
The user needs to provide the &lt;strong&gt;absolute&lt;/strong&gt; path to the bwa, samtools, PoPoolationTE2 (the jar), the TE-merged-reference and the TE-hierarchy. Editing can be done with any text editor (eg TextWrangler, vi, emacs).&lt;/p&gt;
&lt;p&gt;At the beginning of the file you will find the section:&lt;/p&gt;
&lt;table class="codehilitetable"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="linenos"&gt;&lt;div class="linenodiv"&gt;&lt;pre&gt; 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="c"&gt;#!/bin/zsh&lt;/span&gt;
&lt;span class="c"&gt;#######################################################################&lt;/span&gt;
&lt;span class="c"&gt;################# CONFIGURATION OF SHELL SCRIPT  ######################&lt;/span&gt;
&lt;span class="c"&gt;################# PLEASE EDIT THE FOLLOWING      ######################&lt;/span&gt;

&lt;span class="c"&gt;# Note path to samtools and bwa have to be provided; This makes the analysis&lt;/span&gt;
&lt;span class="c"&gt;# more reproducible&lt;/span&gt;
&lt;span class="c"&gt;# path to samtools&lt;/span&gt;
&lt;span class="nv"&gt;samtools&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/Volumes/Temp/Robert/programs/samtools-1.2/samtools"&lt;/span&gt;

&lt;span class="c"&gt;# path to bwa&lt;/span&gt;
&lt;span class="nv"&gt;bwa&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/Volumes/Temp/Robert/programs/bwa-0.7.4/bwa"&lt;/span&gt;

&lt;span class="c"&gt;# threads for bwa&lt;/span&gt;
&lt;span class="nv"&gt;threads&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;8

&lt;span class="c"&gt;# path to the PoPoolationTE2.jar; replace the example with the correct value&lt;/span&gt;
&lt;span class="nv"&gt;popte2&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/Volumes/Temp/Robert/programs/popte2/popte2.jar"&lt;/span&gt;

&lt;span class="c"&gt;# path to the TE-merged-reference; replace the example with the corret value&lt;/span&gt;
&lt;span class="nv"&gt;refg&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/Volumes/Temp2/Robert/pop2simulations/refg/chasis1M/chasis1Mtes.fasta"&lt;/span&gt;

&lt;span class="c"&gt;# path to the TE-hierarchy; replace the example with the correct value&lt;/span&gt;
&lt;span class="nv"&gt;hier&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/Volumes/Temp2/Robert/pop2simulations/resources/tehier-ml100noS4.fasta"&lt;/span&gt;

&lt;span class="c"&gt;##################### END OF CONFIGURATION PART ######################&lt;/span&gt;
&lt;span class="c"&gt;##################### DO NOT EDIT FROM HERE ON #######################&lt;/span&gt;
&lt;span class="c"&gt;######################################################################&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Tue, 26 Apr 2016 11:48:35 -0000</pubDate><guid>https://sourceforge.netd48d4fde109c0e2f10baccdd85db0007a19ccbc5</guid></item></channel></rss>