lovemun / SEXCMD

5 stars 5 forks source link

Issue creating marker file #3

Closed nbbarrientos closed 3 years ago

nbbarrientos commented 4 years ago

Hello, I was using your pipeline and came across an issue in the 1.extract_chr_from_REF.py script. It runs until line 28 but then in line 29 it gives me the following error:

Traceback (most recent call last): File "PATH/SEXCMD/1.extract_chr_from_REF.py", line 29, in for idx in xrange(0, len(chr_dict[CHR]), 50): KeyError: 'chrX'

I was wondering to get some insight into why this might be going on. Thank you very much.

lovemun commented 4 years ago

Input fasta file starts the form of ">chr1" and there is a sequence of sex chromosomes. ">chrX" and ">chrY". Please check your input fasta file.

nbbarrientos commented 4 years ago

Thank you very much. I was able to create the marker file and do the sex determination.