Skip to content

Error in using phaser_gene_ae.py  #78

@c-nabokov

Description

@c-nabokov

Dear developers,

I am very grateful to you for developing this software so that I can use it to explore the issues related to the expression of allelic genes in soybean hybrids.

However,this error "Traceback (most recent call last): File "/home/nabokov/software/phaser/phaser_gene_ae/phaser_gene_ae.py", line 240, in main(); File "/home/nabokov/software/phaser/phaser_gene_ae/phaser_gene_ae.py", line 111, in main mapped_reads = variant_feature_reads(row,feature); File "/home/nabokov/software/phaser/phaser_gene_ae/phaser_gene_ae.py", line 204, in variant_feature_reads hap_a_reads += str(row['aReads']).split(";")[xvar_index].split(","); IndexError: list index out of range" occurred when I calculated allelic gene expression levels (phaser_gene_ae.py). I can't understand whether this error is caused by my input file or software bug.

The following is a brief description of the code and files to run. I would like to ask you to help me solve this problem.

Thank you.

code:
python /home/nabokov/software/phaser/phaser_gene_ae/phaser_gene_ae.py --haplotypic_counts test/F12_1_output.haplotypic_counts.txt --features genome/wm82a2.gene.bed --id_separator ';' --o F12_1.gene_ae.txt

bed.file:
Chr01 27354 27655 . . - phytozomev10 three_prime_UTR . ID=Glyma.01G000100.1.Wm82.a2.v1.three_prime_UTR.1;Parent=Glyma.01G000100.1.Wm82.a2.v1;pacid=30544134
Chr01 27354 28320 . . - phytozomev10 gene . ID=Glyma.01G000100.Wm82.a2.v1;Name=Glyma.01G000100;ancestorIdentifier=Glyma01g00210.v1.1
Chr01 27354 28320 . . - phytozomev10 mRNA . ID=Glyma.01G000100.1.Wm82.a2.v1;Name=Glyma.01G000100.1;pacid=30544134;longest=1;Parent=Glyma.01G000100.Wm82.a2.v1
Chr01 27655 27824 . . - phytozomev10 CDS 1 ID=Glyma.01G000100.1.Wm82.a2.v1.CDS.3;Parent=Glyma.01G000100.1.Wm82.a2.v1;pacid=30544134
Chr01 27925 27991 . . - phytozomev10 CDS 1 ID=Glyma.01G000100.1.Wm82.a2.v1.CDS.2;Parent=Glyma.01G000100.1.Wm82.a2.v1;pacid=30544134
Chr01 28138 28218 . . - phytozomev10 CDS 0 ID=Glyma.01G000100.1.Wm82.a2.v1.CDS.1;Parent=Glyma.01G000100.1.Wm82.a2.v1;pacid=30544134
Chr01 28218 28320 . . - phytozomev10 five_prime_UTR . ID=Glyma.01G000100.1.Wm82.a2.v1.five_prime_UTR.1;Parent=Glyma.01G000100.1.Wm82.a2.v1;pacid=30544134
Chr01 58974 59111 . . - phytozomev10 three_prime_UTR . ID=Glyma.01G000200.1.Wm82.a2.v1.three_prime_UTR.1;Parent=Glyma.01G000200.1.Wm82.a2.v1;pacid=30543475
Chr01 58974 67527 . . - phytozomev10 gene . ID=Glyma.01G000200.Wm82.a2.v1;Name=Glyma.01G000200
Chr01 58974 67527 . . - phytozomev10 mRNA . ID=Glyma.01G000200.1.Wm82.a2.v1;Name=Glyma.01G000200.1;pacid=30543475;longest=1;Parent=Glyma.01G000200.Wm82.a2.v1
Chr01 62005 62045 . . - phytozomev10 CDS 1 ID=Glyma.01G000200.1.Wm82.a2.v1.CDS.5;Parent=Glyma.01G000200.1.Wm82.a2.v1;pacid=30543475
Chr01 62566 62644 . . - phytozomev10 CDS 1 ID=Glyma.01G000200.1.Wm82.a2.v1.CDS.4;Parent=Glyma.01G000200.1.Wm82.a2.v1;pacid=30543475
Chr01 63065 63141 . . - phytozomev10 CDS 2 ID=Glyma.01G000200.1.Wm82.a2.v1.CDS.3;Parent=Glyma.01G000200.1.Wm82.a2.v1;pacid=30543475
Chr01 63333 63417 . . - phytozomev10 CDS 2 ID=Glyma.01G000200.1.Wm82.a2.v1.CDS.2;Parent=Glyma.01G000200.1.Wm82.a2.v1;pacid=30543475
Chr01 64054 64061 . . - phytozomev10 CDS 0 ID=Glyma.01G000200.1.Wm82.a2.v1.CDS.1;Parent=Glyma.01G000200.1.Wm82.a2.v1;pacid=30543475
Chr01 64061 64199 . . - phytozomev10 five_prime_UTR . ID=Glyma.01G000200.1.Wm82.a2.v1.five_prime_UTR.5;Parent=Glyma.01G000200.1.Wm82.a2.v1;pacid=30543475
Chr01 65204 65261 . . - phytozomev10 five_prime_UTR . ID=Glyma.01G000200.1.Wm82.a2.v1.five_prime_UTR.4;Parent=Glyma.01G000200.1.Wm82.a2.v1;pacid=30543475
Chr01 65453 65537 . . - phytozomev10 five_prime_UTR . ID=Glyma.01G000200.1.Wm82.a2.v1.five_prime_UTR.3;Parent=Glyma.01G000200.1.Wm82.a2.v1;pacid=30543475
Chr01 66175 66320 . . - phytozomev10 five_prime_UTR . ID=Glyma.01G000200.1.Wm82.a2.v1.five_prime_UTR.2;Parent=Glyma.01G000200.1.Wm82.a2.v1;pacid=30543475
Chr01 67327 67527 . . - phytozomev10 five_prime_UTR . ID=Glyma.01G000200.1.Wm82.a2.v1.five_prime_UTR.1;Parent=Glyma.01G000200.1.Wm82.a2.v1;pacid=30543475
Chr01 67769 67787 . . + phytozomev10 CDS 0 ID=Glyma.01G000300.1.Wm82.a2.v1.CDS.1;Parent=Glyma.01G000300.1.Wm82.a2.v1;pacid=30545121

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions