CONSENT icon indicating copy to clipboard operation
CONSENT copied to clipboard

Error in conda version

Open SwiftSeal opened this issue 4 years ago • 2 comments

I tried using the conda installation of CONSENT but it was failing to polish the example reads:

CONSENT-polish --contigs example/rawAssembly.fasta --reads example/reads.fasta --out example/polishedAssembly.fasta
[Tue 18 Jan 14:15:53 GMT 2022] Aligning the long reads to the contigs (minimap2)
[Tue 18 Jan 14:15:57 GMT 2022] Processing the overlaps
/mnt/shared/scratch/apps/conda/envs/CONSENT/bin/CONSENT-polish: line 193: reformatPAF: command not found

I looked at the conda bin and noticed that 'reformatPAF' was actually 'CONSENT-reformatPAF'. Renaming it to this on line 193 of CONSENT-polish fixed this error.

(Not sure if this is the right place to report errors in the conda version!)

SwiftSeal avatar Jan 18 '22 14:01 SwiftSeal

This problem still exists.

richardstoeckl avatar Feb 06 '23 10:02 richardstoeckl

This should probably fixed in the patches done in the bioconda recipe here: https://github.com/bioconda/bioconda-recipes/blob/master/recipes/consent/CONSENT-polish.patch

pmenzel avatar Mar 15 '23 10:03 pmenzel