Apollo icon indicating copy to clipboard operation
Apollo copied to clipboard

doc: organism search database naming

Open alpapan opened this issue 3 years ago • 1 comments

The correct way to implement both blat and blast is to ensure that the 'search database' for the organism is: a) full path to the 2bit file b) blast databases are suffixed on the 2bit file

e.g. this

naturalis_ragout2_final.2bit
naturalis_ragout2_final.2bit.nhd
naturalis_ragout2_final.2bit.nhi
naturalis_ragout2_final.2bit.nhr
naturalis_ragout2_final.2bit.nin
naturalis_ragout2_final.2bit.nog
naturalis_ragout2_final.2bit.nsd
naturalis_ragout2_final.2bit.nsi
naturalis_ragout2_final.2bit.nsq

to create them, do this:

faToTwoBit fasta fasta.2bit
makeblastdb -dbtype nucl -in fasta -out fasta.2bit

any other way and either blat or blast will (silently) fail

alpapan avatar Dec 21 '20 07:12 alpapan

Alexie,

I’m only doing this automatically via docker. Where you creating a suggestions for doc?

If you want to add this bit to the doc, you can just edit directly to create a PR here: https://github.com/GMOD/Apollo/blob/develop/docs/Configure.md#search-tools https://github.com/GMOD/Apollo/blob/develop/docs/Configure.md#search-tools

And I can merge it into the doc. I think this is good clarification, though.

Nathan

On Dec 20, 2020, at 11:36 PM, Alexie Papanicolaou [email protected] wrote:

The correct way to implement both blat and blast is to ensure that the 'search database' for the organism is: a) full path to the 2bit file b) blast databases are suffixed on the 2bit file

e.g. this

naturalis_ragout2_final.2bit naturalis_ragout2_final.2bit.nhd naturalis_ragout2_final.2bit.nhi naturalis_ragout2_final.2bit.nhr naturalis_ragout2_final.2bit.nin naturalis_ragout2_final.2bit.nog naturalis_ragout2_final.2bit.nsd naturalis_ragout2_final.2bit.nsi naturalis_ragout2_final.2bit.nsq to create them, do this:

faToTwoBit fasta fasta.2bit makeblastdb -dbtype nucl -in fasta -out fasta.2bit any other way and either blat or blast will (silently) fail

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GMOD/Apollo/issues/2550, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFXNKWHKCSLB3V5Z46CP73SV33ITANCNFSM4VD2VG6Q.

nathandunn avatar Dec 21 '20 16:12 nathandunn