Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can one surpress the output "Building a new database, current time..." #10

Open
willigott opened this issue May 9, 2021 · 0 comments
Open

Comments

@willigott
Copy link
Collaborator

willigott commented May 9, 2021

I am using the genbank file from here and blast it against the Bigg1 version of Hpylori (just for testing purposes).

I built the metaproteome and then click BLAST. I then get the expected output in the terminal:

2
4278 sequences in file IN
335 sequences in file DB
Trying to run BLAST now - this may take several hours ... or days in worst case!
Formatting BLAST databases


Building a new DB, current time: 05/09/2021 13:45:56
New DB name:   /stuff/cbmpy-metadraft/data_blast/1620560756/IN
New DB title:  IN
Sequence type: Protein
Keep MBits: T
Maximum file size: 1000000000B
Adding sequences from FASTA; added 4278 sequences in 0.0583789 seconds.


Building a new DB, current time: 05/09/2021 13:45:56
New DB name:   /stuff/cbmpy-metadraft/data_blast/1620560756/DB
New DB title:  DB
Sequence type: Protein
Keep MBits: T
Maximum file size: 1000000000B
Adding sequences from FASTA; added 335 sequences in 0.0046699 seconds.
Done formatting
Starting BLAST searches...

Starting first BLAST pass for IN - IN on 05/09/2021Warning: [blastp] The parameter -num_descriptions is ignored for output formats > 4 . Use -max_target_seqs to control output

Starting second BLAST pass for IN - IN on 05/09/2021

Building a new DB, current time: 05/09/2021 13:47:10
New DB name:   /stuff/cbmpy-metadraft/data_blast/1620560756/tmpd
New DB title:  ./tmpd
Sequence type: Protein
Keep MBits: T
Maximum file size: 1000000000B
Adding sequences from FASTA; added 4 sequences in 0.000277996 seconds.
Warning: [blastp] The parameter -num_descriptions is ignored for output formats > 4 . Use -max_target_seqs to control output


Building a new DB, current time: 05/09/2021 13:47:10
New DB name:   /stuff/cbmpy-metadraft/data_blast/1620560756/tmpd
New DB title:  ./tmpd
Sequence type: Protein
Deleted existing Protein BLAST database named /stuff/cbmpy-metadraft/data_blast/1620560756/tmpd
Keep MBits: T
Maximum file size: 1000000000B
Adding sequences from FASTA; added 5 sequences in 0.000389099 seconds.
Warning: [blastp] The parameter -num_descriptions is ignored for output formats > 4 . Use -max_target_seqs to control output

I get a lot of the messages as shown here starting from the second Blast; is there a way to not show these but only the "important" ones like "Starting second BLAST pass for IN - IN on 05/09/2021" and then - once finished

Output saved to file Output.IN-DB
HTML output saved to orthologs.IN-DB.html
Table output saved to table.IN-DB
mysql output saved to sqltable.IN-DB

The messages inbetween make it hard to follow in which round of blasting metadraft is currently.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant