Open el-mat opened 2 years ago
Hi Elisabeth,
Yes I am afraid this is an error caused entirely by my own laziness and I apologise for not having fixed it yet.
For a quick fix outside the pipeline at the point it fails you can run:
conda activate scaffold_builder scaffold_builder.py -i 75 -t 3693 -g 80000 -r /home/minion/lilo-test/ASFV.reference.fasta -q reads_24h/polished_trimmed.fa -p reads_24h sed -i '1 s/^.*$/>reads_24h_Lilo_scaffold/' reads_24h_Scaffold.fasta
If you need to run more of these and want the pipeline to actually do the entire job you should be able to fix it by replacing in the LILO file instances of
source $CONDA_PREFIX/etc/profile.d/conda.sh with the path to your own conda.sh file.
I experienced the same issue.
As @amandawarr suggests, the pipeline can be fixed by editing the 235'th line of LILO:
source $CONDA_PREFIX/etc/profile.d/conda.sh
and replacing it with your conda base
activator which in my case is:
source ~/miniconda3/bin/activate
First off thanks for your hard work Amanda. Having a program that does not do reference polishing can be really handy when your primers ended up sequencing a different subtype or genotype of a virus.
I would recommend that the scaffold_builder settings be changed before anyone fixes the conda error. I did some benchmarking with a SARS-CoV 2 data set that was amplified by the artic V4.1 primers to see how well LILO performed. I found that Amanda's quick fix settings (green squares with an x; ends in -scaffold) built better consensus than the default scaffold_builder (purple circles; no -scaffold) settings in LILO. Maybe the expected overlap needs to be more than 1.5x?
Also, here is an alternative command that I used to fixed the conda error on the OS I was using. It might be a bit more flexible than ~/miniconda3
.
replace the 235th line
source $CONDA_PREFIX/etc/profile.d/conda.sh
with
source $(conda info |
grep -i 'base environment' |
sed 's/base.*: //; s/ *.read only.//; s/ //g' \
)/etc/profile.d/conda.sh
Dear, I get the following error while running LILO. Any idea what could be the problem?
Kind regards, Elisabeth