I know this is a very specific question related to BLAST and Bioinformatics, but here it is:
I am trying to use standalone BLAST (I already downloaded it and tested it on the command line) to perform DNA sequence alignment (blastn). I need to provide both my own request file (fasta format) and my own database file (also fasta format).
The key is that I want the program to display only 2 fields, not the detailed reports that it usually displays. I need only the highest score and e value for alignment. The idea is that as soon as I work, I can wrap this in my own control program and automatically run it many times with different sequences of queries and record points and electronic values.
I know this is a long shot, but does anyone know how I can do this? Two obstacles for me are using my own database file and setting up the output.
it's actually simple: it blastallhas several command line options that will help you:
blastall
- :
blastall -p blastn -i queries.fasta -d database -v1 -b1 -m8 > resultTable.txt
. , cut . , 1, 7 8 blastoutput
cut
cut -d '\t' -f 1,7,8 < resultTable.txt
Yannick , , , blastall - , , - . BLAST , .
blastall formatdb, fasta, BLAST. :
formatdb
formatdb -i input_database.fa -p F
(input_database.fa.nhr, input_database.fa.nin, input_database.fa.nsq), blastall, ( .n*).
input_database.fa.nhr
input_database.fa.nin
input_database.fa.nsq
.n*
PS formatdb -h formatdb
formatdb -h
Source: https://habr.com/ru/post/1723581/More articles:Ручная установка компонента ActiveX - windowsalgorithm for moving three-dimensional coordinates without re-viewing - graphSelectively cache .js and .png files via https? - cachingASP.NET: overriding IIS response to expect 100 header? - asp.netHTTP: What are the best headers for infrequently changing images - httpParser for 32-bit and 64-bit binary / executable Mach-O formats in C ++ - c ++Get random strings using JPQL - randomcheck the correctness of email - emailGeneric Lisp: bind x recursively to a list - listC unsigned int array and bit shifts - cAll Articles