More posts like this
-
Converting FASTA/FASTQ file into GFF3/GTF
written by vedikaa96 •I have tried to convert FASTA/FASTQ file into GFF3/GTF file. Firstly, I converted FASTA/FASTQ file into bam (by samtools) as well as the bed file …
-
Convert fasta to Fastq/bam
written by Zahed Alam •Hello, I have a fasta sequence of a organism, now I need to convert the **fasta** sequence into **bam** file to add a track in …
-
How to obtain fasta sequences at only mapped sites
written by diversitree •I want to obtain fasta sequences by mapping reads to a reference sequence. My general plan: Step 1. Generate an index of the reference sequence …
-
Name of the consensus fasta sequence from a Minimap + Samtools alignment
written by lordbleys •Hello, I am assembling a virus genome from IonTorrent reads based on a reference fasta sequence, using a combination of Minimap2, Samtools, bcftools and such. …
-
convert multiple sequences in excel to fasta file
written by priscilladraj •Hi, I have a CSV file with just two columns(ref ID and ref sequence). I would like convert this to a fasta file format so …
-
Get full sequence from sorted bam file
written by wang.yiguan •Hi, I got an indexed and sorted bam file from a colleague, and I also have the reference genome. My question is: how can I …
-
BAM/SAM to aligned FASTA file
written by ryan.englander •Hi, I have a reference genome and reads from a cancer cell line aligned to that reference in a BAM and SAM file. I need …
-
How to get the consensus sequence from a BAM alignment
written by bbb •How to convert bam to fasta? I have bam files and reference fasta. I want to get fasta sequence from bam file: ![see picture][1] Is …
-
Converting Consensus Fastq To Fasta
written by Love •<blockquote> <p><strong>Possible Duplicate:</strong> <br/> <a href="http://biostar.stackexchange.com/questions/1389/how-to-generate-a-consensus-fasta-sequence-from-sam-tools-pileup">How to generate a consensus fasta sequence from SAM tools pileup?</a> </p> <p><a href="http://biostar.stackexchange.com/questions/11957/how-common-are-multi-line-fastq-files">How common are multi-line fastq files?</a></p> </blockquote> …
-
Export Consensus Seq.
written by Shangool •<p>I want to export my consensus sequence from IGV to look at the reads in BLAST. I could make consensus pileup file by SAMTools but …
Follow the guide here: Generating consensus sequence from bam file
@genomax: I used that link before. but the problem is that in the vcf file I have both indels and SNPs and at some points they have overlap. in those regions program skips the indels (which is what I am interested in). do you have any solution for that
Split your VCF file by sample and then normalize it with a reference genome (
bcftools normorvt decompose+vt norm).A sample cannot have both an indel and an SNP at the same location.Note: If you're using
vt, decompose first, then split by sample and normalize at the end.EDIT: A sample can have an indel and an SNP at the same location, given they're both heterozygous and on different chromosomes. I'm not sure how that would translate to a consensus sequence.