Giter Club home page Giter Club logo

Comments (8)

ekg avatar ekg commented on September 15, 2024

from pggb.

userzxyz avatar userzxyz commented on September 15, 2024

Thank you! I was trying to use MAF output to confirm that the graph generated is depicting real insertions/deletions, I wanted to extract sequences for a sample from a particular genomic region where we know there is an insertion/deletion for that sample. For example, there is a big deletion at chromosome 2: 100456-101675 for sample1 which is one of the samples in graph genome. How can I relate this information to the graph to confirm there actually is a deletion in that region? Thank you!

from pggb.

ekg avatar ekg commented on September 15, 2024

from pggb.

userzxyz avatar userzxyz commented on September 15, 2024

Thank you @ekg! I noticed that pggb graph arranges the sample in alphabetical order. I tried to rearrange the sample order in the step while making chromosome wise files. But the pggb graph again was in alphabetical order. Is there any option to rearrange the sample order?

from pggb.

ekg avatar ekg commented on September 15, 2024

from pggb.

userzxyz avatar userzxyz commented on September 15, 2024

I am currently running another job for the same and will update how it goes.

I want to ask that I used deconstruct as per your suggestion:
vg deconstruct sample.xg -g sample.gbwt > sample_deconstruct.vcf

I made sample.gbwt as:
vg gbwt -G graph.fixed.gfa -p -o sample.gbwt

and sample.xg as:
vg convert -x -g graph.fixed.gfa > sample.xg
I am trying to understand the output vcf format. How can I get rid of Consensus as the sample names in the vcf header. I only want to keep the sample names that I used in graph construction.

from pggb.

subwaystation avatar subwaystation commented on September 15, 2024

If you want to remove the Consensus sample names, you have to remove these from the final smoothed GFA. We do this now by default, when we call vg deconstruct. Please see

pggb/pggb

Line 484 in c1886f8

sed -i "/$consensus_prefix/d" "$prefix_smoothed".smooth.gfa
.

from pggb.

subwaystation avatar subwaystation commented on September 15, 2024

@userzxyz Were you able to solve your problem?

from pggb.

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.