INTABiotechMJ / MITE-Tracker

MITE Tracker: An accurate approach to identify miniature inverted-repeat transposable elements in large genomes
18 stars 9 forks source link

the MITETracker.py can NOT make directory results/jobname #1

Closed XuewenWangUGA closed 5 years ago

XuewenWangUGA commented 5 years ago

The run error. The MITETracker.py can NOT make subdirectory , here is the "results/xgenome".

my run command: ( in linux) python3 /usr/local/apps/gb/MITE-Tracker/0.1/MITETracker.py -g $srcdir/$seqf -w $threads -j xgenome

It may be caused by where is the parent dir . Does this script call the current directory or use the directory information from input seq file? It seems the parent dir info passing is wrong.

Error information: Traceback (most recent call last): File "/usr/local/apps/gb/MITE-Tracker/0.1/MITETracker.py", line 55, in os.mkdir("results/" + args.jobname) FileNotFoundError: [Errno 2] No such file or directory: 'results/xgenome'

juancresc commented 5 years ago

The results directory should be in the same hd as the program itself. The expected command for running is:

python3 -m MITETracker -g $srcdir/$seqf -w $threads -j xgenome