Code Monkey home page Code Monkey logo

Comments (8)

martinghunt avatar martinghunt commented on June 23, 2024 1

Looks good to me. Thanks for testing :)

from gramtools.

martinghunt avatar martinghunt commented on June 23, 2024

Actually, looks like it's the clustering that is failing, resulting in a VCF with no records.

from gramtools.

bricoletc avatar bricoletc commented on June 23, 2024

@martinghunt I think this is fixed through cluster_vcf_records module?

from gramtools.

martinghunt avatar martinghunt commented on June 23, 2024

Yes I fixed cluster_vcf_records, so that example works now. But I'm wondering if it's still possible to end up with no records in the VCF. What will gramtools do in that case?

from gramtools.

bricoletc avatar bricoletc commented on June 23, 2024

I see.

Here is the behaviour if you gramtools build using a VCF with no records:

$ gramtools build --reference toy_datasets/noRecords/H37Rv.fasta --vcf toy_datasets/noRecords/mutant.vcf --gram-dir test
2020-01-07 10:02:48,084 gramtools    INFO     Start process: build
2020-01-07 10:02:48,085 gramtools    INFO     Running vcf_record_clustering on ['toy_datasets/noRecords/mutant.vcf'].
2020-01-07 10:02:48,085 gramtools    INFO     Running vcf_to_PRG_string_conversion on /home/brice/Desktop/work_PhD/git_repos/gramtools/tmp_work/test/build.vcf
2020-01-07 10:02:48,097 gramtools    INFO     stdout:

maximum thread count: 1
Executing build command
Generating integer encoded PRG
Number of characters in integer encoded linear PRG: 2660
Generate coverage graph
Number of variant sites: 0
No variant sites found.
Exiting 1

2020-01-07 10:02:48,099 gramtools    ERROR    Error code != 0
2020-01-07 10:02:48,100 gramtools    ERROR    Unsuccessful build. Process reported to /home/brice/Desktop/work_PhD/git_repos/gramtools/tmp_work/test/build_report.json

I figure that's good behaviour: clustering and prg string production happen, and then we exit stating no variants found.

What do you think?

from gramtools.

iqbal-lab avatar iqbal-lab commented on June 23, 2024

?? isnt the natural thing to do output a PRG with no variants?

from gramtools.

bricoletc avatar bricoletc commented on June 23, 2024

That is produced, but the error message comes from that we do not proceed to build an FM-Index, PRG masks and kmer index

from gramtools.

iqbal-lab avatar iqbal-lab commented on June 23, 2024

ok, understood.

from gramtools.

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.