diff --git a/xtandempipeline/CMakeLists.txt b/xtandempipeline/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfdd1f82060e54f269d227efad24eb1a5a1ba90f
--- /dev/null
+++ b/xtandempipeline/CMakeLists.txt
@@ -0,0 +1,157 @@
+# The name of our project is "xtandempipeline".  CMakeLists files in this project can
+# refer to the root source directory of the project as ${xtandemparser_SOURCE_DIR} and
+# to the root binary directory of the project as ${xtandemparser_BINARY_DIR}.
+PROJECT(xtandempipeline Java)
+
+SET (CMAKE_Java_COMPILER "/usr/lib/jvm/java-6-openjdk/bin/java")
+SET (Java_JAR_EXECUTABLE "/usr/lib/jvm/java-6-openjdk/bin/jar")
+SET (Java_JAVAC_EXECUTABLE "/usr/lib/jvm/java-6-openjdk/bin/javac")
+SET (ANT_EXECUTABLE "/usr/bin/ant")
+
+
+FIND_PACKAGE( Java REQUIRED )
+
+MESSAGE("CMAKE_Java_COMPILER : ${CMAKE_Java_COMPILER} ")
+MESSAGE("Java_JAR_EXECUTABLE : ${Java_JAR_EXECUTABLE} ")
+MESSAGE("Java_JAVAC_EXECUTABLE : ${Java_JAVAC_EXECUTABLE} ")
+
+#message ("compiler : ${CMAKE_CXX_COMPILER} ")
+
+
+cmake_minimum_required(VERSION 2.6)
+
+SET (XTANDEMPIPELINE_VERSION "3.0.1")
+
+SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
+SET(CPACK_GENERATOR "STGZ;TGZ;TZ")
+#SET(CPACK_INSTALL_CMAKE_PROJECTS "/tmp;beads;src;/src")
+#SET(CPACK_NSIS_DISPLAY_NAME "CMake 2.5")
+SET(CPACK_OUTPUT_CONFIG_FILE "./CPackConfig.cmake")
+#SET(CPACK_PACKAGE_DESCRIPTION_FILE ${xtandempipeline_SOURCE_DIR}/COPYING)
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "loads and parses the xml results product by X!Tandem")
+SET(CPACK_SOURCE_PACKAGE_FILE_NAME "xtandempipeline-${XTANDEMPIPELINE_VERSION}")
+SET(CPACK_PACKAGE_FILE_NAME "beads-${XTANDEMPIPELINE_VERSION}-Linux-i686")
+SET(CPACK_PACKAGE_INSTALL_DIRECTORY "xtandempipeline ${XTANDEMPIPELINE_VERSION}")
+SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "xtandempipeline ${XTANDEMPIPELINE_VERSION}")
+SET(CPACK_PACKAGE_NAME "xtandempipeline")
+SET(CPACK_PACKAGE_VENDOR "INRA")
+
+SET(CPACK_PACKAGE_VERSION ${XTANDEMPIPELINE_VERSION})
+SET(CPACK_PACKAGE_VERSION_MAJOR "3")
+SET(CPACK_PACKAGE_VERSION_MINOR "0")
+SET(CPACK_PACKAGE_VERSION_PATCH "1")
+#SET(CPACK_RESOURCE_FILE_LICENSE ${xtandemparser_SOURCE_DIR}/COPYING)
+#SET(CPACK_RESOURCE_FILE_README ${xtandemparser_SOURCE_DIR}/README)
+#SET(CPACK_RESOURCE_FILE_WELCOME ${xtandemparser_SOURCE_DIR}/INSTALL)
+SET(CPACK_SOURCE_GENERATOR "TGZ;TZ")
+SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE "./CPackSourceConfig.cmake")
+SET(CPACK_SOURCE_STRIP_FILES "")
+
+SET(CPACK_SOURCE_IGNORE_FILES 
+	"/build/"
+	"/dist/"
+	"/lib/"
+	"/jnlp/"
+	"build_langella.xml"
+	"Makefile"
+	"cmake_install.cmake"
+	"cmake_install.cmake"
+	"CMakeCache.txt"
+	"CPackConfig.cmake"
+	"CPackSourceConfig.cmake"
+	"install_manifest.txt"
+	"/CMakeFiles/"
+	"/_CPack_Packages/"
+	"/Debug/"
+	"/Release/"
+	"/\\\\.externalToolBuilders/"
+	"/\\\\.svn/"
+	"/\\\\.settings/"
+	"Makefile"
+	"\\\\.cdtbuild"
+	"\\\\.cdtproject"
+	"\\\\.project"
+	"\\\\.cproject"
+	"beads$"
+	".*\\\\.tar\\\\.gz"
+	"XTandem_Pipeline.jar"
+)
+# cpack -G TGZ --config CPackSourceConfig.cmake
+# dpkg-buildpackage -rfakeroot
+
+#.dput.cf
+#[olivier-langella]
+#fqdn = ppa.launchpad.net
+#method = ftp
+#incoming = ~olivier-langella/ubuntu/
+#login = olivier-langella
+#allow_unsigned_uploads = 0
+#
+#  debuild -S -sa
+# dput -f olivier-langella *changes
+
+SET(CPACK_PACKAGE_EXECUTABLES "xtandempipeline" "xtandempipeline")
+
+
+INCLUDE(CPack)
+
+
+#INCLUDE(CPack)
+
+
+# Recurse into the "src" subdirectories.  This does not actually
+# cause another cmake executable to run.  The same process will walk through
+# the project's entire directory structure.
+#SUBDIRS (src)
+
+#http://www.airport1.de/blog/archives/456-cMake-and-Java-it-works!-How-to-build-Java-Projects-with-cMake.html
+#SET (JAR_FILE MyXtandemParser.jar)
+#SET (JAVA_FILES My_Xtandem_Parser)
+
+# compile all .java files with javac to .class
+#ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${JAVA_FILES}.class COMMAND ${CMAKE_Java_COMPILER} ARGS -d ${CMAKE_CURRENT_SOURCE_DIR}/${CLASS_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.java)
+
+# build .jar file from .class files
+#ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${JAR_FILE} DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${JAVA_FILES}.class COMMAND ${CMAKE_COMMAND} ARGS -E chdir ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_Java_ARCHIVE} -cfCv ${JAR_DIR}/${JAR_FILE} ${CLASS_DIR} org/java2cpp)
+
+# the target
+#ADD_CUSTOM_TARGET(${JAR_FILE} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${JAR_FILE})
+
+
+#ADD_CUSTOM_TARGET( ant_build ALL )
+
+#ADD_CUSTOM_COMMAND(
+#    TARGET  ant_build
+#    COMMAND ant
+#)
+
+if (NOT CMAKE_INSTALL_PREFIX)
+	SET (CMAKE_INSTALL_PREFIX /usr/local)
+endif (NOT CMAKE_INSTALL_PREFIX)
+
+configure_file (${xtandempipeline_SOURCE_DIR}/share/applications/xtandempipeline.desktop.cmake ${xtandempipeline_SOURCE_DIR}/share/applications/xtandempipeline.desktop)
+configure_file (${xtandempipeline_SOURCE_DIR}/share/applications/xtandempipeline_online.desktop.cmake ${xtandempipeline_SOURCE_DIR}/share/applications/xtandempipeline_online.desktop)
+configure_file (${xtandempipeline_SOURCE_DIR}/share/xtandempipeline/xtandempipeline.sh.cmake ${xtandempipeline_SOURCE_DIR}/share/xtandempipeline/xtandempipeline.sh)
+
+SET(work_dir ${xtandempipeline_SOURCE_DIR})
+ADD_CUSTOM_TARGET(ant_build ALL
+  COMMAND ${ANT_EXECUTABLE} -Dworking.dir=${work_dir} -f build_ubuntu.xml
+  WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+  COMMENT "Running Ant ...")
+  
+  
+#INSTALL(PROGRAMS src/beads DESTINATION bin)
+#INSTALL(PROGRAMS src/qtbeads/qtbeads DESTINATION bin)
+#INSTALL(DIRECTORY doc/man1 DESTINATION share/man/man1)
+#INSTALL(FILES doc/man1/beads.1 DESTINATION share/man/man1)
+INSTALL(FILES share/applications/xtandempipeline_online.desktop DESTINATION share/applications)
+INSTALL(FILES share/applications/xtandempipeline.desktop DESTINATION share/applications)
+#INSTALL(FILES share/beads/beads_blue.conf DESTINATION share/beads)
+#INSTALL(FILES share/beads/beads_silver.conf DESTINATION share/beads)
+#INSTALL(FILES share/beads/beads_silver_small.conf DESTINATION share/beads)
+INSTALL(PROGRAMS share/xtandempipeline/xtandempipeline.sh DESTINATION bin)
+INSTALL(FILES share/xtandempipeline/xtandempipeline.jnlp DESTINATION share/xtandempipeline)
+INSTALL(FILES share/xtandempipeline/XTandem_Pipeline.jar DESTINATION share/xtandempipeline)
+INSTALL(FILES share/xtandempipeline/proticws_svgutils.jar DESTINATION share/xtandempipeline)
+INSTALL(FILES share/xtandempipeline/xtandempipeline_icon.svg DESTINATION share/xtandempipeline)
+
diff --git a/xtandempipeline/build_ubuntu.xml b/xtandempipeline/build_ubuntu.xml
new file mode 100644
index 0000000000000000000000000000000000000000..69a63b5f7d32e7df6c8acb9828cb7a696ecefb4e
--- /dev/null
+++ b/xtandempipeline/build_ubuntu.xml
@@ -0,0 +1,81 @@
+<project name="MyXtandemParser" default="jarWithClasspath" basedir=".">
+	<description>
+		MyXtandemParser ant build file
+	</description>
+
+	<!-- set global properties for this build -->
+	
+	<property name="lib" location="/usr/share/java" />
+	<property name="share" location="share" />
+	<property name="conf" location="conf" />
+	<property name="resources" location="src/resources" />
+	<property name="src" location="src" />
+	<property name="build" location="build" />
+	<property name="dist" location="dist" />
+	<property name="confDir" location="conf" />
+	<property name="docDir" location="doc" />
+
+	<target name="reset">
+		<!-- reset the build and dist directory -->
+		<delete dir="build" />
+		<delete dir="dist" />
+		<mkdir dir="build" />
+		<mkdir dir="dist" />
+		<mkdir dir="conf" />
+	</target>
+
+
+	<target name="init" depends="reset">
+		<!-- Create the time stamp -->
+		<tstamp />
+	</target>
+
+	<path id="classpath">
+		<!--xml-apis-ext.jar xml-apis.jar xercesImpl.jar xalan2.jar swt.jar batik.jar-->		
+		<fileset dir="${lib}" includes="xml-apis-ext.jar xml-apis.jar xercesImpl.jar xalan2.jar swt.jar batik.jar" />
+		<fileset dir="${share}/xtandempipeline" includes="proticws_svgutils.jar" />
+	</path>
+
+
+	<target name="compile" depends="init" description="compile the source and put in build directory">
+		<!-- Compile the java code from ${src} into ${build} -->
+		<javac srcdir="${src}" destdir="${build}" target="1.6" source="1.6" classpathref="classpath" includeantruntime="false">
+			<compilerarg line="-encoding utf-8"/>
+			<classpath>
+				<pathelement location="${build}/My_XTandem_Pipeline.class" />
+			</classpath>
+		</javac>
+	</target>
+
+	
+	<target name="jarWithClasspath" depends="compile" description="generates the jar file for Ubuntu">
+
+		
+		<mkdir dir="${build}/conf" />
+		<copy todir="${build}/conf" overwrite="true">
+			<fileset dir="${conf}" includes="*" />
+		</copy>
+		<mkdir dir="${build}/resources" />
+		<copy todir="${build}/resources" overwrite="true">
+			<fileset dir="${resources}" includes="**" />
+		</copy>
+
+		<jar jarfile="./share/xtandempipeline/XTandem_Pipeline.jar" basedir="${build}">
+			<fileset dir="${confDir}" />
+			<!--<fileset file=".classpath" />-->
+			<manifest>
+				<attribute name="Main-Class" value="My_XTandem_Pipeline" />
+				<attribute name="Class-Path" value="/usr/share/java/xml-apis-ext.jar /usr/share/java/xml-apis.jar /usr/share/java/xercesImpl.jar /usr/share/java/xalan2.jar /usr/share/java/swt.jar /usr/share/java/batik.jar /usr/share/xtandempipeline/proticws_svgutils.jar /usr/local/share/xtandempipeline/proticws_svgutils.jar" />				
+			</manifest>
+		</jar>
+
+		<!-- cd bin; jar -cf client.jar; -->
+		<!-- <jar jarfile="client.jar" basedir="bin"/> -->
+	</target>
+	
+	<target name="clean" depends="jarWithClasspath">
+		<delete dir="jnlp" />
+		<delete dir="build" />
+		<delete dir="dist" />
+	</target>
+</project>
\ No newline at end of file
diff --git a/xtandempipeline/debian/changelog b/xtandempipeline/debian/changelog
new file mode 100644
index 0000000000000000000000000000000000000000..e18f8a3aff5453ab983d5f581e5578fc003cffbd
--- /dev/null
+++ b/xtandempipeline/debian/changelog
@@ -0,0 +1,141 @@
+xtandempipeline (3.0.1-9) maverick; urgency=low
+
+  * not related to a particular ubuntu serie
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Sat, 12 mar 2011 12:18:51 +0200
+
+xtandempipeline (3.0.1-8~maverick1) maverick; urgency=low
+
+  * <compilerarg line="-encoding utf-8"/> added to javac in ant build
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Sat, 12 mar 2011 12:18:51 +0200
+
+xtandempipeline (3.0.1-7~maverick1) maverick; urgency=low
+
+  * sources ubuntu package was not depending on JDK, only JRE. fixed
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Sat, 12 mar 2011 11:18:51 +0200
+
+xtandempipeline (3.0.1-6~maverick1) maverick; urgency=low
+
+  * ubuntu source package should really compile and build jar now
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Sat, 12 mar 2011 10:18:51 +0200
+
+xtandempipeline (3.0.1-5~maverick1) maverick; urgency=low
+
+  * with jar it is better
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Fri, 11 mar 2011 20:18:51 +0200
+
+xtandempipeline (3.0.1-4~maverick1) maverick; urgency=low
+
+  * Java_JAR_EXECUTABLE & Java_JAVAC_EXECUTABLE added
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Fri, 11 mar 2011 18:18:51 +0200
+
+xtandempipeline (3.0.1-3~maverick1) maverick; urgency=low
+
+  * fixed an other cmake java compiler variable problem
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Fri, 11 mar 2011 17:18:51 +0200
+
+xtandempipeline (3.0.1-2~maverick1) maverick; urgency=low
+
+  * fixed cmake java compiler variable problem
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Fri, 11 mar 2011 16:18:51 +0200
+
+xtandempipeline (3.0.1-1~maverick1) maverick; urgency=low
+
+  * fixed encoding problem concerning project files
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Fri, 11 mar 2011 10:18:51 +0200
+
+xtandempipeline (3.0.0-1~maverick1) maverick; urgency=low
+
+  * use swt instead of swing
+  * use jar ubuntu package for libswt and batik
+  * new SVG icon
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Wed, 9 mar 2011 16:18:51 +0200
+
+xtandempipeline (2.9.8-5~maverick1) maverick; urgency=low
+
+  * package fix
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Sat, 18 dec 2010 16:18:51 +0200
+
+xtandempipeline (2.9.8-4~maverick1) maverick; urgency=low
+
+  * package fix
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Sat, 18 dec 2010 16:18:51 +0200
+
+xtandempipeline (2.9.8-3~maverick1) maverick; urgency=low
+
+  * package fix
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Fri, 17 dec 2010 16:18:51 +0200
+
+xtandempipeline (2.9.8-2~maverick1) maverick; urgency=low
+
+  * depends on the new Xtandem cyclone package or old Xtandem tornado
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Fri, 17 dec 2010 16:18:51 +0200
+
+xtandempipeline (2.9.8-1~maverick1) maverick; urgency=low
+
+  * new version from Benoit Valot
+  * package renamed from xtandemparser to xtandempipeline
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Fri, 17 dec 2010 15:18:51 +0200
+
+xtandemparser (2.9.5-1~maverick1) maverick; urgency=low
+
+  * new version from Benoit Valot
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Wed, 27 Oct 2010 16:18:51 +0200
+
+xtandemparser (2.9.3-6~maverick1) maverick; urgency=low
+
+  * embedded help html pages
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Mon, 25 Oct 2010 16:18:51 +0200
+
+xtandemparser (2.9.3-5~maverick1) maverick; urgency=low
+
+  * debian/rules modified
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Mon, 25 Oct 2010 15:18:51 +0200
+
+xtandemparser (2.9.3-4~maverick1) maverick; urgency=low
+
+  * debian/rules modified
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Mon, 25 Oct 2010 14:18:51 +0200
+
+xtandemparser (2.9.3-3~maverick1) maverick; urgency=low
+
+  * problem with xtandem-tornado dependency fixed
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Mon, 25 Oct 2010 11:18:51 +0200
+
+xtandemparser (2.9.3-2~maverick1) maverick; urgency=low
+
+  * added dependency to default-jdk
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Mon, 25 Oct 2010 10:18:51 +0200
+
+xtandemparser (2.9.3-1~maverick1) maverick; urgency=low
+
+  * fixed dependencie mistake
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Mon, 25 Oct 2010 10:18:51 +0200
+
+xtandemparser (2.2.6-1~maverick1) maverick; urgency=low
+
+  * maverick package
+
+ --  Olivier Langella <Olivier.Langella@moulon.inra.fr>  Thu, 9 Sep 2010 10:18:51 +0200
+
diff --git a/xtandempipeline/debian/compat b/xtandempipeline/debian/compat
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/xtandempipeline/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/xtandempipeline/debian/control b/xtandempipeline/debian/control
new file mode 100644
index 0000000000000000000000000000000000000000..a5cf73117ee35cf64c540d6b8bdbc3002dd5b8b0
--- /dev/null
+++ b/xtandempipeline/debian/control
@@ -0,0 +1,19 @@
+Source: xtandempipeline
+Section: science
+Priority: optional
+Maintainer: Olivier Langella <olivier.langella@moulon.inra.fr>
+Homepage: http://pappso.inra.fr/
+DM-Upload-Allowed: yes
+Uploaders: Olivier Langella <olivier.langella@moulon.inra.fr>
+Standards-Version: 1.0
+Build-Depends: debhelper (>= 5), cmake (>= 2.6), ant (>=1.8), openjdk-6-jdk (>=1.6), libswt-gtk-3.5-java (>=3.5.1), libbatik-java (>=1.7)
+
+Package: xtandempipeline
+Architecture: all
+Replaces: xtandemparser (<< 2.9.8-2~)
+Conflicts: xtandemparser (<< 2.9.8-2~)
+Depends: ${shlibs:Depends}, openjdk-6-jre (>=1.6), libswt-gtk-3.5-java (>=3.5.1), libbatik-java (>=1.7), xtandem-cyclone | xtandem-tornado
+Description: loads and parses the xml results product by X!Tandem
+ This Java application loads and parses the xml results product by X!Tandem, applies filters on 
+ E-value at peptide and protein levels, filters proteins on the basis of a minimun number of 
+ unique peptides, removes proteins specified in a contaminant database... 
diff --git a/xtandempipeline/debian/copyright b/xtandempipeline/debian/copyright
new file mode 100644
index 0000000000000000000000000000000000000000..afd820b36ad5fd6af9fa1d5e82d3ace82fe96217
--- /dev/null
+++ b/xtandempipeline/debian/copyright
@@ -0,0 +1,9 @@
+X-Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+X-Debianized-By: Olivier Langella <olivier.langella@moulon.inra.fr>
+X-Debianized-Date: Wed, 25 Jun 2008 11:18:51 +0200
+X-Source-Downloaded-From:
+X-Upstream-Author:
+
+Files: *
+Copyright: © 2010 Benoit Valot <benoit.valot@moulon.inra.fr>, Michel Zivy <zivy@moulon.inra.fr>, Olivier Langella <olivier.langella@moulon.inra.fr>
+License: GPL v3	   
diff --git a/xtandempipeline/debian/rules b/xtandempipeline/debian/rules
new file mode 100755
index 0000000000000000000000000000000000000000..53ec7337e790a238998e4f6333741fada0d704f3
--- /dev/null
+++ b/xtandempipeline/debian/rules
@@ -0,0 +1,91 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+configure: configure-stamp
+configure-stamp:
+	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_Java_COMPILER=/usr/lib/jvm/java-6-openjdk/bin/java .
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#docbook-to-man debian/beads.sgml > beads.1
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp CMakeCache.txt
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/xtandempipeline.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/xtandempipeline install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+#	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/xtandempipeline/doc/Xtandem_batch.pdf b/xtandempipeline/doc/Xtandem_batch.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..9aab71a4962b348c33e08888c0849145c503e0f9
Binary files /dev/null and b/xtandempipeline/doc/Xtandem_batch.pdf differ
diff --git a/xtandempipeline/doc/Xtandem_batch.tex b/xtandempipeline/doc/Xtandem_batch.tex
new file mode 100644
index 0000000000000000000000000000000000000000..2a51906ce19b84f9267f3517982cb57f8a9b0a2e
--- /dev/null
+++ b/xtandempipeline/doc/Xtandem_batch.tex
@@ -0,0 +1,153 @@
+\documentclass[10pt,a4paper]{article}
+\usepackage[utf8x]{inputenc}
+\usepackage{ucs}
+\usepackage{amsmath}
+\usepackage{amsfonts}
+\usepackage{amssymb}
+\usepackage[colorlinks=true,urlcolor=blue,linkcolor=black]{hyperref}
+\usepackage{graphicx}
+\usepackage{fancyhdr}
+\usepackage{geometry}
+
+%\usepackage{enumitem}
+%\setdescription{labelsep=\textwidth}
+
+\author{Benoit Valot\\
+\texttt{valot@moulon.inra.fr}\\
+PAPPSO - \url{http://pappso.inra.fr/}\\
+\includegraphics[width=1cm]{images/pappso.pdf}
+}
+\title{X!Tandem Batch Analysis\\ Automated performed database searching using X!Tandem\\ in local version}
+\date{14 Avril 2010}
+
+%Modification des entetes et pied de page + marges
+\geometry{top=3cm, bottom=3cm, left=2cm, right=2cm}
+%\pagestyle{headings}
+\pagestyle{fancy}
+%\fancyhead{}
+\fancyfoot{}
+\rfoot{\thepage}
+\lfoot{\includegraphics[width=1cm]{images/pappso.pdf}}
+
+
+\begin{document}
+\maketitle
+
+\begin{abstract}
+\href{http://www.thegpm.org/tandem/index.html}{X!Tandem} software is an open-source software to performed peptides/proteins identifications from MS/MS mass spectra. To easily performed automated search using predefined parameters in a local version, we developed this perl script. This system is an alternative to install an local server of the Global Proteome Machine (\href{http://www.thegpm.org/}{GPM})
+\paragraph*{}
+\textbf{X!Tandem Batch Analysis} script applied database searching with defined parameters in a list of MS/MS analysis with a list of protein databases. 
+\end{abstract}
+
+\tableofcontents
+
+\pagebreak 
+
+\section{Installation}
+\subsection{Windows}
+\begin{enumerate}
+\item If not installed, download and installed Active-perl (Version 5.8.XXX) using this \href{http://www.activestate.com/activeperl/downloads/}{link}.\\
+\textbf{Warning :} The script need version 5.8, and does not work on  5.10 or 5.12!!!!
+\item Download the \href{http://pappso.inra.fr/documents/bioinformatique/xtandem_batch_win.zip}{archive} and unzip it.
+\item Move the complete ''Benperl/'' folder directly at the C:/
+\item Inside, go to the folder Benperl/installation/
+\item Install perl library using \textit{Perl-library-installation.pl} script\footnote{Simply double-clic it}
+\end{enumerate}
+
+\subsection{Linux}
+\subsubsection*{Requirements}
+\begin{itemize}
+\item Installed \textit{libwx-perl} package
+\end{itemize}
+\subsubsection*{Ubuntu}
+\begin{itemize}
+\item Add this software \href{https://launchpad.net/~olivier-langella/+archive/ppa}{repository} 
+\item Installed the \textit{xtandem-tornado} package
+\end{itemize}
+\subsubsection*{Other distribution}
+\begin{itemize}
+\item Download \href{ftp://ftp.thegpm.org/projects/tandem/source/}{source} of the X!Tandem and followed the instruction of compilation.
+\end{itemize}
+\subsubsection*{Script adaptation}
+\begin{enumerate}
+\item Download the \href{http://pappso.inra.fr/documents/bioinformatique/xtandem_batch_linux.zip}{archive} and unzip it.
+\item Move the complete ''benperl/'' folder in your /home/user/ folder
+\item Inside, go to the folder Benperl/
+\item Open on a text editor the perl script \textit{xtandem-batch-analysis.pl} and modified the path to the X!Tandem executable and to the folder containing the model (xml files).
+\end{enumerate}
+
+\subsection{License}
+Copyright (C) 2010  Valot Benoit\\
+This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\\
+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the \href{http://www.gnu.org/licenses/gpl.html}{GNU General Public License} for more details.
+
+\pagebreak 
+
+\section{Utilization}
+
+It permits to analysis a list of peak list files on a list of protein database using the X!Tandem software.
+Three successive box permit to select mzXML file or other peaklist, to select protein databases and finally the folder were results are stored. The databases must be proteins, X!Tandem doesn't work on DNA database.
+
+\subsection{Running Script}
+To performed analysis, start the perl script \textit{xtandem-batch-analysis.pl}\footnote{Simply double clic it.}
+\begin{enumerate}
+\item Select peak lists files to be analyzed. (See~\ref{peak})
+\item Select databases files to be searched. (See~\ref{database})
+\item Select the folder to save the results files.
+\item Select in the model containing searching parameters. (See~\ref{model} and Fig~\ref{terminal1})
+\end{enumerate}
+
+\begin{figure}[!h]
+\center \includegraphics[scale=0.7]{images/batch_terminal.png}
+\caption{Model selection}
+\label{terminal1}
+\end{figure}
+
+\subsection{Peak lists}
+\label{peak}
+X!Tandem works with open peak list files like mzXML, mgf, mzData, mzML or pkl files.
+
+\subsection{Databases}
+\label{database}
+X!Tandem software uses only protein database in fasta format. It does't work with EST\footnote{Expressed Sequenced tag} sequences. You can transform your database using our application \textit{Protein database manager}, available \href{http://pappso.inra.fr/bioinformatique.html}{here}, or for direct \href{http://pappso.inra.fr/documents/bioinformatique/database_manager.jnlp}{running}.\\
+
+\subsection{Models}
+\label{model}
+To performed database searching, you must created or edited a model xml file. Some example are presents in the ''/benperl/Xtandem'' folder. Each xml file in this folder could be select in the terminal during analysis (Fig~\ref{terminal1}).\\
+To modified the parameter xml file, open it in a text editor (Fig~\ref{xml}) and then follow the \href{http://www.thegpm.org/TANDEM/api/index.html}{documentation} at the X!Tandem web site.
+
+\begin{figure}[!h]
+\center \includegraphics[scale=0.7]{images/batch_xml_search.png}
+\caption{Model edition}
+\label{xml}
+\end{figure}
+
+To used complete performance of our computer, specify the number of cpu in the model at the line : type="input" label="spectrum, threads''.
+
+\pagebreak
+
+\section{Results}
+\subsection{Database searching}
+
+Each peak list files are analyzed in series. You can follow advance of the processing in the terminal (Fig~\ref{terminal2}). To stop processing, simply close the terminal windows. 
+
+\begin{figure}[!h]
+\center \includegraphics[scale=0.7]{images/batch_process.png}
+\caption{Database searching progress}
+\label{terminal2}
+\end{figure}
+
+\subsection{Viewing result}
+The result are in xml format, you can view results on the \href{http://h003.thegpm.org/tandem/thegpm_upview.html}{GPM web site} (Fig ~\ref{acceuil}).
+
+\begin{figure}[!h]
+\center \includegraphics[scale=0.7]{images/batch_acceuil.png}
+\caption{Viewing results on GPM site}
+\label{acceuil}
+\end{figure}
+
+\subsection{Automated export result}
+To automated processing the result files in excel view, you can used our application \textit{My Xtandem parser} available \href{http://pappso.inra.fr/documents/bioinformatique/Xtandem_parser.pdf}{here}.
+
+
+\end{document}
diff --git a/xtandempipeline/doc/Xtandem_parser.pdf b/xtandempipeline/doc/Xtandem_parser.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..eef8af41fe1bb1eeb9f96a53f5c57d695a5d8858
Binary files /dev/null and b/xtandempipeline/doc/Xtandem_parser.pdf differ
diff --git a/xtandempipeline/doc/Xtandem_parser.tex b/xtandempipeline/doc/Xtandem_parser.tex
new file mode 100644
index 0000000000000000000000000000000000000000..1886fbdc11d59048d64573937bb335f0d6934915
--- /dev/null
+++ b/xtandempipeline/doc/Xtandem_parser.tex
@@ -0,0 +1,269 @@
+\documentclass[10pt,a4paper]{article}
+\usepackage[utf8x]{inputenc}
+\usepackage{ucs}
+\usepackage{amsmath}
+\usepackage{amsfonts}
+\usepackage{amssymb}
+\usepackage[colorlinks=true,urlcolor=blue,linkcolor=black]{hyperref}
+\usepackage{graphicx}
+\usepackage{fancyhdr}
+\usepackage{geometry}
+
+%\usepackage{enumitem}
+%\setdescription{labelsep=\textwidth}
+
+\author{Benoit Valot\\
+\texttt{valot@moulon.inra.fr}\\
+PAPPSO - \url{http://pappso.inra.fr/}\\
+\includegraphics[width=1cm]{images/pappso.pdf}
+}
+\title{My XTandem parser\\Automated filtering and export of X!Tandem MS/MS results}
+\date{14 Avril 2010}
+
+%Modification des entetes et pied de page + marges
+\geometry{top=3cm, bottom=3cm, left=2cm, right=2cm}
+%\pagestyle{headings}
+\pagestyle{fancy}
+%\fancyhead{}
+\fancyfoot{}
+\rfoot{\thepage}
+\lfoot{\includegraphics[width=1cm]{images/pappso.pdf}}
+
+
+\begin{document}
+\maketitle
+
+\begin{abstract}
+\href{http://www.thegpm.org/tandem/index.html}{X!Tandem} is an open-source software allowing peptide/protein identification from MS/MS mass spectra. X!Tandem is fast and accurate, but the Global Proteome Machine (\href{http://www.thegpm.org/}{GPM}) is relatively limited regarding the processing of identification results.
+\paragraph*{}
+\textbf{My XTandem parser} permit to filtered data according to statistical value at peptide and protein levels. The results are accessible to tabulated files (excel). Moreover, redundancy of protein database are fully filtered as :
+\begin{itemize}
+\item Proteins identified without specifics peptides compared to others are eliminated.
+\item Proteins identified with the same pool of peptides are assembled.
+\item Proteins are grouped by function (identified with at least one common peptide), and the specific peptides for each of the sub-group of proteins are indicated.
+\end{itemize}
+\end{abstract}
+
+\tableofcontents
+
+\pagebreak 
+
+\section{Installation}
+\subsection{Requirements}
+My XTandem parser works on all plateforms (linux, windows). Java 1.6 must be installed :
+\href{https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jre-6u14-oth-JPR@CDS-CDS_Developer}{link}
+
+\subsection{Start My XTandem parser}
+To run My XTandem parser, simply :
+\begin{itemize}
+\item Open My XTandem parser by using this \href{http://pappso.inra.fr/documents/bioinformatique/xtandem_parser.jnlp}{link}
+\item Allow the program to be executed
+\item The principal window will appear (Fig~\ref{principal})
+\end{itemize}
+
+\begin{figure}[!h]
+\label{principal}
+\center \includegraphics[scale=0.5]{images/tandem_principal.png}
+\caption{Principal window}
+\end{figure}
+
+\subsection{License}
+Copyright (C) 2010  Valot Benoit\\
+This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\\
+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the \href{http://www.gnu.org/licenses/gpl.html}{GNU General Public License} for more details.
+
+\pagebreak 
+
+\section{Utilisation}
+\paragraph*{Warning}
+To perform analysis, My X!Tandem parser needs the  have X!Tandem result files (.xml). The names of the files are used as \textbf{sample names}.
+To perform local X!Tandem identification in automated process, you can use our xtandem batch processing script available \href{http://pappso.inra.fr/documents/bioinformatique/Xtandem_batch.pdf}{here}.
+\subsection{Two modes}
+\paragraph*{}
+You can filter the MS/MS identifications and export the results in two different modes :
+\begin{description}
+\item[Individual mode] \hfill  \\ Each MS/MS result file is processed individually.\\
+You cannot perform comparison by using this process.
+\item[Combined mode] \hfill  \\ The MS/MS result files are combined in one result file, and this file is filtered / exported.\\
+This mode is usefull to compare different results.
+\end{description} 
+\paragraph*{}
+In both modes, you have to :
+\begin{enumerate}
+\item Select the xml result files
+\item Define the filter parameters  (~\ref{filtering})
+\item Define the name of the result file to export
+\item Define the export parameters  (~\ref{exporting})
+\end{enumerate}
+
+\subsection{Filter parameters}
+\label{filtering}
+The filter window (Fig~\ref{filter}) defines the automated filter process :
+\small
+\begin{description}
+\item[Peptide E-value] \hfill \\Defines the E-value above which a peptide is considered as valid
+\item[Peptide number] \hfill \\Defines the number of valid unique\footnote{Unique peptides are defined as peptides with different sequences. This excludes peptides with different modifications.} peptides necessary to validate a protein
+\item[Protein E-value] \hfill \\Defined the E-value above which a protein is considered as valid
+\begin{itemize}
+\item The protein E-values are re-calculated by the product of the valid unique peptides E-values, and are different from the protein E-values determined by X!Tandem. 
+\item The values are expressed in log(E-value)
+\end{itemize}
+\item[Sum to all] \hfill \\Defines how protein filter is performed when MS/MS results are combined :
+\begin{description}
+\item[No] To validate a protein, the 2 parameters (peptide number and protein E-value) must be valid in at least one result.
+Interesting to compare 2DLC-MS/MS results, where peptides from a protein are in the same LC-MS/MS run
+\item[Yes] To validate a protein, the 2 parameters (peptide number and protein E-value) must be valid in the sum of all results.
+Interesting to compare SDS-PAGE-LC-MS/MS results, where peptides from a protein are split in different LC-MS/MS runs
+\end{description}
+\item[Phosphopeptide] \hfill \\Conserves only peptides containing phosphorylated residue modifications.
+All other peptides are invalided.
+\item[Contaminants] \hfill \\When you perform an analysis using different fasta databases, you can remove the result from one database by selecting this database.
+Interesting because it allows to always include the same contaminant proteins during the database search, and because it removes the contaminant proteins from the results.
+\item[Add results] \hfill \\At this stage, you can add other MS/MS result files to the analysis. If two files have the same name, they are combined in one result file. Interesting to combine X!Tandem results of the same LC-MS/MS run using different modification parameters or protein databases.
+\end{description}
+\normalsize
+\begin{figure}[!h]
+\center \includegraphics[scale=0.5]{images/tandem_filter.png}
+\caption{Filter window}
+\label{filter}
+\end{figure}
+
+\pagebreak 
+
+\subsection{Export parameters}
+\label{exporting}
+The export window (Fig~\ref{export}) shows the different types of available exports:
+\small
+\begin{description}
+\item[Default] \hfill \\Creates tabulated files containing identification results for proteins (*protein.txt) and peptides (*peptide.txt). When you perform a combined analysis, a *compar.txt file is created that contains the results of comparison between samples.
+\item[Fasta] \hfill \\Creates a fasta file for valid proteins.
+\item[PepNovo] \hfill \\Creates an xml file containing the peptide results to be removed for an automated \textit{De Novo} interpretation in sequence using our \href{http://pappso.inra.fr/documents/bioinformatique/Denovo_pipeline.pdf}{pipeline}.
+\item[FDR] \hfill \\Creates a tabulated file containing the number of valid peptides for the different peptide E-values in each database. Interesting to determine the E-value above which FDR value is acceptable.\\
+\label{fdr}\textbf{Warning} : Use very low parameters in peptide (0.1) and protein (-1) evalues, and set the number of unique peptides to validate a protein to 1.
+\item[Protic] \hfill \\Internal export in xml, defined to store results in a proteomic database called \href{http://pappso.inra.fr/bioinformatique.html}{PROTICdb}.
+\item[Quantimscpp] \hfill \\Internal export in xml, used as input to perform quantitative analysis using a home-made software 'Quantimscpp' currently in development.
+\end{description}
+\normalsize
+\begin{figure}[!h]
+\center \includegraphics[scale=0.5]{images/tandem_export.png}
+\caption{Export window}
+\label{export}
+\end{figure}
+
+\pagebreak
+
+\section{Export results}
+\subsection{*protein.txt}
+All proteins identified are presented by sample (MS/MS file, Fig~\ref{prot}). Proteins are grouped by function.
+\small
+\begin{description}
+\item[Group] Group to which the protein belongs. All the proteins in a group have at least one peptide in common.
+\item[Sub-group] Sub-group to which the protein belongs. All the proteins in a sub-group are identified with the same valid peptides.
+\item[Description] Protein description as it is in the header of the fasta file.
+\item[log(E value)] Protein E-value expressed in log.
+\begin{itemize}
+\item Statistical value representing the number of times this protein would be identified just by random.
+\item Calculated as the product of unique peptide E-values in the sample.
+\end{itemize}
+\item[Coverage] \% of protein coverage.
+\item[MW] Molecular weight of the protein expressed in KDa.
+\item[Spectra] Total number of MS/MS spectra identified for the protein
+\item[Specifics] Number of MS/MS spectra that are specific to the protein, compared to the other proteins of the same group.
+\item[Uniques] Number of unique peptide sequences identified for the protein.
+\item[PAI] Protein Abundance Index\label{pai}
+\begin{itemize}
+\item PAI estimates the relative abundance of the protein.
+\item PAI is calculated as the number of identified spectra divided by the number of theoretical peptides\footnote{Theoretical peptides correspond to the peptides resulting from the theoretical digestion of the protein sequence by trypsin and that are visible in mass spectrometry ($800<MH<2500$)} of the protein.
+\end{itemize}
+\item[Redundancy] Number of proteins identified with the same pool of spectra. When there is redundancy, the above described parameters are shown only for the first protein of the subgroup (arbitrary chosen).Only the description of the other members of the subgroup is shown.
+\end{description}
+\normalsize
+
+\begin{figure}[!h]
+\center \includegraphics[width=1.0\textwidth]{images/tandem_prot.png}
+\caption{Protein results}
+\label{prot}
+\end{figure}
+
+\subsection{*peptide.txt}
+Identified peptides are grouped by group (Fig~\ref{pep}). One line corresponds to 1 MS/MS spectrum identifying one peptide, that can be present in one or more proteins.
+\small
+\begin{description}
+\item[FDR] False discovery rate at peptide level, calculated by the peptide E-value of the complete analysis.
+\item[Group]  Group of the proteins containing this peptide.
+\item[Description] Protein description if the peptide is specific to this protein.
+\item[Sample] Name of MS/MS run file.
+\item[Scan] Scan number of the MS/MS run analysis.
+\item[Rt] Retention time of the peptide.
+\item[Sequence] Sequence of the peptide.
+\item[Modifs] Modifications on the peptide.
+\footnote{For example, M2:+15.99 means that the mass of the second amino acid, which is a methionine, is increased by 15.99. This mass increase indicates that the peptide is oxidized.}
+\item[Valid] Indicates whether the peptide was validated by the filter parameters or not.
+\item[Used] Number of protein sub-groups in which the peptide is present.
+\item[on a total of] Total number of protein sub-groups in the group.\\
+\textit{Rq :} If the peptide is specific, there is only $'-'$. 
+\item[Sub-groups] Protein sub-groups where the peptide is present.
+\item[E-value] Peptide E-value.
+\begin{itemize}
+\item Statistical value representing the number of times this peptide would be identified at random.
+\item Calculated by the X!Tandem with an empiric model.
+\end{itemize}
+\item[Charge] Charge level of the precursor.
+\item[MH+ Obs] Monoisotopic observed mass for the peptide + one proton (MH$^{+}$)
+\item[MH+ Theo]Monoisotopic calculated mass for the peptide + one proton (MH$^{+}$)
+\item[DeltaMH+] Error in the precursor mass  between observed and theoretical data (Da)
+\item[Delta-ppm] Error in the precursor mass between observed and theoretical data (ppm)
+\end{description}
+\normalsize
+
+\begin{figure}[!h]
+\center \includegraphics[width=1.0\textwidth]{images/tandem_peptide.png}
+\caption{Peptide results}
+\label{pep}
+\end{figure}
+
+\subsection{*compar.txt}
+All identified proteins are presented in a list: one protein per protein, and one column per sample, i.e. per MS/MS run file (Fig~\ref{compar}). 
+The list of proteins is repeated 4 times, corresponding to the 4 parameters that are used to compare samples (see Type for details).
+\small
+\begin{description}
+\item[Group] Protein group. Groups roughly correspond to the different functions.
+\item[Sub-group] Protein sub-group. All the proteins of a sub-group are identified with the same valid peptides.
+\item[Description] Protein description extracted from the fasta file.
+\item[MW] Molecular weight of the protein (KDa).
+\item[log(E value)] log of protein's E-value.
+\begin{itemize}
+\item Statistical value representing the number of times this protein would be identified just by random.
+\item Calculated by the product of unique peptide E-value in all sample.
+\end{itemize}
+\item[Type] Defines the item that is compared between samples
+\begin{description}
+\item[Spectra] Number of MS/MS spectra identified for the protein
+\item[Specifics] Number of specific MS/MS spectra identified for the protein compared to the other proteins belonging to the same group.
+\item[Uniques] Number of unique peptide sequences identified for this protein.
+\item[PAI] Protein Abundance Index (~\ref{pai})
+\end{description}
+\end{description}
+\normalsize
+
+\begin{figure}[!h]
+\center \includegraphics[width=1.0\textwidth]{images/tandem_comparaison.png}
+\caption{Comparison results}
+\label{compar}
+\end{figure}
+
+\subsection{*fdr.txt}
+The result file indicates the number of peptides with an E-value less than the E-value indicated in the fist column (Fig~\ref{fdr2}). You just have to divide the number of peptides in the reverse or decoy database by the number of peptides in the normal database to obtain the false discovery rate at each E-value level.\\
+This methods has 2 limitations :
+\begin{itemize}
+\item Normal and reverse databases must be saved in different fasta files.
+\item The filter parameters must be low (~\ref{fdr})
+\end{itemize}
+
+\begin{figure}[!h]
+\center \includegraphics[scale=0.5]{images/tandem_fdr.png}
+\caption{FDR results}
+\label{fdr2}
+\end{figure}
+
+\end{document}
diff --git a/xtandempipeline/doc/images/batch_acceuil.png b/xtandempipeline/doc/images/batch_acceuil.png
new file mode 100755
index 0000000000000000000000000000000000000000..6c4db218744bba08611084f888a8a7289f8af180
Binary files /dev/null and b/xtandempipeline/doc/images/batch_acceuil.png differ
diff --git a/xtandempipeline/doc/images/batch_process.png b/xtandempipeline/doc/images/batch_process.png
new file mode 100644
index 0000000000000000000000000000000000000000..88a28af62bedc2f0c590a3378b8a9b4e06411948
Binary files /dev/null and b/xtandempipeline/doc/images/batch_process.png differ
diff --git a/xtandempipeline/doc/images/batch_process.xcf b/xtandempipeline/doc/images/batch_process.xcf
new file mode 100644
index 0000000000000000000000000000000000000000..13e141fd48c601898ad5328c750e2d645b467ded
Binary files /dev/null and b/xtandempipeline/doc/images/batch_process.xcf differ
diff --git a/xtandempipeline/doc/images/batch_terminal.png b/xtandempipeline/doc/images/batch_terminal.png
new file mode 100644
index 0000000000000000000000000000000000000000..71d06c13f417d5b57dfe4ec644501f3874b5931e
Binary files /dev/null and b/xtandempipeline/doc/images/batch_terminal.png differ
diff --git a/xtandempipeline/doc/images/batch_xml_search.png b/xtandempipeline/doc/images/batch_xml_search.png
new file mode 100755
index 0000000000000000000000000000000000000000..869ec64f4a690cbfdbab347fdc943eb52610e6f3
Binary files /dev/null and b/xtandempipeline/doc/images/batch_xml_search.png differ
diff --git a/xtandempipeline/doc/images/pappso.pdf b/xtandempipeline/doc/images/pappso.pdf
new file mode 100755
index 0000000000000000000000000000000000000000..20bccaab0419e0b2c2ac1bf978fcba4b5281bb48
Binary files /dev/null and b/xtandempipeline/doc/images/pappso.pdf differ
diff --git a/xtandempipeline/doc/images/tandem_comparaison.pdf b/xtandempipeline/doc/images/tandem_comparaison.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..e32f4c23eb1316c227e01330cf52ddcdf86192ec
Binary files /dev/null and b/xtandempipeline/doc/images/tandem_comparaison.pdf differ
diff --git a/xtandempipeline/doc/images/tandem_comparaison.png b/xtandempipeline/doc/images/tandem_comparaison.png
new file mode 100644
index 0000000000000000000000000000000000000000..7ac71dea3e11437e0a7352fbdb4dde77d51dfd04
Binary files /dev/null and b/xtandempipeline/doc/images/tandem_comparaison.png differ
diff --git a/xtandempipeline/doc/images/tandem_configuration.png b/xtandempipeline/doc/images/tandem_configuration.png
new file mode 100644
index 0000000000000000000000000000000000000000..bb1a5c092f9b68e8a6938d3a3c30774e45655b17
Binary files /dev/null and b/xtandempipeline/doc/images/tandem_configuration.png differ
diff --git a/xtandempipeline/doc/images/tandem_export.png b/xtandempipeline/doc/images/tandem_export.png
new file mode 100644
index 0000000000000000000000000000000000000000..c9f9d6e3ab822b923093a4b1dea3c1bc23f70789
Binary files /dev/null and b/xtandempipeline/doc/images/tandem_export.png differ
diff --git a/xtandempipeline/doc/images/tandem_fdr.png b/xtandempipeline/doc/images/tandem_fdr.png
new file mode 100644
index 0000000000000000000000000000000000000000..54ee52fe2ccf92de9a4bf622b533ade871865a26
Binary files /dev/null and b/xtandempipeline/doc/images/tandem_fdr.png differ
diff --git a/xtandempipeline/doc/images/tandem_filter.png b/xtandempipeline/doc/images/tandem_filter.png
new file mode 100644
index 0000000000000000000000000000000000000000..7331b83049fff338ef522069af3b7900b851eacc
Binary files /dev/null and b/xtandempipeline/doc/images/tandem_filter.png differ
diff --git a/xtandempipeline/doc/images/tandem_parameter.png b/xtandempipeline/doc/images/tandem_parameter.png
new file mode 100644
index 0000000000000000000000000000000000000000..cb934bfe69f8397ad2a130ce551c69ca956ae721
Binary files /dev/null and b/xtandempipeline/doc/images/tandem_parameter.png differ
diff --git a/xtandempipeline/doc/images/tandem_peptide.pdf b/xtandempipeline/doc/images/tandem_peptide.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..db99dfb991dc39ee9e66d0253727511da8328005
Binary files /dev/null and b/xtandempipeline/doc/images/tandem_peptide.pdf differ
diff --git a/xtandempipeline/doc/images/tandem_peptide.png b/xtandempipeline/doc/images/tandem_peptide.png
new file mode 100644
index 0000000000000000000000000000000000000000..811dd04cfb3314fba5039c1b04f9a8e749c664a1
Binary files /dev/null and b/xtandempipeline/doc/images/tandem_peptide.png differ
diff --git a/xtandempipeline/doc/images/tandem_principal.png b/xtandempipeline/doc/images/tandem_principal.png
new file mode 100644
index 0000000000000000000000000000000000000000..6420d04e7266470333c9dbf903e46ca0e62205fb
Binary files /dev/null and b/xtandempipeline/doc/images/tandem_principal.png differ
diff --git a/xtandempipeline/doc/images/tandem_prot.pdf b/xtandempipeline/doc/images/tandem_prot.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..e50cc074bcfecbcb2ccedd9b2fa0e6653e6484ed
Binary files /dev/null and b/xtandempipeline/doc/images/tandem_prot.pdf differ
diff --git a/xtandempipeline/doc/images/tandem_prot.png b/xtandempipeline/doc/images/tandem_prot.png
new file mode 100644
index 0000000000000000000000000000000000000000..b0b8ca3b3ebc0af4aa6ee6eabe9d3f967a907b3a
Binary files /dev/null and b/xtandempipeline/doc/images/tandem_prot.png differ
diff --git a/xtandempipeline/doc/logo.svg b/xtandempipeline/doc/logo.svg
new file mode 100644
index 0000000000000000000000000000000000000000..0ba818feff67b12472d486b6ce00979b110694df
--- /dev/null
+++ b/xtandempipeline/doc/logo.svg
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="60"
+   height="60"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.48.0 r9654"
+   sodipodi:docname="logo.svg"
+   inkscape:export-filename="/home/valot/developpement/eclipse_java/MSMS_Xtandem/src/resources/images/icon_64.png"
+   inkscape:export-xdpi="96"
+   inkscape:export-ydpi="96">
+  <defs
+     id="defs4">
+    <filter
+       color-interpolation-filters="sRGB"
+       inkscape:collect="always"
+       id="filter3939-6">
+      <feGaussianBlur
+         inkscape:collect="always"
+         stdDeviation="0.78091634"
+         id="feGaussianBlur3941-0" />
+    </filter>
+    <filter
+       color-interpolation-filters="sRGB"
+       inkscape:collect="always"
+       id="filter3949-8">
+      <feGaussianBlur
+         inkscape:collect="always"
+         stdDeviation="0.70158516"
+         id="feGaussianBlur3951-6" />
+    </filter>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="4"
+     inkscape:cx="22.971302"
+     inkscape:cy="50.88215"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     fit-margin-top="2"
+     fit-margin-left="2"
+     fit-margin-right="2"
+     fit-margin-bottom="2"
+     inkscape:window-width="988"
+     inkscape:window-height="747"
+     inkscape:window-x="1280"
+     inkscape:window-y="0"
+     inkscape:window-maximized="0" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Calque 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-469.60713,-573.38113)">
+    <g
+       id="g4543"
+       transform="translate(-0.21527325,0.494395)">
+      <path
+         style="fill:#2f355b;fill-opacity:1;stroke:none"
+         d="m 471.10696,596.1082 9.24838,-6.50903 c 0,0 0.5666,-0.1379 0.86031,-0.11255 0.28997,0.0251 0.68826,0.24386 0.68826,0.24386 l 1.89269,2.30723 c 0,0 13.3782,-0.35891 18.98375,0.77215 5.60552,1.13107 16.96521,7.23434 16.96521,7.23434 0,0 -10.82771,-3.87759 -16.37184,-4.66141 -5.54414,-0.78383 -15.79174,0.8192 -15.79174,0.8192 l 2.23682,2.38226 c 0,0 -0.0476,0.27224 -0.25809,0.35641 -0.19494,0.0779 -0.77429,0.0751 -0.77429,0.0751 l -17.29231,-2.1009 c 0,0 -0.4263,-0.20818 -0.51619,-0.33764 -0.0914,-0.13167 0.12904,-0.46896 0.12904,-0.46896 z"
+         id="path4737-0-3"
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="ccacczczccaccsc" />
+      <path
+         transform="matrix(-0.33085924,0,0,-0.14427887,496.66984,598.65651)"
+         sodipodi:nodetypes="czczc"
+         inkscape:connector-curvature="0"
+         id="path3943"
+         d="M 76.193139,13.401715 C 57.710046,8.3130962 21.120369,-2.1218122 21.120369,-2.1218122 c -0.643749,1.38451197 7.683582,19.5802352 7.683582,19.5802352 0,0 -23.8152872,7.996468 -37.3644885,10.578805 C -22.109739,30.619566 -67.20969,-6.5991839 -67.20969,-6.5991839"
+         style="fill:none;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter3949-8)" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path3774"
+         d="m 481.39769,580.85959 14.75254,-0.10971 22.6988,48.42922 -14.74868,0 z"
+         style="fill:#dd6622;fill-opacity:1;stroke:#faf7f7;stroke-width:0.29213133;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+         sodipodi:nodetypes="ccccc" />
+      <g
+         transform="matrix(1.0768952,0,0,1.0859,-38.58903,-55.894743)"
+         id="g3882">
+        <g
+           id="g3885">
+          <g
+             id="g3888">
+            <path
+               style="fill:#dd6622;fill-opacity:1;stroke:#ffffff;stroke-width:0.2701447;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+               d="m 476.95062,630.87097 15.70961,0 25.75475,-44.54265 -12.00402,0 z"
+               id="path3794"
+               inkscape:connector-curvature="0"
+               sodipodi:nodetypes="ccccc" />
+          </g>
+        </g>
+      </g>
+      <path
+         transform="matrix(0.28240083,0,-0.10341225,0.34807759,440.73303,415.12185)"
+         d="m 475.27677,595.52069 c 0,9.62363 -7.85803,17.42513 -17.5514,17.42513 -9.69337,0 -17.5514,-7.8015 -17.5514,-17.42513 0,-9.62363 7.85803,-17.42513 17.5514,-17.42513 9.69337,0 17.5514,7.8015 17.5514,17.42513 z"
+         sodipodi:ry="17.425131"
+         sodipodi:rx="17.551399"
+         sodipodi:cy="595.52069"
+         sodipodi:cx="457.72537"
+         id="path3000"
+         style="fill:#ffffff;fill-opacity:1;stroke:none"
+         sodipodi:type="arc" />
+      <path
+         sodipodi:nodetypes="cccc"
+         inkscape:connector-curvature="0"
+         id="path3796"
+         d="m 516.01376,576.59437 12.69069,0.0236 -17.17225,38.31008 z"
+         style="fill:#dd6622;fill-opacity:1;stroke:#f8f8f8;stroke-width:0.29213133;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+      <path
+         sodipodi:nodetypes="cc"
+         inkscape:connector-curvature="0"
+         id="path4479-1"
+         d="m 506.30223,603.82909 -7.45931,13.08148"
+         style="fill:none;stroke:#dd6622;stroke-width:0.97377104px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
+      <g
+         transform="matrix(0.98860354,-0.15054248,0.25363017,1.6655743,-148.54691,-329.29904)"
+         id="g4523">
+        <path
+           sodipodi:nodetypes="ccacczczccaccsc"
+           inkscape:connector-curvature="0"
+           id="path4737-0"
+           d="m 527.54746,607.30035 -10.44414,7.92336 c 0,0 -0.63987,0.16786 -0.97154,0.13701 -0.32749,-0.0305 -0.77726,-0.29684 -0.77726,-0.29684 l -2.1374,-2.80857 c 0,0 -15.10793,0.43689 -21.43825,-0.93993 -6.33032,-1.37685 -19.15873,-8.80627 -19.15873,-8.80627 0,0 12.22768,4.72014 18.48863,5.67427 6.26097,0.95415 17.83354,-0.9972 17.83354,-0.9972 l -2.52603,-2.89989 c 0,0 0.0536,-0.33139 0.29146,-0.43385 0.22014,-0.0948 0.87441,-0.0914 0.87441,-0.0914 l 19.52812,2.5574 c 0,0 0.48142,0.25341 0.58293,0.41101 0.10324,0.16026 -0.14574,0.57085 -0.14574,0.57085 z"
+           style="fill:#2f355b;fill-opacity:1;stroke:none" />
+        <path
+           style="fill:none;stroke:#ffffff;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter3939-6)"
+           d="m -52.507031,2.8529714 c 0,0 28.883938,35.7931886 45.6652642,41.8824406 16.7813262,6.089252 48.5303798,3.294937 48.5303798,3.294937 0,0 4.334516,16.398182 7.17743,16.43717 2.842914,0.03899 26.037556,-40.964888 26.037556,-40.964888"
+           id="path3149"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="czczc"
+           transform="matrix(0.41898422,0,0,0.19694403,495.91079,602.62542)" />
+      </g>
+      <path
+         sodipodi:nodetypes="cc"
+         inkscape:connector-curvature="0"
+         id="path4479"
+         d="m 500.26774,590.57084 -7.87837,12.55114"
+         style="fill:none;stroke:#dd6622;stroke-width:0.97377104px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
+    </g>
+  </g>
+</svg>
diff --git a/xtandempipeline/doc/xtandem_pipeline.pdf b/xtandempipeline/doc/xtandem_pipeline.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..4dffad785083371553c741fd5c7941ce0c3d57c3
Binary files /dev/null and b/xtandempipeline/doc/xtandem_pipeline.pdf differ
diff --git a/xtandempipeline/doc/xtandem_pipeline.tex b/xtandempipeline/doc/xtandem_pipeline.tex
new file mode 100644
index 0000000000000000000000000000000000000000..c939c515ffc0a45ccf6187768ec8e8bca136d784
--- /dev/null
+++ b/xtandempipeline/doc/xtandem_pipeline.tex
@@ -0,0 +1,364 @@
+\documentclass[10pt,a4paper]{article}
+\usepackage[utf8x]{inputenc}
+\usepackage{ucs}
+\usepackage{amsmath}
+\usepackage{amsfonts}
+\usepackage{amssymb}
+\usepackage[colorlinks=true,urlcolor=blue,linkcolor=black]{hyperref}
+\usepackage{graphicx}
+\usepackage{fancyhdr}
+\usepackage{geometry}
+
+\newcommand{\X}{\textbf{X!Tandem pipeline}}
+
+%\usepackage{enumitem}
+%\setdescription{labelsep=\textwidth}
+
+\author{Benoit Valot\\
+\texttt{valot@moulon.inra.fr}\\
+PAPPSO - \url{http://pappso.inra.fr/}\\
+\includegraphics[width=1cm]{images/pappso.pdf}
+}
+\title{$\X$\\Automated analyses, filtering and export of X!Tandem MS/MS results}
+\date{29 October 2010}
+
+%Modification des entetes et pied de page + marges
+\geometry{top=3cm, bottom=3cm, left=2cm, right=2cm}
+%\pagestyle{headings}
+\pagestyle{fancy}
+%\fancyhead{}
+\fancyfoot{}
+\rfoot{\thepage}
+\lfoot{\includegraphics[width=1cm]{images/pappso.pdf}}
+
+
+\begin{document}
+\maketitle
+
+
+\begin{abstract}
+\href{http://www.thegpm.org/tandem/index.html}{X!Tandem} is an open-source software performing peptide/protein identification from MS/MS mass spectra. X!Tandem is fast and accurate, but the Global Proteome Machine (\href{http://www.thegpm.org/}{GPM}) is relatively limited regarding the processing of identification results. 
+$\X$ is an alternative to the installation of the GPM on local servers. 
+
+\paragraph*{}
+$\X$ performs database searching and matching on a list of MS/MS runs in one shot, using a list of easily user selected paramaters and databases.
+
+\paragraph*{}
+$\X$ also performs filtering of data according to statistical values at peptide and protein levels. The results are stored into TSV (Tab Separated Values) files. Moreover, redundancy of protein databases are fully filtered as follows :
+\begin{itemize}
+\item proteins identified without specific peptides compared to others are eliminated;
+\item proteins identified with the same pool of peptides are assembled;
+\item proteins are grouped by function (identified with at least one common peptide), and the specific peptides for each sub-group of proteins are indicated.
+\end{itemize}
+\end{abstract}
+
+\tableofcontents
+
+\pagebreak 
+
+\section{Installation}
+
+\subsection{License}
+\paragraph*{}
+Copyright (C) 2010  Valot Benoit\\
+$\X$ program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\\
+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \href{http://www.gnu.org/licenses/gpl.html}{GNU General Public License} for more details.
+
+\subsection{Requirements}
+$\X$ works on all platforms (Linux, Windows and Mac). Java 1.6 must be installed (it can be found :
+\href{https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jre-6u14-oth-JPR@CDS-CDS_Developer}{here}).
+
+\subsection{Third party softwares for Windows}
+\begin{enumerate}
+\item Download the \href{http://pappso.inra.fr/downloads/xtandem_pipeline.zip}{$\X$ archive} and unzip it.
+\item Create a folder named "Benperl/" directly in the C:/ directory.
+\item Move the folders "Xtandem", from the archive to the new folder "C:/Benperl/".
+\end{enumerate}
+You could also download the executable in the \href{ftp://ftp.thegpm.org/projects/tandem/binaries/}{GPM site} (32 and 64 bits).
+
+\subsection{Third party softwares for Linux}
+\subsubsection*{Ubuntu}
+\begin{itemize}
+\item Add this \href{https://launchpad.net/~olivier-langella/+archive/ppa}{repository}. 
+\item Install the \textit{xtandem-tornado} package.
+\end{itemize}
+\subsubsection*{Other distributions}
+\begin{itemize}
+\item Download the \href{ftp://ftp.thegpm.org/projects/tandem/source/}{sources} and follow the instruction of compilation.
+\end{itemize}
+
+\subsection{Third party softwares for Mac}
+Download the executable from the \href{ftp://ftp.thegpm.org/projects/tandem/binaries/}{GPM site}.
+
+\begin{figure}[!ht]
+\center \includegraphics[scale=0.5]{images/tandem_principal.png}
+\caption{Principal window}
+\label{principal}
+\end{figure}
+
+\subsection{Start X!Tandem pipeline}
+\paragraph*{}
+To run \X, simply :
+\begin{itemize}
+\item Open X!Tandem pipeline by using this \href{http://pappso.inra.fr/documents/bioinformatique/xtandem_parser.jnlp}{link}
+\item Wait for the program to execute
+\item The principal window will appear (Fig~\ref{principal})
+\end{itemize}
+
+\subsection{Configuration}
+\begin{itemize}
+\item Open the menu X!Tandem $\rightarrow$ Configuration (Fig~\ref{configuration}).
+\item Define the path to the X!Tandem executable
+\item Choose the folder where to store the X!Tandem parameters
+\item Choose the folder where the MS/MS data, the protein databases and the X!tandem results are stored
+\end{itemize}
+
+\begin{figure}[!ht]
+\center \includegraphics[scale=0.5]{images/tandem_configuration.png}
+\caption{Configuration window}
+\label{configuration}
+\end{figure}
+
+\pagebreak 
+
+\section{X!Tandem analysis}
+\paragraph*{}
+$\X$ allows you to analyze peak-lists files by searching a list of protein databases using the X!Tandem software.
+Three successive graphical boxes help you select first the mzXML files or other peak-lists, then the protein databases and finally the folder where the results will be stored. The databases must be protein ones, X!Tandem does not work on DNA databases.
+
+\subsection{Parameters}
+\label{parameter}
+\paragraph*{}
+To perform database searching, you must create or edit a model XML file (stored in the xtandem models folder). Open the menu X!Tandem $\rightarrow$ Parameters (Fig~\ref{xtandem_parameter}).
+
+\begin{figure}[!h]
+\center \includegraphics[scale=0.4]{images/tandem_parameter.png}
+\caption{Parameter window}
+\label{xtandem_parameter}
+\end{figure}
+
+\paragraph*{}
+To use complete performance of your computer, specify the number of CPU in the model : spectrum $\rightarrow$ threads.
+
+\subsection{Running analysis}
+\paragraph*{}
+To perform analysis, start the menu X!Tandem $\rightarrow$ Analysis.
+\begin{enumerate}
+\item Select the peak-list files to be analyzed (See~\ref{peak})
+\item Select the database files to be searched (See~\ref{database})
+\item Select the folder where to store the result files
+\item Select the searching parameters model (See~\ref{parameter})
+\end{enumerate}
+
+\subsection{Peak-lists}
+\label{peak}
+\paragraph*{}
+X!Tandem works with open peak-list files like mzXML, mgf, mzData, mzML or pkl files.
+
+\subsection{Databases}
+\label{database}
+\paragraph*{}
+X!Tandem software uses only protein databases in fasta format. It doesn't work with EST\footnote{Expressed Sequenced tag} sequences. You can transform your database using our application \textit{Protein database manager}, available \href{http://pappso.inra.fr/bioinformatique.html}{here}, or you can directly run it \href{http://pappso.inra.fr/documents/bioinformatique/database_manager.jnlp}{here}.
+
+\pagebreak
+
+\section{Processing the results}
+\paragraph*{Warning:}
+To process results, $\X$ needs to have X!Tandem result files (.xml). The names of the files are used as \textbf{sample names}.
+
+\subsection{Three modes of analysis}
+\label{mode}
+\paragraph*{}
+You can filter the MS/MS identification results and export them in three different modes : (menu Processing)
+\begin{description}
+\item[Individual mode] \hfill  \\ Each MS/MS result file is processed individually.\\
+You cannot perform comparison by using this process.
+\item[Combined mode] \hfill  \\ The MS/MS result files are combined in one result file, and this file is filtered / exported.\\
+This mode is useful to compare different results.
+\item[Phosphopeptide mode] \hfill  \\ Same as the combined mode analysis except that only phosphopeptides are conserved and the result is oriented in order to validate phosphosites.
+\end{description} 
+
+\paragraph*{}
+In all modes, you have to :
+\begin{enumerate}
+\item Select the XML result files
+\item Define the filter parameters  (~\ref{filtering})
+\item Define the name of the result file to export
+\item Define the export parameters  (~\ref{exporting})
+\end{enumerate}
+
+\subsection{Filter parameters}
+\label{filtering}
+The filter window (Fig~\ref{filter}) defines the automated filtering process parameters :
+\small
+\begin{description}
+\item[Peptide E-value] \hfill \\Defines the E-value above which a peptide is considered as valid.
+\item[Peptide number] \hfill \\Defines the number of valid unique\footnote{Unique peptides are defined as peptides with different sequences. This excludes peptides with different modifications.} peptides necessary to validate a protein.
+\item[Protein E-value] \hfill \\Defines the E-value above which a protein is considered as valid.
+\begin{itemize}
+\item The protein E-value is the product of its valid unique peptide E-values and it is different from the protein E-values determined by X!Tandem. 
+\item The values are expressed in log(E-value).
+\end{itemize}
+\item[Sum to all] \hfill \\Defines how protein filter is performed when MS/MS results are combined :
+\begin{description}
+\item[No] To validate a protein, the 2 parameters (peptide number and protein E-value) must be valid in at least one result.
+Interesting if one wants to compare 2DLC-MS/MS results, where peptides from a protein are in the same LC-MS/MS run.
+\item[Yes] To validate a protein, the 2 parameters (peptide number and protein E-value) must be valid in the sum of all results.
+Interesting if one wants to compare SDS-PAGE-LC-MS/MS results, where peptides from a protein are split in different LC-MS/MS runs.
+\end{description}
+\item[Phosphopeptide] \hfill \\Keep only peptides containing phosphorylated residue modifications.
+All other peptides are invalided.
+\item[Contaminants] \hfill \\When you perform an analysis using different fasta databases, you can remove the result from one database by selecting this database.
+Interesting because it allows you to always include the same contaminant proteins during the database search, and because it removes the contaminant proteins from the results.
+\item[Add results] \hfill \\At this stage, you can add other MS/MS result files to the analysis. If two files have the same name, they are combined in one result file. Interesting if one wants to combine X!Tandem results of the same LC-MS/MS run using different modification parameters or protein databases.
+\end{description}
+\normalsize
+\begin{figure}[!ht]
+\center \includegraphics[scale=0.5]{images/tandem_filter.png}
+\caption{Filter window}
+\label{filter}
+\end{figure}
+
+\pagebreak 
+
+\subsection{Export parameters}
+\label{exporting}
+The export window (Fig~\ref{export}) shows the different types of available exports :
+\small
+\begin{description}
+\item[Default] \hfill \\Creates TSV files containing identification results for proteins (*protein.txt) and peptides (*peptide.txt). When you perform a combined analysis, a *compar.txt file is created that contains the results of comparison between samples.
+\item[Fasta] \hfill \\Creates a fasta file for valid proteins.
+\item[PepNovo] \hfill \\Creates a XML file containing the peptide results to be removed for an automated \textit{De Novo} interpretation in sequence using our \href{http://pappso.inra.fr/documents/bioinformatique/DeNovo_pipeline.pdf}{DeNovo pipeline}.
+\item[FDR] \hfill \\Creates a tabulated file containing the number of valid peptides for the different peptide E-values in each database. Allows you to determine the E-value above which FDR value is acceptable.\\
+\label{fdr}\textbf{Warning} : Use very low parameters in peptide (0.1) and protein (-1) E-values, and set the number of unique peptides to validate a protein to 1.
+\item[Protic] \hfill \\Creates a PROTICdb compatible XML file, so you can store results in the \href{http://pappso.inra.fr/bioinformatique.html}{PROTICdb} proteomic database.
+\item[MassChroQ] \hfill \\Creates a MassChroQ compatible XML file, so you can perform quantitative analysis using our home-made software \textbf{MassChroQ} (to be released soon).
+\end{description}
+\normalsize
+\begin{figure}[!ht]
+\center \includegraphics[scale=0.5]{images/tandem_export.png}
+\caption{Export window}
+\label{export}
+\end{figure}
+
+\pagebreak
+
+\section{Exporting the results}
+\subsection{Files *protein.txt}
+The identified proteins are represented by sample (individual mode) or for all samples (combine/phosphopeptide modes) (Fig~\ref{prot}). Proteins are grouped by function.
+\small
+\begin{description}
+\item[Group] Group to which the protein belongs. All the proteins in a group have at least one peptide in common.
+\item[Sub-group] Sub-group to which the protein belongs. All the proteins in a sub-group are identified with the same valid peptides.
+\item[Description] Protein description as it appears in the header of the fasta file.
+\item[log(E value)] Protein E-value expressed in log.
+\begin{itemize}
+\item Statistical value representing the number of times this protein would be identified randomly.
+\item Calculated as the product of unique peptide E-values in the sample.
+\end{itemize}
+\item[Coverage] \% of protein coverage.
+\item[MW] Molecular weight of the protein expressed in KDa.
+\item[Spectra] Total number of MS/MS spectra identified for the protein
+\item[Specifics] Number of MS/MS spectra that are specific to the protein, compared to the other proteins of the same group (individual and phosphopeptide mode, see~\ref{mode}).
+\item[Specific uniques] Number of unique peptide sequences specific to the protein, compared to other proteins of the same group (combined mode, see~\ref{mode}).
+\item[Uniques] Number of unique peptide sequences identified for the protein.
+\item[PAI] Protein Abundance Index\label{pai} :
+\begin{itemize}
+\item PAI estimates the relative abundance of the protein.
+\item PAI is calculated as the number of identified spectra divided by the number of theoretical peptides\footnote{Theoretical peptides correspond to the peptides resulting from the theoretical digestion of the protein sequence by trypsin and that are visible in mass spectrometry ($800<MH<2500$)} of the protein.
+\end{itemize}
+\item[Redundancy] Number of proteins identified with the same pool of spectra. When there is redundancy, the above described parameters are shown only for the first protein of the subgroup (arbitrary chosen).Only the description of the other members of the subgroup is shown.
+\item[Position] Position(s) of the phosphosite in the protein. This value is only reported in phosphosite mode (see~\ref{mode}).
+\end{description}
+\normalsize
+
+\begin{figure}[!ht]
+\center \includegraphics[width=1.0\textwidth]{images/tandem_prot.pdf}
+\caption{Protein results}
+\label{prot}
+\end{figure}
+
+\subsection{Files *peptide.txt}
+Identified peptides are grouped by group (Fig~\ref{pep}). One line corresponds to one MS/MS spectrum identifying one peptide that can be present in one or more proteins.
+\small
+\begin{description}
+\item[Group] Group of the proteins containing this peptide.
+\item[Description] Protein description if the peptide is specific to this protein.
+\item[Sample] Name of the MS/MS run file.
+\item[Scan] Scan number of the MS/MS run analysis.
+\item[Rt] Retention time of the peptide.
+\item[Sequence] Sequence of the peptide.
+\item[Modifs] Modifications on the peptide.
+\footnote{For example, M2:+15.99 means that the mass of the second amino acid, which is a methionine, is increased by 15.99. This mass increase indicates that the peptide is oxidized.}
+\item[Valid] Indicates whether the peptide was validated by the filter parameters or not.
+\item[Used] Number of protein sub-groups in which the peptide is present.
+\item[on a total of] Total number of protein sub-groups in the group.\\
+\textit{Rq :} If the peptide is specific, there is only $'-'$. 
+\item[Sub-groups] Protein sub-groups where the peptide is present.
+\item[E-value] Peptide E-value.
+\begin{itemize}
+\item Statistical value representing the number of times this peptide would be identified randomly.
+\item Calculated by X!Tandem with an empiric model.
+\end{itemize}
+\item[Charge] Charge level of the precursor.
+\item[MH+ Obs] Monoisotopic observed mass for the peptide + one proton (MH$^{+}$)
+\item[MH+ Theo]Monoisotopic calculated mass for the peptide + one proton (MH$^{+}$)
+\item[DeltaMH+] Error in the precursor mass between observed and theoretical data (Da)
+\item[Delta-ppm] Error in the precursor mass between observed and theoretical data (ppm)
+\item[Position] Position(s) of the phosphosite in the protein. This value is only reported in phosphosite mode (see~\ref{mode}).
+\end{description}
+\normalsize
+
+\begin{figure}[!ht]
+\center \includegraphics[width=1.0\textwidth]{images/tandem_peptide.pdf}
+\caption{Peptide results}
+\label{pep}
+\end{figure}
+
+\subsection{Files *compar.txt}
+All identified proteins are represented in a list: one protein per row, and one sample per column (Fig~\ref{compar}).
+The list of proteins is repeated 4 times, corresponding to the 4 parameters that are used to compare samples (see Type for details).
+\small
+\begin{description}
+\item[Group] Protein group. Groups roughly correspond to the different functions.
+\item[Sub-group] Protein sub-group. All the proteins of a sub-group are identified with the same valid peptides.
+\item[Description] Protein description extracted from the fasta file.
+\item[MW] Molecular weight of the protein (KDa).
+\item[log(E value)] The log of protein's E-value.
+\begin{itemize}
+\item Statistical value representing the number of times this protein would be identified randomly.
+\item Calculated as the product of unique peptide E-values in all sample.
+\end{itemize}
+\item[Type] The item that is compared between samples.
+\begin{description}
+\item[Spectra] Number of MS/MS spectra identified for the protein.
+\item[Specifics] Number of specific MS/MS spectra identified for the protein compared to the other proteins belonging to the same group.
+\item[Uniques] Number of unique peptide sequences identified for this protein.
+\item[PAI] Protein Abundance Index (~\ref{pai}).
+\end{description}
+\item[Position] Position(s) of the phosphosite in the protein. This value is only reported in phosphosite mode (see~\ref{mode}).
+\end{description}
+\normalsize
+
+\begin{figure}[!ht]
+\center \includegraphics[width=1.0\textwidth]{images/tandem_comparaison.pdf}
+\caption{Comparison results}
+\label{compar}
+\end{figure}
+
+\subsection{Files *fdr.txt}
+This result file indicates the number of peptides with an E-value less than the E-value indicated in the fist column (Fig~\ref{fdr2}). You just have to divide the number of peptides in the reverse or decoy database by the number of peptides in the normal database to obtain the false discovery rate at each E-value level.\\
+This method has 2 limitations :
+\begin{itemize}
+\item normal and reverse databases must be saved in different fasta files;
+\item the filter parameters must be low (~\ref{fdr})
+\end{itemize}
+
+\begin{figure}[!h]
+\center \includegraphics[scale=0.5]{images/tandem_fdr.png}
+\caption{FDR results}
+\label{fdr2}
+\end{figure}
+
+
+\end{document}
\ No newline at end of file
diff --git a/xtandempipeline/lib/batik/batik-anim-1.7.jar b/xtandempipeline/lib/batik/batik-anim-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..2a150b2bcc95645079e87838713f12463469c20c
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-anim-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-awt-util-1.7.jar b/xtandempipeline/lib/batik/batik-awt-util-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..f83b5bd48b51adf43b1e8adfcd02be20fffa3c53
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-awt-util-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-bridge-1.7.jar b/xtandempipeline/lib/batik/batik-bridge-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..872cf27a673c3f4c533e93a6ad4b0664178bc766
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-bridge-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-codec-1.7.jar b/xtandempipeline/lib/batik/batik-codec-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..7cd907efb322400275cd301b064965d02970b769
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-codec-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-css-1.7.jar b/xtandempipeline/lib/batik/batik-css-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..ef3013d071c8900cdd71fefeee90aad2a01725ea
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-css-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-dom-1.7.jar b/xtandempipeline/lib/batik/batik-dom-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..0206475472ebd5e7c7579ae380239016edb83fd3
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-dom-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-ext-1.7.jar b/xtandempipeline/lib/batik/batik-ext-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..57fb2732762ae879bdf939cd81c30728b4a6ad0b
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-ext-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-gvt-1.7.jar b/xtandempipeline/lib/batik/batik-gvt-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..9aa96868723657dcb9ac484d7f46d1443577ac20
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-gvt-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-parser-1.7.jar b/xtandempipeline/lib/batik/batik-parser-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..b84ad36e0057904a2b6d9a0303090418b4eb4c8d
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-parser-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-script-1.7.jar b/xtandempipeline/lib/batik/batik-script-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..a684f1c7530cd4d8ea962870ceb4d33254812d61
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-script-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-svg-dom-1.7.jar b/xtandempipeline/lib/batik/batik-svg-dom-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..463d0e012ae67749c90c38458b37d861eec44426
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-svg-dom-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-svggen-1.7.jar b/xtandempipeline/lib/batik/batik-svggen-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..0feaf60524be21b76160e7130e7937f5195385cb
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-svggen-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-transcoder-1.7.jar b/xtandempipeline/lib/batik/batik-transcoder-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..3934ed0a99ee941969d46142df06a0cf72232e9c
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-transcoder-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-util-1.7.jar b/xtandempipeline/lib/batik/batik-util-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..c50d1ff29ef1f6d8afadcdffc4a247dd64f03447
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-util-1.7.jar differ
diff --git a/xtandempipeline/lib/batik/batik-xml-1.7.jar b/xtandempipeline/lib/batik/batik-xml-1.7.jar
new file mode 100644
index 0000000000000000000000000000000000000000..45ba1570a502444663b74cea3e14728992e00a45
Binary files /dev/null and b/xtandempipeline/lib/batik/batik-xml-1.7.jar differ
diff --git a/xtandempipeline/lib/proticws_svgutils.jar b/xtandempipeline/lib/proticws_svgutils.jar
new file mode 100644
index 0000000000000000000000000000000000000000..84dde415bfcaa990fb188ff98b6b5546f3ddf56c
Binary files /dev/null and b/xtandempipeline/lib/proticws_svgutils.jar differ
diff --git a/xtandempipeline/lib/swt/swt-gtk-linux-x86.jar b/xtandempipeline/lib/swt/swt-gtk-linux-x86.jar
new file mode 100644
index 0000000000000000000000000000000000000000..eea553d818fe45da52e8bfb7239e630d67249eb8
Binary files /dev/null and b/xtandempipeline/lib/swt/swt-gtk-linux-x86.jar differ
diff --git a/xtandempipeline/lib/swt/swt-gtk-linux-x86_64.jar b/xtandempipeline/lib/swt/swt-gtk-linux-x86_64.jar
new file mode 100644
index 0000000000000000000000000000000000000000..ec6d5212a581b8a82d263c0f4a955897d27721a2
Binary files /dev/null and b/xtandempipeline/lib/swt/swt-gtk-linux-x86_64.jar differ
diff --git a/xtandempipeline/lib/swt/swt-win32-windows-x86.jar b/xtandempipeline/lib/swt/swt-win32-windows-x86.jar
new file mode 100644
index 0000000000000000000000000000000000000000..ce22959fa477000a7189411abaccda40519183c5
Binary files /dev/null and b/xtandempipeline/lib/swt/swt-win32-windows-x86.jar differ
diff --git a/xtandempipeline/lib/swt/swt-win32-windows-x86_64.jar b/xtandempipeline/lib/swt/swt-win32-windows-x86_64.jar
new file mode 100644
index 0000000000000000000000000000000000000000..1312014ee02bb30127eb8e0488c0d1e2d767c119
Binary files /dev/null and b/xtandempipeline/lib/swt/swt-win32-windows-x86_64.jar differ
diff --git a/xtandempipeline/lib/xalan-2.6.0.jar b/xtandempipeline/lib/xalan-2.6.0.jar
new file mode 100644
index 0000000000000000000000000000000000000000..73cf175fa99226aa6ffad2e24bcaddbb126c9f95
Binary files /dev/null and b/xtandempipeline/lib/xalan-2.6.0.jar differ
diff --git a/xtandempipeline/lib/xercesImpl-2.9.1.jar b/xtandempipeline/lib/xercesImpl-2.9.1.jar
new file mode 100644
index 0000000000000000000000000000000000000000..547f56300d93fe36587910739e095f03e287d47e
Binary files /dev/null and b/xtandempipeline/lib/xercesImpl-2.9.1.jar differ
diff --git a/xtandempipeline/lib/xml-apis-1.3.04.jar b/xtandempipeline/lib/xml-apis-1.3.04.jar
new file mode 100644
index 0000000000000000000000000000000000000000..d42c0ea6cfd17ed6b444b8337febbc0bdb55ed83
Binary files /dev/null and b/xtandempipeline/lib/xml-apis-1.3.04.jar differ
diff --git a/xtandempipeline/lib/xml-apis-ext-1.3.04.jar b/xtandempipeline/lib/xml-apis-ext-1.3.04.jar
new file mode 100644
index 0000000000000000000000000000000000000000..a7869d68aacd655c782bb373c7334e5ff667ca58
Binary files /dev/null and b/xtandempipeline/lib/xml-apis-ext-1.3.04.jar differ