How Can I Merge Intervals ?
Hello everybody, I should be grateful if you would kindly help me de fix my problem. I have a table like that :Chromosome start end info1 info2 chr01 1 100 15 35 chr01 150 300 15 39 chr01 299 750 16...
View ArticleSplit A Bam File Into Several Files Containing All The Alignments For X...
Hi everyone! I am struggling with annotating a very big .bam file that was mapped using TopHat. The run was a large number of reads : ~200M. The problem is that when I now try to Annotate each read...
View ArticleTo Calculate The Exact Total Number Of Mapped Reads In Exome Regions
Dear All, I have some questions here. I want to do some quality control analysis on my exome data that are mapped on the reference genome. I am having the input bam file for a sample which contains...
View ArticleGenomecoveragebed - Bedtool For Reporting Per Base Genome Coverage
Hi Everyone I would nedd some help on genomeCoverageBed tool. This tools when used for finding per base genome coverage uses an option -d. I am actually interested in finding read counts for each base...
View ArticleCounting Features In A Bed File
I have a file in the following BED formatChr1 1022071 1022105 + Chr1 1022071 1022105 + Chr1 1022072 1022106 - Chr1 1022072 1022106 - Chr1 1022072 1022106 - Chr1 1022072 1022106 -I am trying get the...
View ArticleComparative Snp Analysis
Hello, I am trying to compare the degree of A-to-G editing in a near-to-isogenic pair of cell lines. I have two biological replicates and have mapped with Bowtie and BWA, followed by a samtools mpileup...
View Articlemacs and bedtools
HelloI have MACS2 output and now looking for peaks which are situated in introns. I have bed file with introns from USCS for my species. What file with peaks should I use for bedtools intersection?...
View ArticleWhat Is The Fastest Method To Determine The Number Of Positions In A Bam File...
I have two very large BAM files (high depth, human, whole genome). I have a seemingly simple question. I want to know how many positions in each are covered by at least N reads (say 20). For now I am...
View ArticleGetting Number Of Reads In Intervals With Bedtools
What is the correct way to get the total number of reads strictly contained in each interval in a GFF from a BAM file while enforcing strandedness? What I am looking for is very close to this...
View ArticleCalculating Exome Coverage
*// Edit to make the post more clear (Mapping done via Bowtie2). My problem is that when counting Exome Coverage via coverageBed gives different results than via genomeCoverageBed. So I'm not sure if...
View ArticleRemove Intronic Regions in .BAM
HiI have a .BAM file which contains discordantly and concordantly mapped mate-pairs. I used bedtools Pairtobed to extract the mate-pairs which both show overlap with targeted regions (Illumina target...
View ArticleIntersectbed: Return Reads In Fraction In Input Files
I have a question with respect to intersectBED and multiple input files:Is it possible to return reads which are present in, say 8/10 input files, without fractioning the reads in smaller...
View ArticleExtract Only Paired-End Reads That Map A Specific Interval
Hi,Is it possible to extract paired-end reads that map to a specific interval ( from a bam file ). I tried with intersectBed :intersectBed -abam align.bam -b interval.gff3 -wa > result.bamhere's the...
View ArticleCreating Bed File For Lncrna Using Gencode Gtf File
Hi all,I want to get the bed file of lncRNA based on GENCODE GTF fileI download the file "gencode.v16.long_noncoding_RNAs.gtf.gz", and extract the chr, start, end info from the file, then I use...
View ArticleProblems Extracting Non-Snps From A Vcf File
Hello,In an SNP analysis, I am trying to extract those editing sites no found in the dbSNPs vcf file I have downloaded a couple of files (All SNPs and Common/Medical SNPs) from...
View ArticleGenomic Regions To Exclude Before Shuffling Intervals
I want to do permutation test: randomly reposit (shuffle) given genomic intervals and measure intersection between new coordinates and specific genomic element.Example: Different sets of genes: protein...
View ArticleTo Group Items In Bed Files
For example, we now have a bed file:chr1 23455 45678 chr1 23446 45663 chr1 23449 45669 chr1 30000 31000Is there anyway to group the first three lines, while leaving the last line alone? I know Bedtools...
View ArticleCalculate reciprocal overlap for thousands of samples
I have around 20k samples with BED files. How can I calculate reciprocal overlap for each segment? I want to find all segments with 50% reciprocal overlap or better.
View ArticleIs It Possible To Filter Only Bookend Reads From A Bed File?
I have a bed file with many fragments, some overlapping, some on their own and some adjacent to each other (book-ended) features.I know can group overlapping and book-ended features using bedtools...
View ArticleHow To Use Bedtools To Extract Promoters From A Mouse Bed File
Hello, I would like to know how to use Bedtools to extract promoter sequences (as FASTAs) from the mouse genome (mm9) starting from a BED file.
View Article