Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when using "generate_conf.py" to prepare input files of WGDI #2

Open
sanvva opened this issue Mar 3, 2022 · 0 comments
Open

Comments

@sanvva
Copy link

sanvva commented Mar 3, 2022

Genome sequences and annotation gff files of Apostasia shenzhenica and Phalaenopsis equestris were downloaded from:
https://www.ncbi.nlm.nih.gov/genome/66931
ftp://ftp.genomics.org.cn/pub/Orchid_Phalaenopsis_equestris/

python generate_conf.py -p Ash Ashenzhenica.genome.fasta Ashenzhenica.gene.gff
python generate_conf.py -p Peq Pequestris.genome.fasta Pequestris.gene.gff

Errors:
1.
Traceback (most recent call last):
File "generate_conf.py", line 117, in
chrom=chrom,lens=lens,count=gene_count[chrom]), file=len_file)
KeyError: 'KZ451892.1'

Traceback (most recent call last):
File "generate_conf.py", line 89, in
gene_dict, tx_pos_dict, CDS_dict= parse_gff( args.gff )
File "generate_conf.py", line 67, in parse_gff
tx_parent = re.search(r'Parent=(.*?)[;\n]',content[8]).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant