Skip to main content

Trace2PS and FSA2PS: two software toolkits for converting trace and fsa files to PostScript format

Abstract

Background

Due to the advanced techniques in sequencing and fragment analysis, DNA sequencers and analyzers produce vast amounts of data within short time. To administrate the large data volume conveniently, efficient data management systems are used in order to process and to store sequencers' or analyzers' data outcome. The inclusion of graphical reports in such systems is necessary to achieve a comprehensive view of the integrated data. However, the resulting data of sequencing and fragment analysis runs are stored in a proprietary format, the so-called trace or fsa format, which is only readable by programs provided by the instrument's vendor operating on the machine itself or by commercial tools designed for editing the respective data. To allow for a quick conversion of the proprietary data format into a commonly used one, toolkits are required that reach this aim and can be easily integrated into workflow systems.

Results

We have developed the software toolkits Trace2PS and Fsa2PS which allow to convert sequence and fragment analysis raw data files to PostScript images, respectively. The toolkits are implemented as Perl modules that can be used as standalone command line applications in conjunction with a script-based analysis pipeline, or integrated in software applications for displaying the data content of trace and fsa files. The converter modules support the commonly used file formats for storage of sequencing (ABI and SCF) and fragment analysis data (FSA).

Conclusion

The software toolkits provide useful applications to convert sequencing and fragment analysis files from a proprietary into a more common, human-readable format. Trace2PS and FSA2PS are useful and capable in data management workflow systems like SAMS, or laboratory information systems that are used for displaying trace and fragment analysis results via web-based tools over an intranet or internet connection to users that can view their results directly on the screen.

Background

DNA sequencing techniques have emerged to fast and customized analysis methods. Nowadays, DNA sequencers permit cheap large-scale genome sequencing producing vast amounts of data within a very short time [1]. Besides DNA sequencing, DNA fragments analysis is another indispensable high-throughput technology for basic research in molecular biology laboratories. Fragment analysis is used for genotyping and to investigate genetic diversity as done by Woodhead et al. [2] to reveal genetic differences between Arabidopsis lyrata and Arabidopsis thaliana by microsatellite development. Current analysis instruments like the Applied Biosystems 3730 × l DNA Analyzer can run up to 96 fragment analysis samples in parallel in a period of a few hours.

Because of the huge amount of data produced by the present generation of sequencers and analyzers, the resulting data is processed and stored using efficient data management systems, even if single reads or fragment analysis are to be studied. Graphical reports included in data management systems are very useful to access the results, and to get a quick overview of the data. However, sequencers and analyzers usually produce data in proprietary formats, which are only readable by programs provided by the instrument's vendor operating on the machine itself or by commercial tools designed for editing the respective files. The most commonly used formats for storing Sanger-type DNA sequencing data are ABI and SCF [3]. Sequencing files are referred to as traces and encompass the trace amplitudes, base calls and their confidence values, as well as textual data of the particular sequencing experiment. For storing fragment analysis results, a common file format is FSA that has been introduced by Applied Biosystems [4]. There are several tools required to convert sequence traces and fragment analysis result files into a more common, human-readable file format. At the same time, this transformation should be capable of easily being integrated into workflow systems that are used to process and manage DNA analysis data. A very portable format for displaying sequencing and fragment analysis results is PostScript that can be quickly converted into other commonly used formats like PDF. To reach the goals mentioned above, we have developed two toolkits; one for converting common sequencer file formats and the other one for converting fragment analysis formats to PostScript.

Implementation

The two software toolkits are implemented as Perl modules which convert trace and fsa files into PostScript format: Trace2PS and Fsa2PS. The toolkits consist each of a module and an application script written in Perl that provides a front-end, and exemplifies the utilization of the corresponding module. The Perl modules are packaged in a CPAN [5] compatible archiving format referred to as CPAN distribution. Hence, the modules can be easily integrated by an installation script, commonly included in CPAN distributions, into the user's system.

Results

Trace2PS

Currently, Trace2PS supports the widely used trace file formats ABI and SCF. The file format is detected automatically while the file is passed from command line. As a default, Trace2PS will output a PostScript file containing the trace display together with a plain text file containing the DNA sequence represented by the respective trace, which is specified by the file extension .seq. Figure 1(B) shows a typical PostScript output of Trace2PS. By default, the trace view is segmented into seven panels each including a constant number of sequence reads. The number of panels to display can be changed optionally, but by decreasing this number less data will be shown within the output. The header field contains a selection of the most important information on a trace such as sequencer model name, base caller version, machine, sample, lane number, spacing, dye set, signal, run start and stop time as well as the creation time of the PostScript. Especially for SCF format, the content of the information field can be adjusted by user-defined values passed as command line options. Thus, the user can supplement the field content by missing trace file items or customize the content by overwriting the default.

