diamond icon indicating copy to clipboard operation
diamond copied to clipboard

Error: Invalid output format. Allowed values: 0,5,6,100,101,102

Open charlieccarey opened this issue 5 years ago • 1 comments

Related to #340?

Quoted variable interpolation fails in --outfmt, but seems to work elsewhere.

  fmt6_custom='6 qseqid sseqid'
  fasta_file="test.fasta"

  # Fails
  sudo ./diamond blastx \
    --query "$fasta_file" \
    --db nr \
    --outfmt "$fmt6_custom" -o "${fasta_file/.fasta}.test.tsv"
  # ...
  # Error: Invalid output format. Allowed values: 0,5,6,100,101,102

  # Works
  sudo ./diamond blastx \
    --query "$fasta_file" \
    --db nr \
    --outfmt $fmt6_custom -o "${fasta_file/.fasta}.test.tsv"

charlieccarey avatar Jun 21 '20 01:06 charlieccarey

I'm aware that this doesn't work, although it would probably be better if it did.

bbuchfink avatar Jun 22 '20 08:06 bbuchfink