Open peterjc opened 7 years ago
Yes. I think the .format
syntax and str()
syntax are equally complicated for the newcomer, but the .format()
implies other formats are possible. I think it's kind of eeksy-peeksy about which we use. The suggested replacement is simpler, which has advantages.
You don't actually need to do str(record.seq)
here, record.seq
alone works fine.
Currently
02-sequence_databases/04-programming_for_web_blast.ipynb
and03-lipases/XX-runthrough.ipynb
use this pattern for calling QBLAST:Rather than a full FASTA record with an identifier etc, you can just give the raw string (which BLAST will give a default query name to):
Is this slight simplification of the code worthwhile? As they all seem to use text output it seems harmless.