Figure 1
figure 1

PostScript output of Fsa2PS (A) and Trace2PS (B). PostScript output of Fsa2PS (A) and Trace2PS (B). The header fields comprise each selected information on the sequencing or fragment analysis run, respectively. (A) The result of a typical fragment analysis run is presented. Here, microsatellites of an example organism were investigated. (B) By default, the sequencing result is subdivided into seven panels. Above the chromatogram, the derived base sequence is shown.

FSA2PS

With the emerging need for converting FSA files to PostScript, we have also developed the toolkit Fsa2PS for that we have adopted and adjusted all PostScript generating functions from Trace2PS. Fsa2PS utilizes the Perl extension Bio::Trace::ABIF available from CPAN for parsing the content of FSA files. To maintain the colour coding as used by the analyzer software for presenting genotyping results on screen, Fsa2PS automatically detects the applied dye set [6] and allocates the colours according to the analysed probes. The created PostScript depicts the chromatogram deduced from fragment analysis together with information on the analysis run above the displayed results (Figure 1(A)).

Conclusion

Trace2PS and Fsa2PS provide easy to handle software toolkits implemented in Perl. Due to their platform independency, they can be integrated into a variety of software projects or data analysis pipelines. The PostScript output can afterwards be converted into various file formats like e.g. PDF, BMP, JPEG, GIF, PNG. Both tools are useful and applicable in data management workflow systems like SAMS (a sequence analysis and management system for ESTs; [7]), or laboratory information management systems (LIMS) of DNA core facilities that are used for displaying trace or fragment analysis results via web-based tools over an intranet or internet connection to users that can view their results directly on the screen.

Availability and requirements

Toolkit names: Trace2PS, FSA2PS

Toolkits homepage: http://www.cebitec.uni-bielefeld.de/brf/trace2ps/trace2ps.html

Operating system(s): Platform independent

Programming language: Perl

Other requirements: Perl 5.8 or higher

License: The software toolkits are open source and free for academic use.

References

  1. Hall N: Advanced sequencing technologies and their wider impact in microbiology. J Exp Biol. 2007, 210: 1518-1525. 10.1242/jeb.001370.

    Article  CAS  PubMed  Google Scholar 

  2. Woodhead M, Russell J, Squirrell J, Hollingsworth PM, Cardle L, Gibby M, Powell W: Development of EST-derived microsatellite markers for Arabidopsis lyrata subspecies petraea (L.). Molecular Ecology Notes. 2007, 7: 631-634. 10.1111/j.1471-8286.2006.01656.x.

    Article  CAS  Google Scholar 

  3. Dear S, Staden R: A standard file format for data from DNA sequencing instruments. DNA Seq. 1992, 3 (2): 107-110. 10.3109/10425179209034003.

    CAS  PubMed  Google Scholar 

  4. Applied Biosystems Genetic Analysis Data Format-ABIF File Format Specification and Sample File Schema. [http://www.appliedbiosystems.com/support/software_community/ABIF_File_Format.pdf]

  5. Comprehensive Perl Archive Network (CPAN). [http://www.cpan.org]

  6. Standard Dye Sets for Genotyping Applications. [http://www.uri.edu/research/gsc/docs/ABI]

  7. Bekel T, Henckel K, Küster H, Meyer F, Runte VM, Neuweger H, Paarmann D, Rupp O, Zakrzewski M, Pühler A, Stoye J, Goesmann A: The Sequence Analysis and Management System – SAMS-2.0: data management and sequence analysis adapted to changing requirements from traditional sanger sequencing to ultrafast sequencing technologies. J Biotechnol. 2009, 140 (1–2): 3-12. 10.1016/j.jbiotec.2009.01.006.

    Article  CAS  PubMed  Google Scholar 

Download references

Acknowledgements

The authors thank Prisca Viehoever and Daniela Holtgraewe for helping with questions concerning trace and fsa data as well as Peter Priess for technical support. JK would like to thank for providing financial support by ERA-NET PathoGenoMics SPATELIS project.

Funding: ERA-NET PathoGenoMics SPATELIS project.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Justina Krawczyk.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors' contributions

MW wrote the initial Trace2PS code according to a requirement profile from BW, and RN enhanced the code significantly. JK wrote the FSA2PS code, further enhanced the Trace2PS code. JK prepared the manuscript together with AG. All authors have read and approved the manuscript.

Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

Authors’ original file for figure 1

Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Krawczyk, J., Goesmann, A., Nolte, R. et al. Trace2PS and FSA2PS: two software toolkits for converting trace and fsa files to PostScript format. Source Code Biol Med 4, 4 (2009). https://doi.org/10.1186/1751-0473-4-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1751-0473-4-4

Keywords