Repository 'pal_finder'
hg clone https://toolshed.g2.bx.psu.edu/repos/pjbriggs/pal_finder

Changeset 2:b6ccc7dd7b02 (2015-12-04)
Previous changeset 1:771ebe02636f (2015-03-23) Next changeset 3:e1a14ed7a9d6 (2016-02-24)
Commit message:
Version 0.02.04.3.
modified:
README.rst
pal_finder_wrapper.sh
pal_finder_wrapper.xml
test-data/illuminaPE_filtered_microsats.out
test-data/illuminaPE_microsats.out
test-data/illuminaPE_r1.fq
test-data/illuminaPE_r2.fq
tool_dependencies.xml
added:
pal_finder_filter_and_assembly.py
test-data/illuminaPE_assembly.out
test-data/illuminaPE_assembly_after_filters.out
test-data/illuminaPE_filtered_microsats_assembly.out
test-data/illuminaPE_filtered_microsats_occurrences.out
test-data/illuminaPE_filtered_microsats_primers.out
test-data/illuminaPE_filtered_microsats_rankmotifs.out
removed:
pal_finder_filter.pl
b
diff -r 771ebe02636f -r b6ccc7dd7b02 README.rst
--- a/README.rst Mon Mar 23 07:01:37 2015 -0400
+++ b/README.rst Fri Dec 04 07:43:30 2015 -0500
b
@@ -7,16 +7,17 @@
 ======================
 
 Installation via the Galaxy Tool Shed will take of installing the tool wrapper and
-the pal_finder and primer3_core programs, and setting the appropriate environment
-variables.
+the pal_finder and primer3_core programs (plus additional dependencies), and setting
+the appropriate environment variables.
 
 Manual Installation
 ===================
 
-There are two files to install:
+There are three files to install:
 
 - ``pal_finder_wrapper.xml`` (the Galaxy tool definition)
 - ``pal_finder_wrapper.sh`` (the shell script wrapper)
+- ``pal_finder_filter_and_assembly.py`` (filtering utility)
 
 The suggested location is in a ``tools/pal_finder_wrapper/`` folder. You will then
 need to modify the ``tools_conf.xml`` file to tell Galaxy to offer the tool
@@ -30,10 +31,15 @@
 - ``Primer3`` version 2.0.0-alpha (see the pal_finder installation notes) can be
   obtained from http://primer3.sourceforge.net/releases.php
 
