Open sguizard opened 3 months ago
I found a workaround to get flair to work. I created a new conda environment (flair2). With conda, installed bedtools, samtools, minimap2 and gcc. With pip, I installed flair-brookslab and pipettor. Then clone the repo and run the flair.py script from the cloned code with the flair2 env activated.
I hope it helps.
><(((^> conda create -n flair2
><(((^> conda install samtools minimap2 bedtools gcc # dependencies found on the readthedoc, gcc needed for flair-brookslab
><(((^> pip install flair-brookslab
><(((^> pip install pipettor
><(((^> git clone https://github.com/BrooksLabUCSC/flair.git
><(((^> cd flair
><(((^> ln -s ../04_flair_correct/data/Ovis_aries_rambouillet.ARS-UI_Ramb_v2.0.dna.toplevel.fa
><(((^> ln -s ../04_flair_correct/data/shortreads_SJ.out.tab
><(((^> ln -s ../04_flair_correct/data/ERR10859992.bed
><(((^> ./flair.py correct \
-q ERR10859992.bed \
-j shortreads_SJ.out.tab \
-g Ovis_aries_rambouillet.ARS-UI_Ramb_v2.0.dna.toplevel.fa \
--output results/ERR10859992 \
--threads 8 \
--nvrna
Starting correct...
Flair correct took 5 minutes and 6 seconds
Flair took 5 minutes and 6 seconds and finished without issues.
FLAIR HAS FINISHED
Copy and paste the exact command you tried to run
How did you install Flair?
conda create -n flair -c conda-forge -c bioconda flair
What happened?
We know it's ugly but we promise it helps us solve problems faster.
What else do we need to know? This error is similar/same as issues #207 #134 #336 #352 #26. I have checked the consistency of sequences names between the input bed file, the junctions file and the genome. I can provide the input files if needed. Thanks in advance for assistance with this issue.