Closed lidi4 closed 10 months ago
I had the same issue. Pretty sure it will work if you set your command as:
medaka_consensus -i~/Test_Data/reads.fastq –dassembly.fasta -o~/Test_Outputs/medaka –mR941_min_high_g303
So, without spaces between the paths or parameters and their flags. Worked for me on a Linux system and medaka 1.6.0.
I wonder if the ~
will be a problem. I usually avoid it. In case you still run into trouble - maybe try setting absolute paths on the parameters.
Hello, I am relatively new to this. When I attempt to run medaka, it doesn't run and I get immediate feedback of the command options plus the line "-d must be specified" despite it being specified in the command. I validated the draft's file location and the command itself, and just cannot figure out what more I could be supplying since I am providing the path to the draft assembly for -d. The file is present in the current working directory when I run this command, but I have tried providing the path and running this from a different directory. No matter what variations I've tried, it won't run, and I get the same error. I've checked the draft assembly file and its location countless times I swear!
I am running medaka 1.7.2 in its own fresh dedicated environment (created with mamba because I couldn't get conda to solve environment after many efforts and adjustments). I know the reads and assembly files are not broken because I can use quality checking programs on them and get results. The assembly is from Flye output. The model is also correct. I just am running this on one read file currently. The read file is from a metagenomic sample.
Here is the basics of the command:
medaka_consensus -i ~/Test_Data/reads.fastq –d assembly.fasta -o ~/Test_Outputs/medaka –m R941_min_high_g303
Logging medaka 1.7.2
Assembly polishing via neural networks. Medaka is optimized to work with the Flye assembler.
medaka_consensus [-h] -i -d
-d must be specified.
Mamba environment & install
mamba create -n medaka medaka -c conda-forge -c bioconda
Let me know if anything else is needed, This is just being run on a local laptop no cluster or anything.