I'm trying to jump into the samsa pipeline with some outputs from diamond, but I'm having an issue with the first script I'm trying, DIAMOND_analysis_counter.py.
I'm trying to run this line:
python ../samsa2/python_scripts/DIAMOND_analysis_counter.py –I $31T0A1_S1_megahit.contigs.dmdout.m8 –D nr –O
But I get this error: WARNING: need to specify either organism results (with -O flag in command), reference IDs (with -R flag in command), or functional results (with -F flag in command).
I tried the -F or -R flags and the cause the same error..
For the file location, I have a folder called RNAdata which contains the folder the Diamond outputs and reference are in and the samsa2 folder. I'm calling the command from the folder with the Diamond outputs and reference, using the non-Diamond indexed version of the reference.
The diamond command I ran was:
diamond blastx -p 32 -d nr -q
31T0A1_S1_megahit.contigs. fa -o
31T0A1_S1_megahit.contigs.dmdout -f 6 -t dmnd_tmp -k 10 --id 85 --query-cover 65 --min-score 60
And I renamed the output to 31T0A1_S1_megahit.contigs.dmdout.m8 since I didn't see an option in the diamond page to export directly to m8.
The diamond output looks like this: