GithubHelp home page GithubHelp logo

vcf2fasta's People

Contributors

joseblanca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vcf2fasta's Issues

I get a new problem

Reading VCF file [Osjap10g14600.1.gff] ... done
Reading VCF file [japonica.combine.vcf.gz] ... done
Reading VCF file [all.chrs.con.fa] ... done
Ploidy is: 2
No phased genotypes found on first variant. Treating as "unphased"
Concatenating all [ CDS ]
Setting output directory to: vcf2fasta_CDS
vcf2fasta_CDS exists. Do you want to proceed? [y|n]: y
Total number of genes found: 1
Traceback (most recent call last):
File "/home/zhouyanli/vcf2fasta/vcf2fasta.py", line 481, in
main()
File "/home/zhouyanli/vcf2fasta/vcf2fasta.py", line 119, in main
sequences = getSequences(gff, gene, args.feat, args.blend, ref, vcf, ploidy, phased, samples)
File "/home/zhouyanli/vcf2fasta/vcf2fasta.py", line 216, in getSequences
alleles,max_len = getAlleles(rec, ploidy)
File "/home/zhouyanli/vcf2fasta/vcf2fasta.py", line 264, in getAlleles
max_len = max([ len(i) for i in segregating if i is not None ])
ValueError: max() arg is an empty sequence

The vcf file is too big,

TemporaryDirectory error in vcf2fasta

Hello @JoseBlanca !
I get an issue with: ImportError: cannot import name TemporaryDirectory
coming from from the definition of tempfile import NamedTemporaryFile, TemporaryDirectory
I am using python 2.7.9.

Or perhaps my syntax is incorrect I use:
python vcf2fasta.py refgenome.fasta markers.vcf region_sample.bed

Any suggestion?

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.