GTF2/GFF3 "feature" types and expression analysis
Hi, I aligned a few samples using STAR to the genome provided in the Illumina iGenomes UCSC hg19 bundle (here) -- I used the provided gene feature (gtf2) file as is.  Now, my motive is to calculate the...
View ArticleTool: Bedtools: Analyzing Genomic Features
All practicing bioinformaticians will face problems that require them to compare, query and select genomic features across an entire genome. As it happens efficient interval representation and query is...
View ArticleHow To Count Genes In Genomic Regions Using A Gtf/Gff3 And A Bed File Of Regions
I'd like to count the number of unique genes in a gff file falling within a list of genomic regions. With bedtools I can count the number of regions within the gff which is almost what I want, but not...
View ArticleWhich Of The Genes Are Enriched With Repeat Elements
I would like to know which of my genes are enriched with repeats of LINE/SINE/ERV etc. elements. I have a bam file and the repeats in bed format. As far as I know BAM files contains aligned data for...
View ArticleDetermining Each Samples Coverage Area
First time I am working with NGS data. I've got a BAM file with mapped reads for my samples and a BED file with the regions in HG19 that were targeted (used an Ion-torrent ampliseq panel). Are there...
View ArticleBedtools Genomecoveragebed Usage : How To Create A Genome File?
I am using BEDTOOLS and the following command to get the coverage file:$ ./genomeCoverageBed -ibam ~/GG_project/trim/ecoli.bam -g > ~/GG_project/trim/coveragewhere ecoli.bam is my sorted bam file,...
View ArticleTutorial: Piping With Samtools, Bwa And Bedtools
In this tutorial I will introduce some concepts related to unix piping. Piping is a very useful feature to avoid creation of intermediate use once files. It is assumed that bedtools, samtools, and bwa...
View ArticleBedtools: Top N Most Similar Regions When Comparing Two Bed/Wig/Bam Files?
Is there an easy way of finding, probably with bedtools, given a window size, the top N most correlated regions when comparing two bed/wig files? For example, in comparing two bed/wig/bam files that...
View ArticleFinding Overlapping Variants (I.E. Indels, Snps) Using Annovar Format.
Hello,I know that using bedtools functions (specifically intersect and windows), it is possible to find overlapping features in the two sets of data. The catch here is that bedtools only accept the...
View ArticleReporting The Bam Reads Overlapping A Set Of Intervals With Bedtools
I am trying to use bedtools to pull out the reads falling directly within a set of BED coordinates. While this command does it successfully:intersectBed -abam mybam.bam -b intervals.gff -wa -wb -f 1 |...
View ArticleRaw Counts From Cufflinks Output
Hi, I want to ask how to get the raw counts from the output of cufflinks. One way to do this is to use the fpkm.raw counts = FPKM * (length of that transcript/1000) * (# of mapped reads / 1e6)The FPKM...
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 ArticleReproduce Encode/Cshl Long Rna-Seq Data Visualization Viewed In Ucsc, But...
Motivation The ENCODE data comes out, and luckily they provide both .bam file and .bigwig file. Thus, it occurs to me that I want to give a try to reproduce the data visualization with tool: BEDtools...
View ArticleIntersect Gene Annotation With Specific Position Or Genomic Interval
Hi,I've several genomic interval and I want to check if they are overlapping with known gene. I've a gtf file with the coordinates of gene exons. My idea was to use intersectBed from bedtools but I've...
View ArticleBedtools "Segmentation Fault" While Working With Genome.Fa
I wanted to use BEDTools to extract genomic sequences (fastaFromBed). My BED file has all 24 chromosomes, hence I want to use whole genome (merged from chromosome.fa). Tried to: fastaFromBed -fi...
View ArticleIdentify Overlapping And Non Overlapping Regions For Paired-End Data
gene1 gene2 chr1 25 30 chr1 34 37 chr1 15 20 chr1 25 28 chr1 80 90 chr1 10 13 gene1 gene2 chr1 25 30 chr1 36 39 chr1 15 20 chr1 18 20 chr1 80 90 chr1 19 22 common gene1 uniq gene2 (when we compare file...
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 ArticleConvert .Txt Into Bed Files
I used paired-end sequence data for copy number variation study; and eventually get .txt files as output. I'm hoping to use Bedtools to compare my results with others. Can I convert .txt files into...
View ArticleProblem With Counting Mapped Reads
Hi, This is my very first experience analysing RNAseq data. My goal is to do differential analysis between two strains of a bacteria. So far, i managed to align and produce SAM and BAM files. I'm...
View ArticleAnnotating Genomic Intervals
How can I annotate human genomic intervals (BED file) from a ChIP-seq experiment with information such as whether the interval overlaps with a gene(s)? Upstream of a gene? Overlaps with an exon?...
View Article