Fetching contributors…
Cannot retrieve contributors at this time
180 lines (133 sloc) 7.14 KB

SeqAn Manual

Welcome to the manual pages for the SeqAn library!

SeqAn is a C++ template library for the analysis of biological sequences. As such, it contains algorithms and data structures for

  • string representation and their manipluation,
  • online and indexed string search,
  • efficient I/O of bioinformatics file formats,
  • sequence alignments, and
  • many, many more.


Well, as SeqAn is written in C++ it might not come as a surprise, that you should bring some basic knowledge about the C++ programming language. We made quite an effort to not depend on other libraries, than the on-board tools already bring. This means, to learn SeqAn it suffices in the beginning to only know about C++ and the STL which is the standard template library defined by the ISO C++ committee. The rest will be discussed in the subsequent tutorials step by step.

Before we start, here is a strong advice! If you are diving into C++ for the first time, because you are new to programming or switched from another programming language, then we recommend, you first stroll through the C++ FAQs to acquaint yourself with C++. There you can find many useful tips about C++ and get some further readings. It also will introduce you to the paradigms that we used for designing this library. In the Getting Started section we will introduce you to the design decisions of SeqAn and lay down some of the basic programming paradigms we follow to make this library so efficient. If you never heard about these paradigms, dont't worry. We will give you code examples, which you can try out on your own. Never forgot, there is no better way to learn a new language or language feature, than to actually program with it. So keep your fingers attached to the keyboard and let's start right away!

If you didn't install SeqAn yet, please follow the :ref:`User Guide <infra-use>` instructions to install SeqAn first. After that you should continue with the tutorials.


Please note, that although we try hard to provide a very comprehensive list of topics, it is not always possible to cover every angle of the library and its features. The tutorials are thought as a first place to start. If you are more experienced with SeqAn you can use the :ref:`API documentation <api-documentation>` in addition to search for specific functions or classes.


The tutorial section is organized such that you can efficiently search for a specific topic you want to learn more about. Each tutorial takes 30 to 60 minutes of your time for learning how to use SeqAn. So buckle up and jump right into using SeqAn using our tutorials!

These articles are required for every one that is new to SeqAn. Take your time and study these documents thoroughly, as they describe the fundamental concepts and design decisions of the library. Everything else depends on these informations.
In the data structure tutorials we introduce you to the main data structures of this library and their usage. Beginners should start with the :ref:`Sequence tutorial <tutorial-datastructures-sequences-strings-and-segments>`, and then continue with the :ref:`Alingment tutorials <tutorial-datastructures-alignment>`. After that beginners should continue with the :ref:`Alignment Algorithm tutorials <tutorial-algorithms-alignment>`.
In this section we explain several different algorithms that are crucial for many bioinformatics applications. This includes pattern matching, dynamic programming algorithms for sequence alignments, seed extension and many more. Beginners that come from the tutorials about data structures should either continue with :ref:`Online Pattern Matching <tutorial-algorithms-pattern-matching-online>` or with the :ref:`DP Alignment Algorithms <tutorial-algorithms-alignment>`.
On this page you will learn how to read/write and work with common bioinformatic file formats, such as FASTA, BAM, BED, VCF files, and more. Beginners should start with the :ref:`File I/O Overview <tutorial-io-input-output-overview>`. This tutorial introduces you to the basic I/O concepts and data structures.
The how-to page is divided into Recipes and Use Cases. The former section gives you some useful hints about miscellaneous topics. The latter section describes how some use cases can be solved with SeqAn. Things presented here are for experienced SeqAn users. If you are a beginner, first have a look at the tutorials above.
These tutorials teach you how to integrate your application into workflow engines like KNIME or Galaxy.


These articles describe how to get SeqAn, how to use it in your application and explain things you need to consider when building. Everyone should read it.
Anyone who wants to contribute code or documentation to SeqAn should read this. You will learn about the conventions and coding style.
These pages cover the structure of the SeqAn repository, the git workflow and explain release procedures. All SeqAn team members should read this; and also downstream package maintainers.

API Documentation

The API documentation can be found :dox:`mainpage here`.




.. toctree::
    :caption: Tutorials
    :name: tutorial
    :maxdepth: 1

.. toctree::
    :caption: Infrastructure
    :name: infra
    :maxdepth: 1


.. toctree::
    :caption: Follow Us
    :name: follow
    :maxdepth: 1

    SeqAn Project <>
    GitHub <>
    Twitter <>
    RSS Feeds <>
    SeqAn Mailinglist <>

.. toctree::
    :caption: Appendix