Skip to content

Tool to convert standard blast output (NCBI-like) to xml formatted

Notifications You must be signed in to change notification settings

anvlasova/blastConverters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

blastConverters

Blast2GO and many other applications use BLAST results as a starting point of the analysis process, and often these applications accept results only in specific format. BLAST itself is a time consuming procedure, especially in case of genome-wide analysis - and usually people run such a search only once. Another limitation appear from the hardware/software side - for example, blast machine can produce only two types of output: in tabular or in NCBI format.

bigBlast2XML.pl

This is the script to convert the file from the standard blast output format (NCBI-like) to the xml. Script is able to convert blast files with >10.000 query records (it was tested on ~60.000 queries, but theoretically there is no limit).
The xml-output of this script was tested as an input for Blast2Go via local b2gPipev2.5 and online java application.


Usage

perl bigBlast2XML.pl -blast input.file.name -out output.prefix

 Usage: bigBlast2XML.pl [options]
 Options
     blastFile|blast input BLAST file in NCBI format [Mandatory]
    numberSeqs|n number of sequence in the output file. Sometimes input file is huge and for parallelization purpose user wants to divide it into chunks.
       By default it 1,000,000 seqs per file.
     outputPrefix|out prefix for output files. Output file names will be constructed like prefix+number+.xml
      By default it is 'convertedBlast'

About

Tool to convert standard blast output (NCBI-like) to xml formatted

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages