blast报错

在刚开始按官网教程(https://www.ncbi.nlm.nih.gov/books/NBK279680/)学习使用blast时,经常会遇到程序报错

在刚开始按官网教程(https://www.ncbi.nlm.nih.gov/books/NBK279680/)学习使用blast时,经常会遇到程序报错,例如:

直接复制粘贴官网的代码并执行:

makeblastdb –in mydb.fsa –dbtype nucl –parse_seqids

总会有如下错误提示:

USAGE
  makeblastdb [-h] [-help] [-in input_file] [-input_type type]
    -dbtype molecule_type [-title database_title] [-parse_seqids]
    [-hash_index] [-mask_data mask_data_files] [-mask_id mask_algo_ids]
    [-mask_desc mask_algo_descriptions] [-gi_mask]
    [-gi_mask_name gi_based_mask_names] [-out database_name]
    [-max_file_sz number_of_bytes] [-logfile File_Name] [-taxid TaxID]
    [-taxid_map TaxIDMapFile] [-version]
DESCRIPTION
   Application to create BLAST databases, version 2.4.0+
Use '-help' to print detailed descriptions of command line arguments
========================================================================
Error: Too many positional arguments (1), the offending value: –in
Error:  (CArgException::eSynopsis) Too many positional arguments (1), the offending value: –in
多次修改尝试,结果都是如此。直到有一次手动输入命令时,才没有报错。仔细比对才发现官网命令和手动输入命令的参数名称前面的小横杠有细微差异(官网:,手工输入:-)。所以,只需要修改横杠即可。

因此不能直接粘贴官网的命令,需要手动修改命令的参数名称前面的小横杠哦~

  • 发表于 2018-07-06 15:00
  • 阅读 ( 11384 )
  • 分类:软件工具

0 条评论

请先 登录 后评论
安生水
安生水

340 篇文章

作家榜 »

  1. omicsgene 691 文章
  2. 安生水 340 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. 红橙子 78 文章
  6. xun 76 文章
  7. rzx 74 文章
  8. CORNERSTONE 72 文章