biocompibens/ALFA

Error: the file 'GTF_FILE.stranded.ALFA_index.stranded.ALFA_index' doesn't exist.

Opened this issue · 8 comments

Hello again,

After generating the ALFA index files I get an issue when processing reads:

rna2@d33502:~/ALFA$ python3 alfa.py -g GTF_FILE.stranded.ALFA_index --bam iseq100.l20.n0.a.m5.bam -s forward -d 1 -t 0 100 --pdf output.pdf

ALFA

Checking parameters

Error: the file 'GTF_FILE.stranded.ALFA_index.stranded.ALFA_index' and/or the file 'GTF_FILE.stranded.ALFA_index.unstranded.ALFA_index' doesn't exist.

End of program

I am very kean to use this program and would appreciate your help,
Thanks

Hello,

Actually, when you generated the index, you have specified an index name (argument "-g") that you should reuse in your next command (still "-g" argument), without "(un)stranded.ALFA_index" suffix.

Cheers,
Mathieu

Hi again,

As you can see in the output, the chromosome names differs in your reference genome from the ones in your BAM file(s). ALFA has no way to infer the correspondence so you have to make them match either by changing them in the reference in the BAM file(s).

Cheers,
Mathieu

Yes.