Code Monkey home page Code Monkey logo

leviosam's People

Contributors

alshai avatar andreaguarracino avatar benlangmead avatar milkschen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

leviosam's Issues

Integrate alignment MAPQ filter

For each alignment, optionally write it in a FASTQ file (or a pair of) if the MAPQ of it is below a given cutoff. If this option gets activated, don't write low-MAPQ alignments to the lifted BAM output.

Are SA tags lifted?

Hello,
The documentation does not list the SA flag as lifted, and from reading the code I think that it is indeed not the case. Could you confirm this?
Is this a development you are considering? I guess the logic would be fairly similar to ChainMap::lift_segment, would it not?
Thanks and best regards,
Daniel Naro

Treat overlapping variants as bcftools v1.11

Feature request

Switch to the bcftools v1.11 (especially for bcftools consensus) logic in levioSAM serialize when dealing with overlapping variants. LevioSAM is developed base on some logic between bcftools v1.9 and v1.10, but sadly it is no longer the official logic right now.

An example

$bcftools view -H wg-maj.vcf.gz chr20:5099236-5099250
chr20	5099236	.	C	A
chr20	5099236	.	CAATCAATCAATA	C
chr20	5099240	.	C	A
chr20	5099244	.	C	A

Using bcftools v1.11

$samtools faidx wg-maj.chr20.v1_11.fa chr20:5099100-5099500
>chr20:5099100-5099500
TGTCTCAAAATAAATAAATAAATAAATAAATAAATAAATAAATAAATAAATAATAAATAA
AAAAACCAAATCATTTGGTTGGCCAAAACCTTCTGATCTGAGCTTTGCTCGGCAACCACT
CTCCAAGATAAAGCTTTATGTATCACCTCACATATTCACTGTCAAGGCTCAGGCACTCTA
GATTACTGGACTCCCCAGTCAACATTCCCATTACCAAAAGTCCCTAATCTTGGAGGCTGC
TTCAGGTCACCCTCTCTTTGTCCCTCACTTCCTGAGTTTTTTTTTTTTCCTCCAACTATA
CTCACTCTACTGGTGATCTCAAACAGCCCTCTAGCTTTTAAGATACTGTCCAAATGCTGA
CTCCCAAATTTCTATTTCCATCCAAGACCCACTCTTAAACT

Using bcftools v1.9-206-g4694164

The 11-bp deletion (CAATCAATCAATA>C) is not updated here.

$samtools faidx wg-maj.chr20.v1_9_206_g4694164.fa chr20:5099100-5099500
>chr20:5099100-5099500
TGTCTCAAAATAAATAAATAAATAAATAAATAAATAAATAAATAAATAAATAAATAAATA
AATAATAAATAAAAAAACCAAATCATTTGGTTGGCCAAAACCTTCTGATCTGAGCTTTGC
TCGGCAACCACTCTCCAAGATAAAGCTTTATGTATCACCTCACATATTCACTGTCAAGGC
TCAGGCACTCTAGATTACTGGACTCCCCAGTCAACATTCCCATTACCAAAAGTCCCTAAT
CTTGGAGGCTGCTTCAGGTCACCCTCTCTTTGTCCCTCACTTCCTGAGTTTTTTTTTTTT
CCTCCAACTATACTCACTCTACTGGTGATCTCAAACAGCCCTCTAGCTTTTAAGATACTG
TCCAAATGCTGACTCCCAAATTTCTATTTCCATCCAAGACC

Use of unphased genomes?

Hello! Reading the documentation, it didn't seem like there was anything written about the use of phased vs. unphased VCFs. Is levioSAM capable of taking in unphased VCFs to perform lift overs?

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.