GithubHelp home page GithubHelp logo

Error in using phaser_gene_ae.py about phaser HOT 7 OPEN

c-nabokov avatar c-nabokov commented on September 16, 2024
Error in using phaser_gene_ae.py

from phaser.

Comments (7)

secastel avatar secastel commented on September 16, 2024

Hmmm, not sure what is going on here. Could you provide both full input files (wm82a2.gene.bed, F12_1_output.haplotypic_counts.txt) so I can try to reproduce the error?

from phaser.

c-nabokov avatar c-nabokov commented on September 16, 2024

Hmmm, not sure what is going on here. Could you provide both full input files (wm82a2.gene.bed, F12_1_output.haplotypic_counts.txt) so I can try to reproduce the error?

Of course. Thank you very much for your reply and help.

I have uploaded the file to the following link.

https://github.com/c-nabokov/Test-files

Thanks for your help again.

from phaser.

lintingyi2014 avatar lintingyi2014 commented on September 16, 2024

I am also encountering this error

[lint6@cn4287 SCRIPTS]$ phaser_gene_ae.py --haplotypic_counts phaser_test.haplotypic_counts.txt --features gencode.v26.GRCh38.genes.bed.gz --o phaser_test_case_gene_ae.txt

##################################################
Welcome to phASER Gene AE v1.2.0
Author: Stephane Castel ([email protected])
##################################################

#1 Loading features...
Traceback (most recent call last):
File "/usr/local/bin/phaser_gene_ae.py", line 241, in
main();
File "/usr/local/bin/phaser_gene_ae.py", line 47, in main
start = int(columns[1]);
IndexError: list index out of range

from phaser.

lintingyi2014 avatar lintingyi2014 commented on September 16, 2024

somehow it needed to be re-tabbed

It works with:
zcat gencode.v26.GRCh38.genes.bed.gz | sed 's/^I/\t/g' | awk 'BEGIN{OFS="\t"} {if(NF==4) print $0; else print "Invalid line:", $0}' > re_tabbed_file.bed

from phaser.

secastel avatar secastel commented on September 16, 2024

When I try this I am not seeing any lines come up as "Invalid". Are you? If so can you please share which? When you say it is now working, are you using the ".bed" file you generated with the above code as input, or are you gzipping it again?

from phaser.

netwon123 avatar netwon123 commented on September 16, 2024

Hellow, Could you solved this bug?

from phaser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.