-The tool wrapper must be able to locate the pal_finder Perl script, the example
-pal_finder config.txt and simple.ref data files, and the primer3_core program - the
-locations of these are taken from the following enviroment variables which you will
-need to set manually:
+Additionally the filtering script needs ``BioPython`` and the ``PANDASeq`` program:
+
+- ``BioPython`` can be obtained from https://pypi.python.org/packages/source/b/biopython/
+- ``PANDASeq`` version 2.8.1 can be obtained from https://github.com/neufeld/pandaseq/
+
+The tool wrapper must be able to locate the ``pal_finder_v0.02.04.pl`` script, the
+example pal_finder ``config.txt`` and ``simple.ref`` data files, and the
+``primer3_core`` program - the locations of these are taken from the following
+enviroment variables which you will need to set manually:
 
 - ``PALFINDER_SCRIPT_DIR``: location of the pal_finder Perl script (defaults to /usr/bin)
 - ``PALFINDER_DATA_DIR``: location of the pal_finder data files (specifically config.txt
@@ -54,6 +60,10 @@
 ========== ======================================================================
 Version    Changes
 ---------- ----------------------------------------------------------------------
+0.02.04.3  - Update to the Illumina filtering script from Graeme Fox (including
+             new option to run ``PANDASeq`` assembly/QC steps), and corresponding
+      update to the tool; add support for input FASTQs to be a dataset
+      collection pair.
 0.02.04.2  - Fix bug that causes tool to fail when prefix includes spaces;
              add explicit dependency on Perl 5.16.3.
 0.02.04.1  - Add option to run Graeme Fox's ``pal_finder_filter.pl`` script to
b
diff -r 771ebe02636f -r b6ccc7dd7b02 pal_finder_filter.pl
--- a/pal_finder_filter.pl Mon Mar 23 07:01:37 2015 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
[
@@ -1,112 +0,0 @@
-############################################################
-# Graeme Fox  -  25/09/2014 - graeme.fox@manchester.ac.uk
-#
-# Program to filter output from pal_finder/primer3 workflow
-#
-# Filters output based on "Primers found (1=y,0=n)" and 
-# "occurrences of forward/reverse amplifiable primer in reads".
-# Filters out any non-perfect microsatellites.
-# Ranks microsatellites by motif size (largest first)
-#
-# Usage:
-# Give it the file that ends with:
-# "(microsatellites_with_read_IDs_and_primer_pairs)].txt"
-#
-# with the following syntax: 
-# perl pal_finder_filter.pl /path/to/input/file
-#
-# File will be created called "pal_finder_filter_output.txt"
-# in the current directory
-############################################################
-
-#!/usr/bin/perl -w
-use strict;
-
-my @lines;                                   
-my @output;                                  
-my $outfile = 'pal_finder_filter_output.txt';     
-
-# Open the file for reading
-my $filename = $ARGV[0];   
-open (my $file, '<', $filename);  
-
-# Grab the headers and store them 
-my $header;
-while (my $line = <$file>)
-{
-  if ($line =~ m/^readPair/) {
-# push (@output, $line)             
- $header = $line;
- } else {
-
-# Send everything else to array for sorting
- push (@lines, $line);                  
- }
-}
-close $file;
-chomp (@lines);
-
-############################################################
-# Filter the file on the "Primers found (1=y,0=n)" column
-# ie. Drop all the lines which do not have primer sequences
-############################################################
-my @temporary1;
-my @temporary2;
-foreach (@lines) { 
-@temporary1 = split(/\t/, $_);
- if ($temporary1[5] == 1) {
- push (@temporary2, $_);
- }
-}
-
-############################################################
-# Filter any lines which do not have "1" in the "Occurances 
-# of Reverse/Forward Primer in Reads" field
-############################################################
-my @temporary3;
-my @temporary4;
-foreach (@temporary2) { 
-@temporary3 = split(/\t/, $_);
- if ($temporary3[16] == 1 && $temporary3[15] == 1) {
- push (@temporary4, $_);
- }
-}
-
-############################################################
-# Filter any non-perfect repeats
-############################################################
-my @temporary5;
-my @temporary6;
-my $count;
-foreach (@temporary4) { 
- @temporary5 = split(/\t/, $_);
- $count = ($temporary5[1] =~ tr/\(//);
- if ($count == 1) {
- push (@temporary6, $_);
- }
-}
-############################################################
-# Get size of repeat motif. Order by size (largest first)
-############################################################
-my @temporary7;
-my @temporary8;
-my $motif;
-my $count2 = 2;
-while ($count2 < 10) {
- foreach (@temporary6) {
- @temporary7 = split(/\t/, $_);  
- #get size of motif:
- $motif = () = ($temporary7[1] =~ /[A-Z]/gi );  
- if ($motif == $count2) {
- unshift (@output, join( "\t", @temporary7),"\n");
- }
- }
-$count2++;
-}
-############################################################
-# Open and populate the output file
-############################################################
-unshift (@output, $header);
-open (FILE, "> $outfile") || die "Problem opening $outfile\n";
-print FILE @output;
-close(FILE);
b
diff -r 771ebe02636f -r b6ccc7dd7b02 pal_finder_filter_and_assembly.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pal_finder_filter_and_assembly.py Fri Dec 04 07:43:30 2015 -0500
[
b'@@ -0,0 +1,363 @@\n+#!/usr/bin/python -tt\n+\n+###########################################################\n+# Graeme Fox - 26/09/2015 - graeme.fox@manchester.ac.uk\n+# Tested on (L)ubuntu 15.04 only, with Python 2.7\n+###########################################################\n+# PROGRAM DESCRIPTION\n+# Program to pick optimum loci from the output of pal_finder_v0.02.04\n+# and to predict the fragment length.\n+#\n+# This program can be used to filter pal_finder output to choose the \'optimum\' loci.\n+#\n+# Additionally this program can assemble the two paired end reads,\n+# find the primers within HQ assembly, log their positions\n+# and calculate the difference to give the fragment length.\n+#\n+# For best results in your PCR, I suggest doing both.\n+#\n+###########################################################\n+# Requirements:\n+# Must have Biopython (www.biopython.org).\n+#\n+# If you with to perform the assembly QC step, you must have:\n+# PandaSeq (https://github.com/neufeld/pandaseq)\n+# PandaSeq must be in your path / able to run from anywhere\n+###########################################################\n+# Required options:\n+# -i forward_paired_ends.fastQ\n+# -j reverse_paired_ends.fastQ\n+# -p pal_finder output - the "(microsatellites with read IDs and primer pairs)" file\n+#\n+# By default it does nothing.\n+#\n+# Non-required options:\n+# -assembly:  turn on the pandaseq assembly QC step\n+# -primers:  filter microsatellite loci to just those which have primers designed\n+# -occurrences:  filter microsatellite loci to those with primers which appear only once in the dataset\n+# -rankmotifs:  filter microsatellite loci to just those with perfect motifs. Rank the output by size of motif (largest first)\n+#\n+###########################################################\n+# For repeat analysis, the following extra non-required options may be useful:\n+# PandaSeq Assembly, and fastq -> fasta conversion are slow.\n+#\n+# Do them the first time, generate the files and then skip either, or both steps with the following:\n+# -a:  skip assembly step\n+# -c:  skip fastq -> fasta conversion step\n+#\n+# # Just make sure to keep the files in the correct directory with the correct filename\n+###########################################################\n+#\n+# Example usage:\n+# pal_finder_filter_and_assembly.py -i R1.fastq -j R2.fastq -p pal_finder_output_(microsatellites with read IDs and primer pairs).tabular -primers -occurrences -rankmotifs -assembly\n+#\n+###########################################################\n+import Bio, subprocess, argparse, csv, os, re, time\n+from Bio import SeqIO\n+\n+# Get values for all the required and optional arguments\n+\n+parser = argparse.ArgumentParser(description=\'Frag_length_finder\')\n+parser.add_argument(\'-i\',\'--input1\', help=\'Forward paired-end fastq file\', required=True)\n+parser.add_argument(\'-j\',\'--input2\', help=\'Reverse paired-end fastq file\', required=True)\n+parser.add_argument(\'-p\',\'--pal_finder\', help=\'Output from pal_finder \', required=True)\n+parser.add_argument(\'-assembly\',\'--assembly_QC\', help=\'Perform the PandaSeq based QC\', nargs=\'?\', const=1, type=int, required=False)\n+parser.add_argument(\'-a\',\'--skip_assembly\', help=\'If the assembly has already been run, skip it with -a\', nargs=\'?\', const=1, type=int, required=False)\n+parser.add_argument(\'-c\',\'--skip_conversion\', help=\'If the fastq to fasta conversion has already been run, skip it with -c\', nargs=\'?\', const=1, type=int, required=False)\n+parser.add_argument(\'-primers\',\'--filter_by_primer_column\', help=\'Filter pal_finder output to just those loci which have primers designed\', nargs=\'?\', const=1, type=int, required=False)\n+parser.add_argument(\'-occurrences\',\'--filter_by_occurrences_column\', help=\'Filter pal_finder output to just loci with primers which only occur once in the dataset\', nargs=\'?\', const=1, type=int, required=False)\n+parser.add_argument(\'-rankmotifs\',\'--filter_and_rank_by_motif_size\', help=\'Filter pal_finder output to just loci which are a perfect repeat unit. Also'..b'will need\n+    assembly_file = "Assembly_adapters_removed.fasta" # Assembled fasta file\n+    R1_fasta = os.path.splitext(os.path.basename(R1_input))[0] + "_filtered.fasta"    # filtered R1 reads\n+    R2_fasta = os.path.splitext(os.path.basename(R2_input))[0] + "_filtered.fasta"   # filtered R2 reads\n+    outputfilename = os.path.splitext(os.path.basename(R1_input))[0]\n+\n+# parse the files with SeqIO\n+    assembly_sequences = SeqIO.parse(assembly_file,\'fasta\')\n+    R1fasta_sequences = SeqIO.parse(R1_fasta,\'fasta\')\n+\n+# create some empty lists to hold the ID tags we are interested in\n+    assembly_IDs = []\n+    fasta_IDs = []\n+\n+# populate the above lists with sequence IDs\n+    for sequence in assembly_sequences:\n+        assembly_IDs.append(sequence.id)\n+    for sequence in R1fasta_sequences:\n+        fasta_IDs.append(sequence.id)\n+\n+# Index the assembly fasta file\n+    assembly_sequences_index = SeqIO.index(assembly_file,\'fasta\')\n+    R1fasta_sequences_index = SeqIO.index(R1_fasta,\'fasta\')\n+    R2fasta_sequences_index = SeqIO.index(R2_fasta,\'fasta\')\n+\n+# prepare the output file\n+    with open (outputfilename + "_pal_finder_assembly_output.txt", \'w\') as outputfile:\n+        outputfile.write("readPairID\\t Forward Primer\\t F Primer Position in Assembled Read\\t Reverse Primer\\t R Primer Position in Assembled Read\\t Predicted Amplicon Size (bp)\\t Motifs(bases)\\t Assembled Read ID\\t Assembled Read Sequence\\t Raw Forward Read ID\\t Raw Forward Read Sequence\\t Raw Reverse Read ID\\t Raw Reverse Read Sequence\\n")\n+\n+# cycle through parameters from the pal_finder output\n+        for x, y, z, a in zip(seqIDs, F_primers, R_primers, motif):\n+            if str(x) in assembly_IDs:\n+            # get the raw sequences ready to go into the output file\n+                assembly_seq = (assembly_sequences_index.get_raw(x).decode())\n+            # fasta entries need to be converted to single line so they sit nicely in the output\n+                assembly_output = assembly_seq.replace("\\n","\\t")\n+                R1_fasta_seq = (R1fasta_sequences_index.get_raw(x).decode())\n+                R1_output = R1_fasta_seq.replace("\\n","\\t",1).replace("\\n","")\n+                #R1_output = R1_output.replace("\\n","")\n+                R2_fasta_seq = (R2fasta_sequences_index.get_raw(x).decode())\n+                R2_output = R2_fasta_seq.replace("\\n","\\t",1).replace("\\n","")\n+                #R2_output = R2_output.replace("\\n","")\n+                assembly_no_id = \'\\n\'.join(assembly_seq.split(\'\\n\')[1:])\n+\n+# check that both primer sequences can be seen in the assembled contig\n+                if y or ReverseComplement1(y) in assembly_no_id and z or ReverseComplement1(z) in assembly_no_id:\n+                    if y in assembly_no_id:\n+                    # get the positions of the primers in the assembly to predict fragment length\n+                        F_position = assembly_no_id.index(y)+len(y)+1\n+                    if ReverseComplement1(y) in assembly_no_id:\n+                        F_position = assembly_no_id.index(ReverseComplement1(y))+len(ReverseComplement1(y))+1\n+                    if z in assembly_no_id:\n+                        R_position = assembly_no_id.index(z)+1\n+                    if ReverseComplement1(z) in assembly_no_id:\n+                        R_position = assembly_no_id.index(ReverseComplement1(z))+1\n+                # calculate fragment length\n+                    fragment_length = R_position-F_position\n+\n+# write everything out into the output file\n+                    output = (str(x) + "\\t" + y + "\\t" + str(F_position) + "\\t" + (z) + "\\t" + str(R_position) + "\\t" + str(fragment_length) + "\\t" + a + "\\t" + assembly_output + R1_output + "\\t" + R2_output + "\\n")\n+                    outputfile.write(output)\n+    print "\\nFinished\\n"\n+else:\n+    if (skip_assembly == 1 or skip_conversion == 1):\n+        print "\\nERROR: You cannot supply the -a flag or the -c flag without also supplying the -assembly flag.\\n"\n+        print "\\nFinished\\n"\n'
b
diff -r 771ebe02636f -r b6ccc7dd7b02 pal_finder_wrapper.sh
--- a/pal_finder_wrapper.sh Mon Mar 23 07:01:37 2015 -0400
+++ b/pal_finder_wrapper.sh Fri Dec 04 07:43:30 2015 -0500
[
@@ -26,8 +26,11 @@
 # --primer-opt-tm VALUE: optimum melting temperature (Celsius)
 # --primer-pair-max-diff-tm VALUE: max difference between melting temps of left & right primers
 # --output_config_file FNAME: write a copy of the config.txt file to FNAME
-# --filter_microsats FNAME: run Graeme Fox's Perl script to filter and sort the
-#                           microsatellites from pal_finder and write to FNAME
+# --filter_microsats FNAME: write output of filter options FNAME
+# -assembly FNAME: run the 'assembly' filter option and write to FNAME
+# -primers: run the 'primers' filter option
+# -occurrences: run the 'occurrences' filter option
+# -rankmotifs: run the 'rankmotifs' filter option
 #
 # pal_finder is available from http://sourceforge.net/projects/palfinder/
 #
@@ -55,9 +58,9 @@
 : ${PRIMER3_CORE_EXE:=primer3_core}
 #
 # Filter script is in the same directory as this script
-PALFINDER_FILTER_PL=$(dirname $0)/pal_finder_filter.pl
-if [ ! -f $PALFINDER_FILTER_PL ] ; then
-    echo No pal_finder_filter.pl script >&2
+PALFINDER_FILTER=$(dirname $0)/pal_finder_filter_and_assembly.py
+if [ ! -f $PALFINDER_FILTER ] ; then
+    echo No $PALFINDER_FILTER script >&2
     exit 1
 fi
 #
@@ -104,7 +107,9 @@
 PRIMER_MIN_TM=
 PRIMER_PAIR_MAX_DIFF_TM=
 OUTPUT_CONFIG_FILE=
+OUTPUT_ASSEMBLY=
 FILTERED_MICROSATS=
+FILTER_OPTIONS=
 #
 # Collect command line arguments
 if [ $# -lt 2 ] ; then
@@ -129,8 +134,8 @@
     case "$1" in
  --primer-prefix)
      shift
-     # Convert spaces to underscores in prefix
-     PRIMER_PREFIX=$(echo $1 | tr " " "_")
+     # Convert all non-alphanumeric characters to underscores in prefix
+     PRIMER_PREFIX=$(echo -n $1 | tr -s -c "[:alnum:]" "_")
      ;;
  --2merMinReps)
      shift
@@ -208,6 +213,14 @@
      shift
      FILTERED_MICROSATS=$1
      ;;
+ -primers|-occurrences|-rankmotifs)
+     FILTER_OPTIONS="$FILTER_OPTIONS $1"
+     ;;
+ -assembly)
+     FILTER_OPTIONS="$FILTER_OPTIONS $1"
+     shift
+     OUTPUT_ASSEMBLY=$1
+     ;;
  *)
      echo Unknown option: $1 >&2
      exit 1
@@ -309,15 +322,25 @@
     exit 1
 fi
 #
-# Run the pal_finder_filter.pl script from Graeme Fox
-if [ ! -z "$FILTERED_MICROSATS" ] ; then
-    echo "### Running filtering script ###"
-    perl $PALFINDER_FILTER_PL Output/PAL_summary.txt 2>&1
+# Sort outputs into a consistent order regardless of Perl version
+echo "### Sorting outputs ###"
+head -1 Output/PAL_summary.txt > Output/PAL_summary.sorted.txt
+if [ "$PLATFORM" == "Illumina" ] ; then
+    grep -v "^readPairID" Output/PAL_summary.txt | sort -k 1 >> Output/PAL_summary.sorted.txt
+else
+    grep -v "^SequenceID" Output/PAL_summary.txt | sort -k 1 >> Output/PAL_summary.sorted.txt
+fi
+mv Output/PAL_summary.sorted.txt Output/PAL_summary.txt
+#
+# Run the filtering & assembly script
+if [ ! -z "$FILTERED_MICROSATS" ] || [ ! -z "$OUTPUT_ASSEMBLY" ] ; then
+    echo "### Running filtering & assembly script ###"
+    python $PALFINDER_FILTER -i $fastq_r1 -j $fastq_r2 -p Output/PAL_summary.txt $FILTER_OPTIONS 2>&1
     if [ $? -ne 0 ] ; then
- echo ERROR pal_finder_filter.pl exited with non-zero status >&2
+ echo ERROR $PALFINDER_FILTER exited with non-zero status >&2
  exit 1
-    elif [ ! -f pal_finder_filter_output.txt ] ; then
- echo ERROR no output from pal_finder_filter.pl >&2
+    elif [ ! -f PAL_summary.filtered ] ; then
+ echo ERROR no output from $PALFINDER_FILTER >&2
  exit 1
     fi
 fi
@@ -330,8 +353,14 @@
 if [ -f Output/PAL_summary.txt ] ; then
     /bin/mv Output/PAL_summary.txt $PAL_SUMMARY
 fi
-if [ ! -z "$FILTERED_MICROSATS" ] && [ -f pal_finder_filter_output.txt ] ; then
-    /bin/mv pal_finder_filter_output.txt $FILTERED_MICROSATS
+if [ ! -z "$FILTERED_MICROSATS" ] && [ -f PAL_summary.filtered ] ; then
+    /bin/mv PAL_summary.filtered $FILTERED_MICROSATS
+fi
+if [ ! -z "$OUTPUT_ASSEMBLY" ] ; then
+    assembly=${fastq_r1%.*}_pal_finder_assembly_output.txt
+    if [ -f "$assembly" ] ; then
+ /bin/mv $assembly "$OUTPUT_ASSEMBLY"
+    fi
 fi
 if [ ! -z "$OUTPUT_CONFIG_FILE" ] && [ -f config.txt ] ; then
     /bin/mv config.txt $OUTPUT_CONFIG_FILE
b
diff -r 771ebe02636f -r b6ccc7dd7b02 pal_finder_wrapper.xml
--- a/pal_finder_wrapper.xml Mon Mar 23 07:01:37 2015 -0400
+++ b/pal_finder_wrapper.xml Fri Dec 04 07:43:30 2015 -0500
b
b'@@ -1,17 +1,28 @@\n-<tool id="microsat_pal_finder" name="pal_finder" version="0.02.04.2">\n-  <description>Find microsatellite repeat elements sequencing reads and design PCR primers to amplify them</description>\n+<tool id="microsat_pal_finder" name="pal_finder" version="0.02.04.3">\n+  <description>Find microsatellite repeat elements from sequencing reads and design PCR primers to amplify them</description>\n+  <requirements>\n+    <requirement type="package" version="5.16.3">perl</requirement>\n+    <requirement type="package" version="0.02.04">pal_finder</requirement>\n+    <requirement type="package" version="2.0.0">primer3_core</requirement>\n+    <requirement type="package" version="1.65">biopython</requirement>\n+    <requirement type="package" version="2.8.1">pandaseq</requirement>\n+  </requirements>\n   <command interpreter="bash">pal_finder_wrapper.sh\n   #if str( $platform.platform_type ) == "illumina"\n-    $platform.input_fastq_r1 $platform.input_fastq_r2\n+    #set $paired_input_type = $platform.paired_input_type_conditional.paired_input_type\n+    #if $paired_input_type == "pair_of_files"\n+      "$platform.paired_input_type_conditional.input_fastq_r1"\n+      "$platform.paired_input_type_conditional.input_fastq_r2"\n+    #else\n+      "$platform.paired_input_type_conditional.input_fastq_pair.forward"\n+      "$platform.paired_input_type_conditional.input_fastq_pair.reverse"\n+    #end if\n   #else\n-    --454 $platform.input_fasta\n+    --454 "$platform.input_fasta"\n   #end if\n   $output_microsat_summary $output_pal_summary\n-  #if str( $platform.platform_type ) == "illumina" and $platform.filter_microsats\n-    --filter_microsats $output_filtered_microsats\n-  #end if\n   #if $keep_config_file\n-    --output_config_file $output_config_file\n+    --output_config_file "$output_config_file"\n   #end if\n   --primer-prefix "$primer_prefix"\n   --2merMinReps $min_2mer_repeats\n@@ -35,12 +46,18 @@\n   #if str( $mispriming.mispriming_options ) == "custom"\n   --primer-mispriming-library $mispriming.mispriming_library\n   #end if\n+  #if str( $platform.platform_type ) == "illumina"\n+    #if $platform.filters\n+      #for $filter in str($platform.filters).split(\',\')\n+        $filter\n+        --filter_microsats "$output_filtered_microsats"\n+      #end for\n+    #end if\n+    #if str( $platform.assembly ) == \'-assembly\'\n+      $platform.assembly "$output_assembly"\n+    #end if\n+  #end if\n   </command>\n-  <requirements>\n-    <requirement type="package" version="5.16.3">perl</requirement>\n-    <requirement type="package" version="0.02.04">pal_finder</requirement>\n-    <requirement type="package" version="2.0.0">primer3_core</requirement>\n-  </requirements>\n   <inputs>\n     <param name="primer_prefix" type="text" value="test" size="25" label="Primer prefix" help="This prefix will be added to the beginning of all primer names" />\n     <conditional name="platform">\n@@ -49,11 +66,33 @@\n \t<option value="454">454</option>\n       </param>\n       <when value="illumina">\n-\t<param name="input_fastq_r1" type="data" format="fastqsanger" label="Illumina fastq file (read 1)" />\n-\t<param name="input_fastq_r2" type="data" format="fastqsanger" label="Illumina fastq file (read 2)" />\n-\t<param name="filter_microsats" type="boolean" truevalue="True" falsevalue="False"\n-\t       label="Filter and sort the microsatellites" checked="True"\n-\t       help="Filter pal_finder results to only include lines with primer sequences and remove non-perfect repeats" />\n+\t<conditional name="paired_input_type_conditional">\n+          <param name="paired_input_type" type="select" label="Input Type">\n+            <option value="pair_of_files" selected="true">Pair of datasets</option>\n+            <option value="collection">Dataset collection pair</option>\n+\t  </param>\n+\t  <when value="pair_of_files">\n+\t    <param name="input_fastq_r1" type="data" format="fastqsanger"\n+\t\t   label="Illumina fastq file (read 1)" />\n+\t    <param name="input_fastq_r2" type="data" format="fastqsanger"\n+\t\t   label="Illumina '..b'types.out" />\n+      <output name="output_pal_summary" file="illuminaPE_microsats.out" />\n+      <output name="output_filtered_microsats" file="illuminaPE_filtered_microsats_occurrences.out" />\n+    </test>\n+    <test>\n+      <!-- Test with Illumina input filter and rank loci with perfect motifs\n+\t   (\'-rankmotifs\' option) -->\n+      <param name="platform_type" value="illumina" />\n+      <param name="filters" value="-rankmotifs" />\n+      <param name="assembly" value="false" />\n+      <param name="input_fastq_r1" value="illuminaPE_r1.fq" ftype="fastqsanger" />\n+      <param name="input_fastq_r2" value="illuminaPE_r2.fq" ftype="fastqsanger" />\n+      <output name="output_microsat_summary" file="illuminaPE_microsat_types.out" />\n+      <output name="output_pal_summary" file="illuminaPE_microsats.out" />\n+      <output name="output_filtered_microsats" file="illuminaPE_filtered_microsats_rankmotifs.out" />\n     </test>\n     <test>\n       <!-- Test with 454 input -->\n       <param name="platform_type" value="454" />\n       <param name="input_fasta" value="454_in.fa" ftype="fasta" />\n-      <!-- \n-      **NB** outputs have to be specified in order that they appear in the\n-      tool (which is the order they will be written to the history) - the\n-      test framework seems to use the order and ignores the "name" attribute\n-      -->\n       <output name="output_microsat_summary" file="454_microsat_types.out" />\n       <output name="output_pal_summary" file="454_microsats.out" />\n     </test>\n@@ -163,9 +258,15 @@\n directly from raw 454 or Illumina paired-end sequencing reads. It then designs PCR\n primers to amplify these repeat loci (Potentially Amplifiable Loci: PAL).\n \n-Optionally for Illumina data, the output from pal_finder can also be filtered to\n-remove any motifs without primer sequences, and with non-perfect microsatellites.\n-The microsatellites are then ranked by motif size (largest to smallest).\n+Optionally for Illumina data, one or more filters can be applied to the output from\n+pal_finder to:\n+\n+ * Only include loci with designed primers\n+ * Exclude loci where the primer sequences occur more than once in the reads\n+ * Only include loci with \'perfect\' motifs (and rank by motif size,largest to\n+   smallest)\n+ * Use PANDAseq to assemble paired-end reads and confirm primer sequences are\n+   present in high-quality assembly\n \n Pal_finder runs the primer3_core program; information on the settings used in\n primer3_core can be found in the Primer3 manual at\n@@ -199,12 +300,12 @@\n The paper is available at\n http://purl.com/STEVEROZEN/papers/rozen-and-skaletsky-2000-primer3.pdf\n \n-The filtering and sorting of the pal_finder output for Illumina data is performed\n-using a Perl script written by Graeme Fox at the University of Manchester, and which\n-is included with this tool.\n+The filtering and assembly of the pal_finder output for Illumina data is performed\n+using a Python utility written by Graeme Fox at the University of Manchester, and which\n+is included with this tool; this utility uses the BioPython and PANDAseq packages.\n \n Please kindly acknowledge both this Galaxy tool, the pal_finder and primer3 packages, and\n-the utility script if you use it in your work.\n+the utility script and its dependencies if you use it in your work.\n   </help>\n   <citations>\n     <!--\n@@ -214,7 +315,7 @@\n     -->\n     <citation type="doi">10.1371/journal.pone.0030953</citation>\n     <citation type="bibtex">@Article{pmid10547847,\n-    Author="Rozen, S.  and Skaletsky, H. ",\n+    Author="Rozen, S. and Skaletsky, H. ",\n     Title="{{P}rimer3 on the {W}{W}{W} for general users and for biologist programmers}",\n     Journal="Methods Mol. Biol.",\n     Year="2000",\n@@ -222,5 +323,7 @@\n     Pages="365--386",\n     URL="{http://purl.com/STEVEROZEN/papers/rozen-and-skaletsky-2000-primer3.pdf}"\n     }</citation>\n+    <citation type="doi">10.1093/bioinformatics/btp163</citation>\n+    <citation type="doi">10.1186/1471-2105-13-31</citation>\n   </citations>\n </tool>\n'
b
diff -r 771ebe02636f -r b6ccc7dd7b02 test-data/illuminaPE_assembly.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/illuminaPE_assembly.out Fri Dec 04 07:43:30 2015 -0500
b
@@ -0,0 +1,2 @@
+readPairID  Forward Primer  F Primer Position in Assembled Read  Reverse Primer  R Primer Position in Assembled Read  Predicted Amplicon Size (bp)  Motifs(bases)  Assembled Read ID  Assembled Read Sequence  Raw Forward Read ID  Raw Forward Read Sequence  Raw Reverse Read ID  Raw Reverse Read Sequence
+ILLUMINA-545855:49:FC61RLR:2:1:19063:1614 1 1 0 AT(14) AT(14) AT(14) AT(14)  >ILLUMINA-545855:49:FC61RLR:2:1:19063:1614 TATATATATATATACACATATATATATATATTTTTTACATTATTTCACTTCGCCCAAACTAGAGAGTCTAACAAAGTACAACCCAGCATATTAAAGTTCATCTCAGTTTTGTTCTGAAATGAGAAAAAAATATATATATATATGTTTATATATATATATA >ILLUMINA-545855:49:FC61RLR:2:1:19063:1614 TATATATATATATACACATATATATATATATTTTTTACATTATTTCACTTCGCCCAAACTAGAGAGTCTAACAAAGTACAACCCAGCATATTAAAGTTCATCTCAGTTTTGTTCTG >ILLUMINA-545855:49:FC61RLR:2:1:19063:1614 TATATATATATATAAACATATATATATATATTTTTTTCTCATTTCAGAACAAAAGTGAGATGAACTTTAATATGGTGGGGTGTATTTTGAGAGACTCTCTAGTTTGGGAGGAGTGA
b
diff -r 771ebe02636f -r b6ccc7dd7b02 test-data/illuminaPE_assembly_after_filters.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/illuminaPE_assembly_after_filters.out Fri Dec 04 07:43:30 2015 -0500
b
@@ -0,0 +1,1 @@
+readPairID  Forward Primer  F Primer Position in Assembled Read  Reverse Primer  R Primer Position in Assembled Read  Predicted Amplicon Size (bp)  Motifs(bases)  Assembled Read ID  Assembled Read Sequence  Raw Forward Read ID  Raw Forward Read Sequence  Raw Reverse Read ID  Raw Reverse Read Sequence
b
diff -r 771ebe02636f -r b6ccc7dd7b02 test-data/illuminaPE_filtered_microsats.out
--- a/test-data/illuminaPE_filtered_microsats.out Mon Mar 23 07:01:37 2015 -0400
+++ b/test-data/illuminaPE_filtered_microsats.out Fri Dec 04 07:43:30 2015 -0500
b
@@ -1,4 +1,4 @@
-readPairID Motifs(bases) Bases in all Motifs Possible Extended Possible Spanning Primers found (1=y,0=n) F Primer Name Forward Primer R Primer Name Reverse Primer Amplicon Motifs Number motif bases in amplicon Primers on sep reads Extend with primers Spand with primers Occurances of Forward Primer in Reads Occurances of Reverse Primer in Reads Occurances of Amplifiable Primer Pair in Reads Occurances of Amplifiable Primer Pair in PALs
-ILLUMINA-545855_0049_FC61RLR:2:1:8157:1636#0 AC(12)  12 1 test_5 AAGTACAGTGGGGAGGCTGG test_6 TTTTCTACACAGCTCAAGTAGCCC AC(12)  12 1 1 1 1 1
-ILLUMINA-545855_0049_FC61RLR:2:1:10979:1695#0 TC(14)  14 1 test_7 TTCTCCCACTATATTTTGCATTGG test_8 TCCAGACTGAAGCTACCCTGG TC(14)  14 1 1 1 1 1
-ILLUMINA-545855_0049_FC61RLR:2:1:1978:1220#0 AC(12)  12 1 test_3 GCAGTAAACAAAGGCAAAGGG test_4 CCTGGGCAGAGGTGTTCC AC(12)  12 1 1 1 1 1
+readPairID Motifs(bases) Bases in all Motifs Possible Extended Possible Spanning Primers found (1=y,0=n) F Primer Name Forward Primer R Primer Name Reverse Primer Amplicon Motifs Number motif bases in amplicon Primers on sep reads Extend with primers Spand with primers Occurances of Forward Primer in Reads Occurances of Reverse Primer in Reads Occurances of Amplifiable Primer Pair in Reads Occurances of Amplifiable Primer Pair in PALs R1_Sequence_ID R1_Sequence R2_Sequence_ID R2_Sequence
+ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 AC(12)  12 1 test_5 AAGTACAGTGGGGAGGCTGG test_6 TTTTCTACACAGCTCAAGTAGCCC AC(12)  12 1 1 1 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 1:N:0:TCCTGA TACTAGTCTAATAATTGCAGGCAGCTGAACTAGATAGGTCCTAAAGTACAGTGGGGAGGCTGGTGTGTGTGTGTGCATGGGATTGTCAGCCTTACCATCAGTCCTGATTTGTAGGT >ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 2:N:0:TCCTGA TAAACAACCAAATGAAACCATCTTTTCTACACAGCTCAAGTAGCCCTACATACAACACAAGCCACCTACAAATCAGGACTGATGGTAAGGCTGACAATCCAATCCACCACAACAAC
+ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 AC(12)  12 1 test_3 GCAGTAAACAAAGGCAAAGGG test_4 CCTGGGCAGAGGTGTTCC AC(12)  12 1 1 1 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 1:N:0:TCCTGA TCATAAGAATGAGCAGTAAACAAAGGCAAAGGGGAGATAACACACACACACAAAATAAAAAAACATCAATTTCTAATACACGCCTTTATTATAAAGAAATAAATCACTGAAAAACA >ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 2:N:0:TCCTGA TCCTCTGACTAGGCAACAACAGCTTTTTTGCTCCTGGGCAGAGGTGTTCCGAGTGTATATTTTTTATAATTACGGCGCGCATTGGAAATTGATGTTATTTTATTTTGCGTGTGTGT
+ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 TC(14)  14 1 test_7 TTCTCCCACTATATTTTGCATTGG test_8 TCCAGACTGAAGCTACCCTGG TC(14)  14 1 1 1 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 1:N:0:TCCTGA TACTGTTTAGAATAGACTGTTCTCCCACTATATTTTGCATTGGTGCATACTCAGCTTTAGTAATAAGTGTGATTCTGGTAGAGAGAGAGAGAGATACCAACCTCTTCTTCCCACTA >ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 2:N:0:TCCTGA TACTGTTTAGAAAGCCTGTTCCAGAACTTGATCACTGTCACAGAAAATCTTTCTTACTATCCAGACTGAAGCTACCCTGGTGCAGCTTTGTGCTGTTACCTTGAGTCATGTCATCA
b
diff -r 771ebe02636f -r b6ccc7dd7b02 test-data/illuminaPE_filtered_microsats_assembly.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/illuminaPE_filtered_microsats_assembly.out Fri Dec 04 07:43:30 2015 -0500
b
@@ -0,0 +1,11 @@
+readPairID Motifs(bases) Bases in all Motifs Possible Extended Possible Spanning Primers found (1=y,0=n) F Primer Name Forward Primer R Primer Name Reverse Primer Amplicon Motifs Number motif bases in amplicon Primers on sep reads Extend with primers Spand with primers Occurances of Forward Primer in Reads Occurances of Reverse Primer in Reads Occurances of Amplifiable Primer Pair in Reads Occurances of Amplifiable Primer Pair in PALs
+ILLUMINA-545855:0049:FC61RLR:2:1:1978:1220 AC(12)  12 1 test_3 GCAGTAAACAAAGGCAAAGGG test_4 CCTGGGCAGAGGTGTTCC AC(12)  12 1 1 1 1 1
+ILLUMINA-545855:0049:FC61RLR:2:1:5879:1238 AT(12)  12 0
+ILLUMINA-545855:0049:FC61RLR:2:1:17449:1584 AC(36)  36 0
+ILLUMINA-545855:0049:FC61RLR:2:1:8157:1636 AC(12)  12 1 test_5 AAGTACAGTGGGGAGGCTGG test_6 TTTTCTACACAGCTCAAGTAGCCC AC(12)  12 1 1 1 1 1
+ILLUMINA-545855:0049:FC61RLR:2:1:8044:1926 AT(12)  12 0
+ILLUMINA-545855:0049:FC61RLR:2:1:5626:1554 AT(14) AC(16) AC(16) AT(12)  58 0
+ILLUMINA-545855:0049:FC61RLR:2:1:10979:1695 TC(14)  14 1 test_7 TTCTCCCACTATATTTTGCATTGG test_8 TCCAGACTGAAGCTACCCTGG TC(14)  14 1 1 1 1 1
+ILLUMINA-545855:0049:FC61RLR:2:1:19063:1614 AT(14) AT(14) AT(14) AT(14)  56 0
+ILLUMINA-545855:0049:FC61RLR:2:1:6204:1090 TC(12)  12 0
+ILLUMINA-545855:0049:FC61RLR:2:1:8899:1514 AC(12) AC(12)  24 1 test_2 TCTTTATCTAAACACATCCTGAAATACC test_1 AAACGCAATTATTTTGAGATGTCC AC(12) AC(12)  24 1 1 2 1 1
b
diff -r 771ebe02636f -r b6ccc7dd7b02 test-data/illuminaPE_filtered_microsats_occurrences.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/illuminaPE_filtered_microsats_occurrences.out Fri Dec 04 07:43:30 2015 -0500
b
@@ -0,0 +1,4 @@
+readPairID Motifs(bases) Bases in all Motifs Possible Extended Possible Spanning Primers found (1=y,0=n) F Primer Name Forward Primer R Primer Name Reverse Primer Amplicon Motifs Number motif bases in amplicon Primers on sep reads Extend with primers Spand with primers Occurances of Forward Primer in Reads Occurances of Reverse Primer in Reads Occurances of Amplifiable Primer Pair in Reads Occurances of Amplifiable Primer Pair in PALs R1_Sequence_ID R1_Sequence R2_Sequence_ID R2_Sequence
+ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 TC(14)  14 1 test_7 TTCTCCCACTATATTTTGCATTGG test_8 TCCAGACTGAAGCTACCCTGG TC(14)  14 1 1 1 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 1:N:0:TCCTGA TACTGTTTAGAATAGACTGTTCTCCCACTATATTTTGCATTGGTGCATACTCAGCTTTAGTAATAAGTGTGATTCTGGTAGAGAGAGAGAGAGATACCAACCTCTTCTTCCCACTA >ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 2:N:0:TCCTGA TACTGTTTAGAAAGCCTGTTCCAGAACTTGATCACTGTCACAGAAAATCTTTCTTACTATCCAGACTGAAGCTACCCTGGTGCAGCTTTGTGCTGTTACCTTGAGTCATGTCATCA
+ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 AC(12)  12 1 test_3 GCAGTAAACAAAGGCAAAGGG test_4 CCTGGGCAGAGGTGTTCC AC(12)  12 1 1 1 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 1:N:0:TCCTGA TCATAAGAATGAGCAGTAAACAAAGGCAAAGGGGAGATAACACACACACACAAAATAAAAAAACATCAATTTCTAATACACGCCTTTATTATAAAGAAATAAATCACTGAAAAACA >ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 2:N:0:TCCTGA TCCTCTGACTAGGCAACAACAGCTTTTTTGCTCCTGGGCAGAGGTGTTCCGAGTGTATATTTTTTATAATTACGGCGCGCATTGGAAATTGATGTTATTTTATTTTGCGTGTGTGT
+ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 AC(12)  12 1 test_5 AAGTACAGTGGGGAGGCTGG test_6 TTTTCTACACAGCTCAAGTAGCCC AC(12)  12 1 1 1 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 1:N:0:TCCTGA TACTAGTCTAATAATTGCAGGCAGCTGAACTAGATAGGTCCTAAAGTACAGTGGGGAGGCTGGTGTGTGTGTGTGCATGGGATTGTCAGCCTTACCATCAGTCCTGATTTGTAGGT >ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 2:N:0:TCCTGA TAAACAACCAAATGAAACCATCTTTTCTACACAGCTCAAGTAGCCCTACATACAACACAAGCCACCTACAAATCAGGACTGATGGTAAGGCTGACAATCCAATCCACCACAACAAC
b
diff -r 771ebe02636f -r b6ccc7dd7b02 test-data/illuminaPE_filtered_microsats_primers.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/illuminaPE_filtered_microsats_primers.out Fri Dec 04 07:43:30 2015 -0500
b
@@ -0,0 +1,5 @@
+readPairID Motifs(bases) Bases in all Motifs Possible Extended Possible Spanning Primers found (1=y,0=n) F Primer Name Forward Primer R Primer Name Reverse Primer Amplicon Motifs Number motif bases in amplicon Primers on sep reads Extend with primers Spand with primers Occurances of Forward Primer in Reads Occurances of Reverse Primer in Reads Occurances of Amplifiable Primer Pair in Reads Occurances of Amplifiable Primer Pair in PALs R1_Sequence_ID R1_Sequence R2_Sequence_ID R2_Sequence
+ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 TC(14)  14 1 test_7 TTCTCCCACTATATTTTGCATTGG test_8 TCCAGACTGAAGCTACCCTGG TC(14)  14 1 1 1 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 1:N:0:TCCTGA TACTGTTTAGAATAGACTGTTCTCCCACTATATTTTGCATTGGTGCATACTCAGCTTTAGTAATAAGTGTGATTCTGGTAGAGAGAGAGAGAGATACCAACCTCTTCTTCCCACTA >ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 2:N:0:TCCTGA TACTGTTTAGAAAGCCTGTTCCAGAACTTGATCACTGTCACAGAAAATCTTTCTTACTATCCAGACTGAAGCTACCCTGGTGCAGCTTTGTGCTGTTACCTTGAGTCATGTCATCA
+ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 AC(12)  12 1 test_3 GCAGTAAACAAAGGCAAAGGG test_4 CCTGGGCAGAGGTGTTCC AC(12)  12 1 1 1 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 1:N:0:TCCTGA TCATAAGAATGAGCAGTAAACAAAGGCAAAGGGGAGATAACACACACACACAAAATAAAAAAACATCAATTTCTAATACACGCCTTTATTATAAAGAAATAAATCACTGAAAAACA >ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 2:N:0:TCCTGA TCCTCTGACTAGGCAACAACAGCTTTTTTGCTCCTGGGCAGAGGTGTTCCGAGTGTATATTTTTTATAATTACGGCGCGCATTGGAAATTGATGTTATTTTATTTTGCGTGTGTGT
+ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 AC(12)  12 1 test_5 AAGTACAGTGGGGAGGCTGG test_6 TTTTCTACACAGCTCAAGTAGCCC AC(12)  12 1 1 1 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 1:N:0:TCCTGA TACTAGTCTAATAATTGCAGGCAGCTGAACTAGATAGGTCCTAAAGTACAGTGGGGAGGCTGGTGTGTGTGTGTGCATGGGATTGTCAGCCTTACCATCAGTCCTGATTTGTAGGT >ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 2:N:0:TCCTGA TAAACAACCAAATGAAACCATCTTTTCTACACAGCTCAAGTAGCCCTACATACAACACAAGCCACCTACAAATCAGGACTGATGGTAAGGCTGACAATCCAATCCACCACAACAAC
+ILLUMINA-545855:49:FC61RLR:2:1:8899:1514 AC(12) AC(12)  24 1 test_2 TCTTTATCTAAACACATCCTGAAATACC test_1 AAACGCAATTATTTTGAGATGTCC AC(12) AC(12)  24 1 1 2 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:8899:1514 1:N:0:TCCTGA TCTTTATCTAAACACATCCTGAAATACCATCTGTTACACACACACACAGCAGTGGAAGTATAAAAAAAAATCTGGACATCTCAAAATAATTGCGTTTCTGAAGTGTTACATTTTTC >ILLUMINA-545855:49:FC61RLR:2:1:8899:1514 2:N:0:TCCTGA TATCATTGAAATTTTTATAAAAACTGTGAAGAGAAAAATGTAACACTTCAGAAACGCAATTATTTTGAGATGTCCAGATTTTTTTTTATACTTCCACTGCTGTGTGTGTGTGTAAC
b
diff -r 771ebe02636f -r b6ccc7dd7b02 test-data/illuminaPE_filtered_microsats_rankmotifs.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/illuminaPE_filtered_microsats_rankmotifs.out Fri Dec 04 07:43:30 2015 -0500
b
@@ -0,0 +1,8 @@
+readPairID Motifs(bases) Bases in all Motifs Possible Extended Possible Spanning Primers found (1=y,0=n) F Primer Name Forward Primer R Primer Name Reverse Primer Amplicon Motifs Number motif bases in amplicon Primers on sep reads Extend with primers Spand with primers Occurances of Forward Primer in Reads Occurances of Reverse Primer in Reads Occurances of Amplifiable Primer Pair in Reads Occurances of Amplifiable Primer Pair in PALs R1_Sequence_ID R1_Sequence R2_Sequence_ID R2_Sequence
+ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 AC(12)  12 1 test_5 AAGTACAGTGGGGAGGCTGG test_6 TTTTCTACACAGCTCAAGTAGCCC AC(12)  12 1 1 1 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 1:N:0:TCCTGA TACTAGTCTAATAATTGCAGGCAGCTGAACTAGATAGGTCCTAAAGTACAGTGGGGAGGCTGGTGTGTGTGTGTGCATGGGATTGTCAGCCTTACCATCAGTCCTGATTTGTAGGT >ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 2:N:0:TCCTGA TAAACAACCAAATGAAACCATCTTTTCTACACAGCTCAAGTAGCCCTACATACAACACAAGCCACCTACAAATCAGGACTGATGGTAAGGCTGACAATCCAATCCACCACAACAAC
+ILLUMINA-545855:49:FC61RLR:2:1:8044:1926 AT(12)  12 0 >ILLUMINA-545855:49:FC61RLR:2:1:8044:1926 1:N:0:TCCTGA TAGATTTTTTTTTTTATATATATATAAATATAGATGTACATATATTTATATAAATATAAAAGCACAGCATCCTCCTGTCTCTCCTCCTGATTTATTATGGTTAAAGCTTGTGACAG >ILLUMINA-545855:49:FC61RLR:2:1:8044:1926 2:N:0:TCCTGA TCAGGCAAGGTCACTGCCACCACTGGGGAGTGCCTGTTTCTGAAGGGCCCAGCCAACTCTGTCACAAGCTTTAACCATAATAAATCAGGAGGAGAGACAGGAGGATGCTGTGCTTT
+ILLUMINA-545855:49:FC61RLR:2:1:6204:1090 TC(12)  12 0 >ILLUMINA-545855:49:FC61RLR:2:1:6204:1090 1:N:0:TCCTGA TGCTTTGGTTCTAAGAGAAAAACAATTATTATAAATGTTTATAATTGATGATAAGCATTTTTGTACAAAGCCAAGACCATTCTGAATGAAGCACCCAAAAAGCCCGGAGGCAACAA >ILLUMINA-545855:49:FC61RLR:2:1:6204:1090 2:N:0:TCCTGA TGCTTTGGTTCTAAGAGAAAAACAAGTGATGCACAAGCAATTCCTCGCCACCACCCAACTGATGCCCAGCCACCCCCCCAAGCAGTGAAAGAGAGAGAGAGATGAACCCCCTTCAA
+ILLUMINA-545855:49:FC61RLR:2:1:5879:1238 AT(12)  12 0 >ILLUMINA-545855:49:FC61RLR:2:1:5879:1238 1:N:0:TCCTGA TCCCCACCCTGTCATGGTTCTATGTTTTTGTTTTTGTTTTTGTTTTTATGGTTTCCGTATTCCACATTAAAACCTTATGTAACGTACGGGCCAATAAATAGTTACTCGCCATATCC >ILLUMINA-545855:49:FC61RLR:2:1:5879:1238 2:N:0:TCCTGA TCCCCACCCTGTCATGGTTCTATGTATATATATATAGCCATGTGTGTGGTACCAGGGATAGGTACCTGGGATTGGGGCAGTGACACTTTAGTGCCCCGTACACTACATGATGTTTT
+ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 AC(12)  12 1 test_3 GCAGTAAACAAAGGCAAAGGG test_4 CCTGGGCAGAGGTGTTCC AC(12)  12 1 1 1 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 1:N:0:TCCTGA TCATAAGAATGAGCAGTAAACAAAGGCAAAGGGGAGATAACACACACACACAAAATAAAAAAACATCAATTTCTAATACACGCCTTTATTATAAAGAAATAAATCACTGAAAAACA >ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 2:N:0:TCCTGA TCCTCTGACTAGGCAACAACAGCTTTTTTGCTCCTGGGCAGAGGTGTTCCGAGTGTATATTTTTTATAATTACGGCGCGCATTGGAAATTGATGTTATTTTATTTTGCGTGTGTGT
+ILLUMINA-545855:49:FC61RLR:2:1:17449:1584 AC(36)  36 0 >ILLUMINA-545855:49:FC61RLR:2:1:17449:1584 1:N:0:TCCTGA TCGTAGCATGTGTATGCTTTGGGGTTTCATGCTGTTGATTCATAACTGCTGCTGGCTGTAGACTGAACCTTCTGGGTAGGAGGAATATGCTTAGACAAGCACACCAGTCAGCCCGA >ILLUMINA-545855:49:FC61RLR:2:1:17449:1584 2:N:0:TCCTGA TCTGTGTGTGAGCACACACACACACACACACACACACACACACACACATGCAGGTACTTGCTCTGCCACCCCTGGCGGGCTGCGTGGTGTGCCTGACGACGTATTCTAATCCTACA
+ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 TC(14)  14 1 test_7 TTCTCCCACTATATTTTGCATTGG test_8 TCCAGACTGAAGCTACCCTGG TC(14)  14 1 1 1 1 1 >ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 1:N:0:TCCTGA TACTGTTTAGAATAGACTGTTCTCCCACTATATTTTGCATTGGTGCATACTCAGCTTTAGTAATAAGTGTGATTCTGGTAGAGAGAGAGAGAGATACCAACCTCTTCTTCCCACTA >ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 2:N:0:TCCTGA TACTGTTTAGAAAGCCTGTTCCAGAACTTGATCACTGTCACAGAAAATCTTTCTTACTATCCAGACTGAAGCTACCCTGGTGCAGCTTTGTGCTGTTACCTTGAGTCATGTCATCA
b
diff -r 771ebe02636f -r b6ccc7dd7b02 test-data/illuminaPE_microsats.out
--- a/test-data/illuminaPE_microsats.out Mon Mar 23 07:01:37 2015 -0400
+++ b/test-data/illuminaPE_microsats.out Fri Dec 04 07:43:30 2015 -0500
b
@@ -1,11 +1,11 @@
 readPairID Motifs(bases) Bases in all Motifs Possible Extended Possible Spanning Primers found (1=y,0=n) F Primer Name Forward Primer R Primer Name Reverse Primer Amplicon Motifs Number motif bases in amplicon Primers on sep reads Extend with primers Spand with primers Occurances of Forward Primer in Reads Occurances of Reverse Primer in Reads Occurances of Amplifiable Primer Pair in Reads Occurances of Amplifiable Primer Pair in PALs
-ILLUMINA-545855_0049_FC61RLR:2:1:8044:1926#0 AT(12)  12 0
-ILLUMINA-545855_0049_FC61RLR:2:1:1978:1220#0 AC(12)  12 1 test_3 GCAGTAAACAAAGGCAAAGGG test_4 CCTGGGCAGAGGTGTTCC AC(12)  12 1 1 1 1 1
-ILLUMINA-545855_0049_FC61RLR:2:1:5879:1238#0 AT(12)  12 0
-ILLUMINA-545855_0049_FC61RLR:2:1:8899:1514#0 AC(12) AC(12)  24 1 test_2 TCTTTATCTAAACACATCCTGAAATACC test_1 AAACGCAATTATTTTGAGATGTCC AC(12) AC(12)  24 1 1 2 1 1
-ILLUMINA-545855_0049_FC61RLR:2:1:10979:1695#0 TC(14)  14 1 test_7 TTCTCCCACTATATTTTGCATTGG test_8 TCCAGACTGAAGCTACCCTGG TC(14)  14 1 1 1 1 1
-ILLUMINA-545855_0049_FC61RLR:2:1:5626:1554#0 AT(14) AC(16) AC(16) AT(12)  58 0
-ILLUMINA-545855_0049_FC61RLR:2:1:8157:1636#0 AC(12)  12 1 test_5 AAGTACAGTGGGGAGGCTGG test_6 TTTTCTACACAGCTCAAGTAGCCC AC(12)  12 1 1 1 1 1
-ILLUMINA-545855_0049_FC61RLR:2:1:19063:1614#0 AT(14) AT(14) AT(14) AT(14)  56 0
-ILLUMINA-545855_0049_FC61RLR:2:1:17449:1584#0 AC(36)  36 0
-ILLUMINA-545855_0049_FC61RLR:2:1:6204:1090#0 TC(12)  12 0
+ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 TC(14)  14 1 test_7 TTCTCCCACTATATTTTGCATTGG test_8 TCCAGACTGAAGCTACCCTGG TC(14)  14 1 1 1 1 1
+ILLUMINA-545855:49:FC61RLR:2:1:17449:1584 AC(36)  36 0
+ILLUMINA-545855:49:FC61RLR:2:1:19063:1614 AT(14) AT(14) AT(14) AT(14)  56 0
+ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 AC(12)  12 1 test_3 GCAGTAAACAAAGGCAAAGGG test_4 CCTGGGCAGAGGTGTTCC AC(12)  12 1 1 1 1 1
+ILLUMINA-545855:49:FC61RLR:2:1:5626:1554 AT(14) AC(16) AC(16) AT(12)  58 0
+ILLUMINA-545855:49:FC61RLR:2:1:5879:1238 AT(12)  12 0
+ILLUMINA-545855:49:FC61RLR:2:1:6204:1090 TC(12)  12 0
+ILLUMINA-545855:49:FC61RLR:2:1:8044:1926 AT(12)  12 0
+ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 AC(12)  12 1 test_5 AAGTACAGTGGGGAGGCTGG test_6 TTTTCTACACAGCTCAAGTAGCCC AC(12)  12 1 1 1 1 1
+ILLUMINA-545855:49:FC61RLR:2:1:8899:1514 AC(12) AC(12)  24 1 test_2 TCTTTATCTAAACACATCCTGAAATACC test_1 AAACGCAATTATTTTGAGATGTCC AC(12) AC(12)  24 1 1 2 1 1
b
diff -r 771ebe02636f -r b6ccc7dd7b02 test-data/illuminaPE_r1.fq
--- a/test-data/illuminaPE_r1.fq Mon Mar 23 07:01:37 2015 -0400
+++ b/test-data/illuminaPE_r1.fq Fri Dec 04 07:43:30 2015 -0500
[
@@ -1,40 +1,40 @@
-@ILLUMINA-545855_0049_FC61RLR:2:1:10979:1695#0/1
+@ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 1:N:0:TCCTGA
 TACTGTTTAGAATAGACTGTTCTCCCACTATATTTTGCATTGGTGCATACTCAGCTTTAGTAATAAGTGTGATTCTGGTAGAGAGAGAGAGAGATACCAACCTCTTCTTCCCACTA
 +
-hhhhhghhhfgghhcfghhhhhhghhhhhhhhhhhhgfhhhhgfhhhhggghggfghhggdgghfgfcgcgggffgdf`gfcfdgdfdfafbdcaccfddecddbfcdfcdcdcdW
-@ILLUMINA-545855_0049_FC61RLR:2:1:17449:1584#0/1
+IIIIIHIIIGHHIIDGHIIIIIIHIIIIIIIIIIIIHGIIIIHGIIIIHHHIHHGHIIHHEHHIGHGDHDHHHGGHEGAHGDGEHEGEGBGCEDBDDGEEFDEECGDEGDEDEDE8
+@ILLUMINA-545855:49:FC61RLR:2:1:17449:1584 1:N:0:TCCTGA
 TCGTAGCATGTGTATGCTTTGGGGTTTCATGCTGTTGATTCATAACTGCTGCTGGCTGTAGACTGAACCTTCTGGGTAGGAGGAATATGCTTAGACAAGCACACCAGTCAGCCCGA
 +
-hhhhhhhhhhghhhhhfhhhhehhhhhhfhhhhfahgahhhghhhhghhgggdgeggedegdedhbgdffcacaccM\^^[`_^^^aaaacaaa^_bddd_aaa_a[VQ^Z_BBBB
-@ILLUMINA-545855_0049_FC61RLR:2:1:19063:1614#0/1
+IIIIIIIIIIHIIIIIGIIIIFIIIIIIGIIIIGBIHBIIIHIIIIHIIHHHEHFHHFEFHEFEICHEGGDBDBDD.=??<A@???BBBBDBBB?@CEEE@BBB@B<72?;@####
+@ILLUMINA-545855:49:FC61RLR:2:1:19063:1614 1:N:0:TCCTGA
 TATATATATATATACACATATATATATATATTTTTTACATTATTTCACTTCGCCCAAACTAGAGAGTCTAACAAAGTACAACCCAGCATATTAAAGTTCATCTCAGTTTTGTTCTG
 +
-hhhhhhhfhdhhhhfhhhgghghfhfhhhhhghhhhgfadhhhhghegghgehhhhegehghhgee]dddacfccZacWccaaccafgfggggded\cabcdddadadfgf`eg_d
-@ILLUMINA-545855_0049_FC61RLR:2:1:1978:1220#0/1
+IIIIIIIGIEIIIIGIIIHHIHIGIGIIIIIHIIIIHGBEIIIIHIFHHIHFIIIIFHFIHIIHFF>EEEBDGDD;BD8DDBBDDBGHGHHHHEFE=DBCDEEEBEBEGHGAFH@E
+@ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 1:N:0:TCCTGA
 TCATAAGAATGAGCAGTAAACAAAGGCAAAGGGGAGATAACACACACACACAAAATAAAAAAACATCAATTTCTAATACACGCCTTTATTATAAAGAAATAAATCACTGAAAAACA
 +
-cccccacaccaV^aaaTaa]P^[^WW]ccc^SGURUVZ]^Q[PUS\Z]W[Occc]]`U`^]ZZU]JU]][]SLWSWSWWWE_c__cc[cZc]]^[XccZUccb[ccZ[WW_BBBBB
-@ILLUMINA-545855_0049_FC61RLR:2:1:5626:1554#0/1
+DDDDDBDBDDB7?BBB5BB>1?<?88>DDD?4(6367;>?2<164=;>8<0DDD>>A6A?>;;6>+6>><>4-8484888&@D@@DD<D;D>>?<9DD;6DDC<DD;<88@#####
+@ILLUMINA-545855:49:FC61RLR:2:1:5626:1554 1:N:0:TCCTGA
 TCTAATATTATATATATCTGTGTGTGTATATATATATATACACACACACACACACATTGCTATTGTTAAATTAACCACCTTTTTATTTATAATACTATTATAACACTTATCTGTAT
 +
-R[\[[Zaddbb`d`ada_aY_VUVXQPX[Y]\a\__^^`XZa____BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
-@ILLUMINA-545855_0049_FC61RLR:2:1:5879:1238#0/1
+3<=<<;BEECCAEABEB@B:@7679219<:>=B=@@??A9;B@@@@######################################################################
+@ILLUMINA-545855:49:FC61RLR:2:1:5879:1238 1:N:0:TCCTGA
 TCCCCACCCTGTCATGGTTCTATGTTTTTGTTTTTGTTTTTGTTTTTATGGTTTCCGTATTCCACATTAAAACCTTATGTAACGTACGGGCCAATAAATAGTTACTCGCCATATCC
 +
-BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
-@ILLUMINA-545855_0049_FC61RLR:2:1:6204:1090#0/1
+####################################################################################################################
+@ILLUMINA-545855:49:FC61RLR:2:1:6204:1090 1:N:0:TCCTGA
 TGCTTTGGTTCTAAGAGAAAAACAATTATTATAAATGTTTATAATTGATGATAAGCATTTTTGTACAAAGCCAAGACCATTCTGAATGAAGCACCCAAAAAGCCCGGAGGCAACAA
 +
-BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
-@ILLUMINA-545855_0049_FC61RLR:2:1:8044:1926#0/1
+####################################################################################################################
+@ILLUMINA-545855:49:FC61RLR:2:1:8044:1926 1:N:0:TCCTGA
 TAGATTTTTTTTTTTATATATATATAAATATAGATGTACATATATTTATATAAATATAAAAGCACAGCATCCTCCTGTCTCTCCTCCTGATTTATTATGGTTAAAGCTTGTGACAG
 +
-gggggggggggggggegefegdeeceXQ\_\]ZZZ\gggfggggggggggggggggfgggeggggegecggggggggggggggggfggffggggggggggdggggfdgggded]da
-@ILLUMINA-545855_0049_FC61RLR:2:1:8157:1636#0/1
+HHHHHHHHHHHHHHHFHFGFHEFFDF92=@=>;;;=HHHGHHHHHHHHHHHHHHHHGHHHFHHHHFHFDHHHHHHHHHHHHHHHHGHHGGHHHHHHHHHHEHHHHGEHHHEFE>EB
+@ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 1:N:0:TCCTGA
 TACTAGTCTAATAATTGCAGGCAGCTGAACTAGATAGGTCCTAAAGTACAGTGGGGAGGCTGGTGTGTGTGTGTGCATGGGATTGTCAGCCTTACCATCAGTCCTGATTTGTAGGT
 +
-gggggggggggggegggggfggggggfggggfgggggg]ggffffeeggggfgfggeggggffafcb`b]bacaccbefdc_acca_aaaadbbc_[bb]b\^X\\_bdba\aaaW
-@ILLUMINA-545855_0049_FC61RLR:2:1:8899:1514#0/1
+HHHHHHHHHHHHHFHHHHHGHHHHHHGHHHHGHHHHHH>HHGGGGFFHHHHGHGHHFHHHHGGBGDCAC>CBDBDDCFGED@BDDB@BBBBECCD@<CC>C=?9==@CECB=BBB8
+@ILLUMINA-545855:49:FC61RLR:2:1:8899:1514 1:N:0:TCCTGA
 TCTTTATCTAAACACATCCTGAAATACCATCTGTTACACACACACACAGCAGTGGAAGTATAAAAAAAAATCTGGACATCTCAAAATAATTGCGTTTCTGAAGTGTTACATTTTTC
 +
-hhhhhghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfhhhhhfhhhhhhhhhhhhhhggfhhhhghgggghgggggggfgggggfegdgdggggggghh]
+IIIIIHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIGIIIIIGIIIIIIIIIIIIIIHHGIIIIHIHHHHIHHHHHHHGHHHHHGFHEHEHHHHHHHII>
b
diff -r 771ebe02636f -r b6ccc7dd7b02 test-data/illuminaPE_r2.fq
--- a/test-data/illuminaPE_r2.fq Mon Mar 23 07:01:37 2015 -0400
+++ b/test-data/illuminaPE_r2.fq Fri Dec 04 07:43:30 2015 -0500
[
@@ -1,40 +1,40 @@
-@ILLUMINA-545855_0049_FC61RLR:2:1:10979:1695#0/2
+@ILLUMINA-545855:49:FC61RLR:2:1:10979:1695 2:N:0:TCCTGA
 TACTGTTTAGAAAGCCTGTTCCAGAACTTGATCACTGTCACAGAAAATCTTTCTTACTATCCAGACTGAAGCTACCCTGGTGCAGCTTTGTGCTGTTACCTTGAGTCATGTCATCA
 +
-hhhhhghhhhhghhhhghghhhhhhhghhhghhhghgfhhhhhhgdgggggggghhghhgeggdgghfggfgfhgfggef`fhdggfdfgaehecagggfcegacagffefcWda_
-@ILLUMINA-545855_0049_FC61RLR:2:1:17449:1584#0/2
+IIIIIHIIIIIHIIIIHIHIIIIIIIHIIIHIIIHIHGIIIIIIHEHHHHHHHHIIHIIHFHHEHHIGHHGHGIHGHHFGAGIEHHGEGHBFIFDBHHHGDFHBDBHGGFGD8EB@
+@ILLUMINA-545855:49:FC61RLR:2:1:17449:1584 2:N:0:TCCTGA
 TCTGTGTGTGAGCACACACACACACACACACACACACACACACACACATGCAGGTACTTGCTCTGCCACCCCTGGCGGGCTGCGTGGTGTGCCTGACGACGTATTCTAATCCTACA
 +
-fffff^bcbdbdaded`ffafdcfcff]cffccccaffffffedcafaR_BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
-@ILLUMINA-545855_0049_FC61RLR:2:1:19063:1614#0/2
+GGGGG?CDCECEBEFEAGGBGEDGDGG>DGGDDDDBGGGGGGFEDBGB3@##################################################################
+@ILLUMINA-545855:49:FC61RLR:2:1:19063:1614 2:N:0:TCCTGA
 TATATATATATATAAACATATATATATATATTTTTTTCTCATTTCAGAACAAAAGTGAGATGAACTTTAATATGGTGGGGTGTATTTTGAGAGACTCTCTAGTTTGGGAGGAGTGA
 +
-ccccccccccccYc_cJccccccccccccUccccc]`_YT]_BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
-@ILLUMINA-545855_0049_FC61RLR:2:1:1978:1220#0/2
+DDDDDDDDDDDD:D@D+DDDDDDDDDDDD6DDDDD>A@:5>@##########################################################################
+@ILLUMINA-545855:49:FC61RLR:2:1:1978:1220 2:N:0:TCCTGA
 TCCTCTGACTAGGCAACAACAGCTTTTTTGCTCCTGGGCAGAGGTGTTCCGAGTGTATATTTTTTATAATTACGGCGCGCATTGGAAATTGATGTTATTTTATTTTGCGTGTGTGT
 +
-a^N^BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
-@ILLUMINA-545855_0049_FC61RLR:2:1:5626:1554#0/2
+B?/?################################################################################################################
+@ILLUMINA-545855:49:FC61RLR:2:1:5626:1554 2:N:0:TCCTGA
 TCTAATATTATATATATCTGTGTGTGTATATATATATATACACACACACACACACATTGACATAAAAGCGAAATATAAACATTAGCAGCTGGGGCTAAAATAAAAGCAGGAAGGTT
 +
-hhhhhhhhhhhhhhhhhhhhhhgggghghhghhghghghghhhhhghhfgQeWdQd\URUY^aa[^\\K`JL\\[W``dQ`BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
-@ILLUMINA-545855_0049_FC61RLR:2:1:5879:1238#0/2
+IIIIIIIIIIIIIIIIIIIIIIHHHHIHIIHIIHIHIHIHIIIIIHIIGH2F8E2E=636:?BB<?==,A+-==<8AAE2A###################################
+@ILLUMINA-545855:49:FC61RLR:2:1:5879:1238 2:N:0:TCCTGA
 TCCCCACCCTGTCATGGTTCTATGTATATATATATAGCCATGTGTGTGGTACCAGGGATAGGTACCTGGGATTGGGGCAGTGACACTTTAGTGCCCCGTACACTACATGATGTTTT
 +
-gggggggggggggggggdggffffecgfgfggggggegggggfgdgdgdadgdeaWdddedc`fdcabdaaa_]adb]_a_cbaaadbaa[`dbaaab]a`]a[Za`_`_BBBBBB
-@ILLUMINA-545855_0049_FC61RLR:2:1:6204:1090#0/2
+HHHHHHHHHHHHHHHHHEHHGGGGFDHGHGHHHHHHFHHHHHGHEHEHEBEHEFB8EEEFEDAGEDBCEBBB@>BEC>@B@DCBBBECBB<AECBBBC>BA>B<;BA@A@######
+@ILLUMINA-545855:49:FC61RLR:2:1:6204:1090 2:N:0:TCCTGA
 TGCTTTGGTTCTAAGAGAAAAACAAGTGATGCACAAGCAATTCCTCGCCACCACCCAACTGATGCCCAGCCACCCCCCCAAGCAGTGAAAGAGAGAGAGAGATGAACCCCCTTCAA
 +
-gggcagggdefggggdgegdgccccc_ggdggddgdeedddfcdffffdfda]dab]______aa_edaeaaa_`]```[Z]`]ZR]\^^]]aa]^]_^P^]YXI_BBBBBBBBBB
-@ILLUMINA-545855_0049_FC61RLR:2:1:8044:1926#0/2
+HHHDBHHHEFGHHHHEHFHEHDDDDD@HHEHHEEHEFFEEEGDEGGGGEGEB>EBC>@@@@@@BB@FEBFBBB@A>AAA<;>A>;3>=??>>BB>?>@?1?>:9*@##########
+@ILLUMINA-545855:49:FC61RLR:2:1:8044:1926 2:N:0:TCCTGA
 TCAGGCAAGGTCACTGCCACCACTGGGGAGTGCCTGTTTCTGAAGGGCCCAGCCAACTCTGTCACAAGCTTTAACCATAATAAATCAGGAGGAGAGACAGGAGGATGCTGTGCTTT
 +
