APP下载

AutoSeqMan:batch assembly of contigs for Sanger sequences

2018-05-07JieQiongJinYanBoSun

Zoological Research 2018年2期

Jie-Qiong Jin,Yan-Bo Sun,*

1State Key Laboratory ofGenetic Resources and Evo lution,Kunm ing Institute of Zoology,Chinese Academy of Sciences,Kunm ing Yunnan 650223,China

INTRODUCTION

DNA sequencing technology has experienced a revolutionary shift from automated Sanger sequencing(Sanger et al.,1977)to next-generation sequencing(NGS;reviewed by Shendure&Ji(2008)and Shendure et al. (2004)). Although NGS has dominated due to its high throughput(Schuster,2008),it is not suitable for many population studies due to high costs and other limiting factors. For exam ple,errors are always introduced in final assembly and/or annotation results using NGS data(Bickhart et al.,2017),and thus variations detected in high-throughput analyses require validation by Sanger sequencing(Wall et al.,2014). Furthermore,for some present population genomic studies,error rates have been found to increase with increasing depth of coverage for Illumina data,and thus caution is needed when interpreting the results of next-generation sequencing-based association studies(Walletal.,2014).As such,Sanger sequencing technology is still widely used in many research fields,including evolutionary taxonomy based on short DNA sequences(Chen et al.,2017),evolutionary history study of wild animals(Yuan et al.,2016),biodiversity estimates and influencing factors(Zhou etal.,2017),and validation of mutations identified from high-throughput analyses(Sun etal.,2013).

Further,with the wide application of DNA sequencing technology,e.g. DNA barcoding,which uses short and standardized DNA sequences for individual identification of organism s(Hajibabaei et al.,2007;Savolainen et al.,2005),Sanger sequencing data are continuing to be accumulated among evolutionary taxonomists and others. Thus,batch manipulation of these Sanger sequences has become an important task before downstream analyses,especially for those who doesn’t have programming or bioinformatics background or experiments. Although several sequence manipulation packages for general purpose issues have been published previously,including MEGA(Kum ar et al.,2016),EMBOSS(Rice etal.,2000),and FasParser(Sun,2017),these packages are all based on assembled contigs(a consensus region of overlapping DNA segments) and no key consideration has been taken on the batch assembly of Sanger sequences.

Figure 1 Overview of assembling tasks for Sanger sequences

SeqMan is a popular program in the LaserGene software package (DNAStar, Inc., Madison, WI, USA), which is used for assembling Sanger sequences into contigs and has been widely applied in a great number of studies. It can handle two to thousands of Sanger sequences at one time but requires a considerable number of manual operations (e.g., mouse actions,Figure 1) to run. Hence, it is complicated and time-expensive for those with large sets of samples to assemble. Fortunately,since the release of Version 7, SeqMan now provides a scripting language, including commands for opening, naming, saving, and closing projects, and a single script may be used to execute multiple assemblies consecutively without manual intervention.

Here, we developed a program called autoSeqMan, which provides a simple way to automatedly classify Sanger sequences and then consecutively assemble them on a personal computer. It is mainly designed for researchers with large sets of samples with one or more loci sequenced.

IMPLEMENTATION AND REQUIREMENTS

autoSeqMan was developed into a standalone Windows desktop application(com piled and tested in Windows 7/10).It involves two modules, ‘Classification’and ‘Assembly’,corresponding to steps 2 and 3 in Figure 1,respectively.Each module can hand lemultip lefiles and needs the user to select the directory either containing the raw Sanger sequence files(*.ab1 files)or containing the classified sub-folders created by‘Classification’.Theoretically,there is no limit to the number of files that can be analyzed.

This tool requires the sequence files be named in a specialized form at,in which the sam ple ID should be present at the beginning of the file name.The Classificationmodule will recognize the sample ID by the appropriate delimiter and then create sub-folders(see below).For convenience,autoSeqMan also provides a “Rename”tool to help users rename the ab1 files for the below analyses.

CLASSIFICATION

This function is designed to automatedly create sub-folders according to the sam ple ID and/or sequenced locus. All downstream analyses are performed in the corresponding sub-folders,where all analyzed results are also saved.According to our laboratory experience,this is an efficient and convenientway to manage and query laboratory samples(Chen et al.,2017;Zhou etal.,2017).

The only input is the directory name, which contains the raw ab1 files. There are several input prerequisites required for Classification performance. First, all files must be storedin a same directory. Second, all files must be named according to a certain pattern, i.e., “sample-locus-others”. For example, the file name “YPX24212_16S-2215_TSS 20171122-0871-1171_H02.ab1” denotes that it is a DNAsequence of 16S and the sample number is “YPX24212”. The program will automatedly recognize the filename according to the user-specified delimiter and then create a sub-folder “YPX24212_16S” in the main output folder. The delimiter can be “-“, “_”, or other. After classification, the program will list all sub-folders, and the user can look at the files classified intoeach sub-folder by simply clicking the folder name (Figure 2).

ASSEMBLY

This function w ill automated ly assemble the classified sequence files.Itwill first read the list of classified sub-folders created by the ‘Classification’function,and then generate a SeqMan script for consecutively assembling the sequences in each sub-folder.To perform this function,the user must first install the LaserGene package(version 7 or higher),and then tell autoSeqMan the full path of the SeqMan program(which can be always recognized automatedly by autoSeqMan),afterwhich the program will complete all assembly tasks and save the assembly results automated ly.The default scriptwill generate allSQD,FAS,and SEQ results(Figure 3).

Figure 2 Overview of ‘Classification’ function in autoSeqMan

Figure 3 Default SeqMan script for assembling Sanger sequences

PERFORMANCE

The main aim of autoSeqMan is to save manual operation in preparing files and running the SeqMan program. To evaluate its performance, we applied this tool to our laboratory data (Chen et al., 2017; Zhou et al., 2017). In this test,one hundred samples were used, each of which had two ab1 files available. Results showed that the Classification operation created sub-folders (named sample ID as well as locus name if provided) and moved the appropriate files into the sub-folders within 8 s, substantially less than the time used for manual operation (about 1 h, as tested by our colleagues).Performance of the Assembly operation greatly depended on the running efficiency of SeqMan. In this test, the Assembly module required 64 s to consecutively assembly contigs for the classified sequences, also substantially less than the ~2 h required for manual operation, suggesting the significance of autoSeqMan in dealing with large date sets.

LIMITATIONS

It is important to note that autoSeqMan does not undertake any filtration manipulation on the sequence data, even though poor-quality sequence ends are always present. Thus, after running autoSeqMan, users should undertake quality control measures of the final assembly with SeqMan. In addition, the output Fastafiles willhave very long IDs,whichm ightintroduce some errors in subsequent sequence analyses.If necessary,users can use the “Sort&Rename”function of FasParser(Sun,2017)to shorten these IDs.

COMPETING INTERESTS

The authors declare that they have no competing interests.

AUTHORS’CONTRIBUTIONS

Y.B.S.and J.Q.J.designed the study and wrote the manuscript.Y.B.S.wrote the software.J.Q.J.evaluated the performance of autoSeqMan.All authors read and approved the finalmanuscript.

ACKNOWLEDGEMENTS

Special thanks to our co lleagues,Hong-Man Chen,Yu-QiHe,and Fang Yan,for theirhelp fu lsuggestions on the improvement of autoSeqMan.

Bickhart DM,Rosen BD,Koren S,Sayre BL,Hastie AR,Chan S,Lee J,Lam ET,Liachko I,Sullivan ST,Burton JN,Huson HJ,Nystrom JC,Kelley CM,Hutchison JL,Zhou Y,Sun JJ,Crisà A,De León FAP,Schwartz JC,Hammond JA,Waldbieser GC,Schroeder SG,Liu GE,Dunham MJ,Shendure J,Sonstegard TS,Phillippy AM,Van Tassell CP,Sm ith TP.2017.Single-molecule sequencing and chromatin conformation capture enablede novore ference assem bly of the domestic goat genome.NatureGenetics,49(4):643–650.

Chen JM,Zhou WW,Poyarkov NA,Jr.,Stuart BL,Brown RM,Lathrop A,Wang YY,Yuan ZY,Jiang K,Hou M,Chen HM,Suwannapoom C,Nguyen SN,van Duong T,Papenfuss TJ,Murphy RW,Zhang YP,Che J.2017.A novelmultilocus phylogenetic estimation reveals unrecognized diversity in Asian horned toads,genusMegophryssensulato(Anura:Megophryidae).MolecularPhylogenetics&Evolution,106:28–43.

Hajibabaei M,Singer GA,Hebert PD,Hickey DA.2007.DNA barcoding:how it complements taxonomy,molecular phylogenetics and population genetics.TrendsinGenetics,23(4):167–172.

Kumar S,Stecher G,Tamura K.2016.MEGA7:Molecular evolutionary genetics analysis version 7.0 for bigger datasets.MolecularBiologyand Evolution,33(7):1870–1874.

Rice P,Longden I,Bleasby A.2000.EMBOSS:the european molecular biology open software suite.TrendsinGenetics,16(6):276–277.

Sanger F,Nicklen S,Coulson AR.1977.DNA sequencing w ith chain-term inating inhibitors.ProceedingsoftheNationalAcademyof SciencesoftheUnitedStatesofAmerica,74(12):5463–5467.

Savolainen V,Cowan RS,Vogler AP,Roderick GK,Lane R.2005.Towards w riting the encyclopedia of life: an introduction to DNA barcoding.PhilosophicalTransactionsoftheRoyalSocietyB:BiologicalSciences,360(1462):1805–1811.

Schuster SC.2008.Next-generation sequencing transform s today’s biology.NatureMethods,5(1):16–18.

Shendure J,Ji H.2008.Next-generation DNA sequencing.Nature Biotechnology,26(10):1135–1145.

Shendure J,Mitra RD,Varma C,Church GM.2004.Advanced sequencing technologies:methods and goals.NatureReviewsGenetics,5(5):335–344.Sun YB.2017.FasParser:a package for m anipulating sequence data.ZoologicalResearch,38(2):110–112.

Sun YB,Zhou WP,Liu HQ,Irw in DM,Shen YY,Zhang YP.2013.Genome-w ide scans for candidate genes involved in the aquatic adaptation of dolphins.GenomeBiologyandEvolution,5(1):130–139.

Wall JD,Tang LF,Zerbe B,Kvale MN,Kwok PY,Schaefer C,Risch N.2014.Estimating genotype error rates from high-coverage next-generation sequence data.GenomeResearch,24(11):1734–1739.

Yuan ZY,Zhou WW,Chen X,Poyarkov NA,Jr.,Chen HM,Jang-Liaw NH,Chou WH,Matzke NJ,Iizuka K,Min MS,Kuzm in SL,Zhang YP,Cannatella DC,Hillis DM,Che J.2016.Spatiotem poral diversification of the true frogs(GenusRana):A historica l framework for a widely studied group ofmodel organism s.SystematicBiology,65(5):824–842.

Zhou WW,Jin JQ,Wu J,Chen HM,Yang JX,Murphy RW,Che J.2017.Mountains too high and valleys too deep drive population structuring and demographics in a Qinghai-Tibetan Plateau frogNanoranapleskei(Dicroglossidae).EcologyandEvolution,7(1):240–252.


登录APP查看全文