sei-framework icon indicating copy to clipboard operation
sei-framework copied to clipboard

Error Kindly help

Open amitpande74 opened this issue 2 years ago • 3 comments

Hi, I ran the sh script like this sh 1_sequence_prediction.sh /home/amit/Desktop/lingo1/regions/gain.HS.TEs.bed /home/amit/Desktop/lingo1/hg19/hg19.fa /home/amit/Desktop/lingo1/regions/TE_predict 1_sequence_prediction.sh: 20: set: Illegal option -o pipefail Kindly help

amitpande74 avatar Oct 26 '22 11:10 amitpande74

It might be a difference in os / shell you are using - can you try removing

set -o errexit
set -o pipefail
set -o nounset

in any of the scripts you use from the repo?

kathyxchen avatar Oct 26 '22 17:10 kathyxchen

HI, I was able to install the code in an environment with python=3.6. Here is the command I ran

sh 1_sequence_prediction.sh /home/amit/Desktop/lingo1/regions/gain.HS.TEs.bed /home/amit/Desktop/lingo1/regions/TE_predict genome=resources/hg19 Input argments: /home/amit/Desktop/lingo1/regions/gain.HS.TEs.bed genome=resources/hg19 /home/amit/Desktop/lingo1/regions/TE_predict use_cuda: False Traceback (most recent call last):

le "1_sequence_prediction.py", line 72, in <module>
    raise ValueError("--genome=<hg> must be 'hg19' or 'hg38'")
ValueError: --genome=<hg> must be 'hg19' or 'hg38'

amitpande74 avatar Oct 27 '22 15:10 amitpande74

You should run it using

sh 1_sequence_prediction.sh /home/amit/Desktop/lingo1/regions/gain.HS.TEs.bed hg19 /home/amit/Desktop/lingo1/regions/TE_predict

I would strongly recommend you run this on a GPU node if you have access to one though. If your BED file is small, you may be able to run it on your computer but it will take a long time.

kathyxchen avatar Oct 27 '22 16:10 kathyxchen