-hhhhhhhhhhghhhhhhhhhhhhhhfhhhhehhhhhfgghhhhhffdhgfgfgggffbggbffffffgfgfdfdfdfffcfadbbaffdcfaZW^aaaac`ab_YR\\Z\Y[ROYU
-@ILLUMINA-545855_0049_FC61RLR:2:1:8157:1636#0/2
+IIIIIIIIIIHIIIIIIIIIIIIIIGIIIIFIIIIIGHHIIIIIGGEIHGHGHHHGGCHHCGGGGGGHGHGEGEGEGGGDGBECCBGGEDGB;8?BBBBDABC@:3==;=:<30:6
+@ILLUMINA-545855:49:FC61RLR:2:1:8157:1636 2:N:0:TCCTGA
 TAAACAACCAAATGAAACCATCTTTTCTACACAGCTCAAGTAGCCCTACATACAACACAAGCCACCTACAAATCAGGACTGATGGTAAGGCTGACAATCCAATCCACCACAACAAC
 +
-geggggggggggggcgfggcggggggggggggggggggfffggfgggggggggggfggggg_gggegfgeggdggggggcgaedaageecgd]degadecBBBBBBBBBBBBBBBB
-@ILLUMINA-545855_0049_FC61RLR:2:1:8899:1514#0/2
+HFHHHHHHHHHHHHDHGHHDHHHHHHHHHHHHHHHHHHGGGHHGHHHHHHHHHHHGHHHHH@HHHFHGHFHHEHHHHHHDHBFEBBHFFDHE>EFHBEFD################
+@ILLUMINA-545855:49:FC61RLR:2:1:8899:1514 2:N:0:TCCTGA
 TATCATTGAAATTTTTATAAAAACTGTGAAGAGAAAAATGTAACACTTCAGAAACGCAATTATTTTGAGATGTCCAGATTTTTTTTTATACTTCCACTGCTGTGTGTGTGTGTAAC
 +
-hfJfffhhhhhhhhhhchhhhhhfgghhghhhhhdfghghghhghhhhhhhhhhhhhhghhchhhhhdchhhchgfgehhhhhhhhhgheeagfhfaffgacaedfdfbfdhdcda
+IG+GGGIIIIIIIIIIDIIIIIIGHHIIHIIIIIEGHIHIHIIHIIIIIIIIIIIIIIHIIDIIIIIEDIIIDIHGHFIIIIIIIIIHIFFBHGIGBGGHBDBFEGEGCGEIEDEB
b
diff -r 771ebe02636f -r b6ccc7dd7b02 tool_dependencies.xml
--- a/tool_dependencies.xml Mon Mar 23 07:01:37 2015 -0400
+++ b/tool_dependencies.xml Fri Dec 04 07:43:30 2015 -0500
b
@@ -64,4 +64,39 @@
       </install>
       <readme>primer3_core</readme>
     </package>
+    <package name="biopython" version="1.65">
+      <install version="1.0">
+ <actions>
+   <action type="shell_command">pip install  --install-option "--prefix=$INSTALL_DIR" https://pypi.python.org/packages/source/b/biopython/biopython-1.65.tar.gz</action>
+   <action type="set_environment">
+     <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python2.7/site-packages</environment_variable>
+     <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib64/python2.7/site-packages</environment_variable>
+   </action>
+ </actions>
+      </install>
+      <readme>BioPython 1.65</readme>
+    </package>
+    <package name="pandaseq" version="2.8.1">
+      <install version="1.0">
+ <actions>
+   <action type="download_by_url">https://github.com/neufeld/pandaseq/archive/v2.8.1.tar.gz</action>
+   <action type="shell_command">./autogen.sh</action>
+   <action type="shell_command">./configure --prefix=$INSTALL_DIR</action>
+   <action type="shell_command">make</action>
+   <action type="shell_command">make install</action>
+   <action type="set_environment">
+     <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+     <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/lib</environment_variable>
+   </action>
+ </actions>
+      </install>
+      <readme>PANDASeq 2.8.1
+
+      PANDASEQ is a program to align Illumina reads, optionally
+      with PCR primers embedded in the sequence, and reconstruct
+      an overlapping sequence.
+
+      https://github.com/neufeld/pandaseq
+      </readme>
+    </package>
 </tool_dependency>