{"id":18089001,"url":"https://github.com/eriksjolund/abi2xml","last_synced_at":"2025-04-06T02:28:50.096Z","repository":{"id":92822356,"uuid":"238637911","full_name":"eriksjolund/abi2xml","owner":"eriksjolund","description":"abi2xml is a command-line tool to convert an ABIF file to an XML file. ABIF files (also called ABI trace files) contain DNA sequence data and are e.g. produced by ABI PRISM TM 377 DNA sequencers. This software is written in C++ and released under the GPL license version 2.","archived":false,"fork":false,"pushed_at":"2020-02-06T14:47:47.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T08:39:02.639Z","etag":null,"topics":["abif","bioinformatics","chromatogram","command-line-tool","file-converter","xml"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eriksjolund.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-02-06T08:09:00.000Z","updated_at":"2023-09-07T07:04:26.000Z","dependencies_parsed_at":"2023-03-16T08:45:22.590Z","dependency_job_id":null,"html_url":"https://github.com/eriksjolund/abi2xml","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fabi2xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fabi2xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fabi2xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fabi2xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eriksjolund","download_url":"https://codeload.github.com/eriksjolund/abi2xml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247425534,"owners_count":20936971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abif","bioinformatics","chromatogram","command-line-tool","file-converter","xml"],"created_at":"2024-10-31T17:42:33.784Z","updated_at":"2025-04-06T02:28:50.072Z","avatar_url":"https://github.com/eriksjolund.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Command-line tool for converting the ABIF file format to XML.\n\n## Introduction\n\nThe first version of the command-line tool __abi2xml__ was written in 2003 by Erik Sjölund then working at [Karolinska Institutet](https://ki.se/en). It was meant to serve\nthe purpose of parsing the binary file format coming from an\n__ABI PRISM TM 377 DNA Sequencer__ and writing the information as plain text in to an XML file.\n\nIn February 2020 the source code was migrated from the [original Sourceforge repository](https://sourceforge.net/projects/abi2xml/)\nin to [Github](https://github.com/eriksjolund/abi2xml/). The migrated source code came from the file _abi2xml-1.2.tar.gz_\nthat was released in 2006.\n\n## ABIF file format\n\nThe ABIF file format is described in this publication:\n\n[_Raw Data File Formats,\nand the Digital and Analog Raw Data Streams\nof the ABI PRISM TM 377 DNA Sequencer_](http://www.cs.cmu.edu/afs/cs/project/genome/WWW/Papers/clark.html)\n\nby Clark Tibbetts, Ph. D. Professor of Microbiology, Vanderbilt University, August 1995.\n\n[__Applied Biosystems__](https://en.wikipedia.org/wiki/Applied_Biosystems) later published their own specification.\nThe PDF document [_Applied Biosystems Genetic Analysis Data File Format_](https://github.com/dridk/QAbifReader/blob/master/ABIF_File_Format.pdf) is still available at the [QAbifReader Github repo](https://github.com/dridk/QAbifReader/).\n\n## Installation\n\n### Alternative 1: building from source\nThe qt library version 4 (4.1 or higher) required for building abi2xml. The qt library is available for Linux, Microsoft Windows and Mac OS X and others.\n\nAfter qt has been installed, unpack the abi2xml sources and run `qmake \u0026\u0026 make \u0026\u0026 make install`\n\n### Alternative 2: installing prebuilt binary\n\nIf you are running Windows on a 32-bit (i386) platform you can download the file abi2xml-1.2.zip and unzip it. If your Windows computer lacks zip support you first have to install 7-zip to be able to unzip the file.\n\n## Command line usage\n\nUsage: `abi2xml -i binaryfile -o xmlfile`\n\nOther option flags are also available. To list them type `abi2xml --help`.\n\n```\n[erik@linux]$ abi2xml --help\nabi2xml 1.2\n\nThis program parses the binary file format coming from an\nABI PRISM TM 377 DNA Sequencer and writes the information out as\nan xml file\n\nUsage: abi2xml [OPTIONS]...\n\n  -h, --help                    Print help and exit\n  -V, --version                 Print version and exit\n  -i, --input-file=STRING       input abi file\n  -o, --output-file=STRING      output xml file\n  -I, --input-dir=STRING        input dir with abi files\n  -O, --output-dir=STRING       output dir\n  -s, --abi-file-suffix=STRING  suffix of abi files ( used with --input-dir )\n                                  (default=`abi')\n  -a, --int-vector-as-attribute write integer vectors inside attributes ( It\n                                  makes file size smaller )\n  -e, --input-encoding=STRING   input string encoding.  Available encodings\n                                  listed at:\n                                  http://doc.trolltech.com/3.0/qtextcodec.html\n                                  (default=`Apple Roman')\n```\n\n\nTo convert a whole directory of ABI files to XML\n\n```\n[erik@linux]$ abi2xml -I dir_with_abi_files -O output_dir\n```\n\nIf you want to test abi2xml but you don't have any ABI files, you may use the file _staden-src-1-6-0/userdata/Sample_671.ab1_ found in the _staden-src-1-6-0.tar.gz_ from the Staden project.\n\nAn XSLT script can be useful when you want to retrieve information from the XML file. \nTake a look in the [xslt_examples](xslt_examples) sub directory. There you find some example scripts.\n\nYou run a XSLT script like this:\n`xsltproc xsltscript abi2xml-generated-xmlfile`\n\n## Related projects\n\n### QAbifReader\n\n[QAbifReader](https://github.com/dridk/QAbifReader/), Qt5 ABIF file reader for Genetic Analysis. License: GPL v2. Programming language: C++.\n\n### ABIParser.py\n\n[ABIParser.py](https://www.bioinformatics.org/wiki/ABIParser.py) is a python module for parsing ABI files. License: GPL v2. Programming language: Python.\n\n###  Biojava - Class ABITrace\n[ABITrace java class](https://biojava.org/docs/api/org/biojava/nbio/core/sequence/io/ABITrace.html) in [Biojava](https://biojava.org/). License: LGPL. Programming language: Java.\n\n### Bioperl - Bio::SeqIO::abi\nBio::SeqIO::abi is a perl module in [Bioperl](https://bioperl.org/) for parsing ABI files. It doesn't actually parse the abi files but uses the Staden package for that ( see Section 5.5, “Staden” ). License: \"You may distribute this module under the same terms as perl itself\". Programming language: Perl.\n\n### Emboss - abiview\n[Emboss](https://en.wikipedia.org/wiki/EMBOSS) includes abiview, an application that parses an abi file and converts the information to vector or bitmap images or to text files. License: GPL. Programming language: C.\n\n### Staden\n[Staden](https://en.wikipedia.org/wiki/Staden_Package) has capabilities to extract information from abi trace files ( e.g. the program extract_seq ). License: BSD. Programming language: C.\n\n## References to abi2xml in scientific literature\n\nabi2xml was referenced\n\n* in the book\n[_Plant DNA Barcoding and Phylogenetics_](https://www.amazon.com/Plant-DNA-Barcoding-Phylogenetics-Ajmal/dp/365928095X)\nfrom  2015 that is also available as a [PDF](https://www.researchgate.net/profile/Mohammad_Ajmal_Ali/publication/310234163_Plant_DNA_Barcoding_and_Molecular_Phylogeny/links/582a649d08ae138f1bf34c2c/Plant-DNA-Barcoding-and-Molecular-Phylogeny.pdf).\n\n* in the scientific paper [_Modification of orthogonal tRNAs: unexpected consequences for sense codon reassignment_](https://academic.oup.com/nar/article/44/21/10042/2290919) that was published\nin _Nucleic Acids Reasearch_ in 2016.\n\n* in the doctoral dissertation [_Expanding and evaluating sense codon reassignment for genetic code expansion_](https://hdl.handle.net/10217/183902) by Biddle, C. William in 2017.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriksjolund%2Fabi2xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feriksjolund%2Fabi2xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriksjolund%2Fabi2xml/lists"}