Collapsing BAM based on seq and positions
Is there a tool I can use to input a BAM and do a collapsing based on sequence and positions and retaining the copy number of the unique sequence? (outputing again BAM)
bam
collapse
• 2,571 views
•
link
written
by
manekineko
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Copy Number Neutral Region
written by sahalpaladan •Aldy is a genotyping tool. I am running this tool for my targeted sequencing data.But they are asking copy number neutral region.is there any way …
-
How do I create input files required by iGEAK (or find alternatives to iGEAK) for array analysis.
written by Bhanu •I want to perform differential expression on GSE90603_RAW.tar and use the following web-based tool (https://sites.google.com/view/igeak/input-format?authuser=0). I do not understand how I'm supposed to make a …
-
CNV calls from DNA read counts
written by Roy •Hello all, I am wanting to create a Copy number Variation frequency plot similar to the one shown below for my NGS data. I used …
-
Can someone explain to me what is the difference between clustering and collapsing of of reads in I…
written by yvanpapa •Hi, I have been working with Iso-Seq reads produced with PacBio Sequel II. I have been following the Isoseq V3 pipeline based on the manual …
-
Calculate relationship between sequence similarity and scalar distance in a tree
written by chronotope •Hey everyone! I have a 2k multiple sequence alignment tree that I would like to collapse at a certain sequence similarity level, e.g. 95%. Problem …
-
ViennaRNA - probability a certain segment will be completely double stranded - long sequences
written by guyshur •What tool and options should I use in ViennaRNA in order to get the probability that each possible n-long sequence of bases in my input …
-
Convert large protein fasta files to phylip format
written by bird77 •I have run a multiple sequence alignment on a number of concatenated proteins (my input file sizes range from 5 Mb to 100 Mb). But …
-
LoFreq outputing no SNP?
written by manekinekoHi, I'm trying to use LoFreq for viral data (BAM), when I know there is a low-frequency SNP for example at a particular position 30.000 …
-
Position Extraction from BAM file incorrect (using scanBam in R)
written by rachel.miller42 •I have been given a pipeline to work on and I'm trying to use the position of reads from a BAM file to label the …
-
Problems with STAR mapping output
written by manekinekoHi, I have problems seeing the output from STAR mapper. I have done the mapping, then made an sorted bam for IGV but I see …
Not clear. input/output example required.
I need something like FASTA collapsing, where you retain only 1 unique sequence with its copy number, but on a level of BAM file. I have BAM mapped with uncollapsed sequences, and need to collapsed it somehow to have BAM with unique sequences mapped somewhere and its copy number (retained in the name or similar way).
For example, if containing identical seq mapping the same pos:
to retain only 1 indicating on the name (or similar way) _2 the copy number:
the reads above are unmapped.
I just made an example some flags may be wrong, view it as mapped. I hope you got what I mean and want to do?
Is this not what mark duplicates from picard does?
http://seqanswers.com/forums/showthread.php?t=7776
Samtools + Picard Markduplicates
Picard Mark Duplicates
https://broadinstitute.github.io/picard/
There are many more post about this but then you may know what to look for and if this is an option.
This sounds much like the ReducedReads format from early GATK versions. Ultimately it was retired because it wasn't sufficient to capture all the important information, but it may still be available if you can find an old enough GATK (2.8?).