Quantcast
Channel: Post Feed
Browsing all 3764 articles
Browse latest View live

Samtools or Bedtools: How to filter a bam file with a bed file using strand...

HiI would like to filter a bam file, keeping only reads overlapping with genomic intervals from a bed file. I used samtools for this:samtools view -b -h -L bedfile.bed bamfile.bam However the -L option...

View Article


Coveragebed, Depth/Breadth Of Coverage

I'm using coverageBed to calculate the depth and breadth of coverage, but I'm not sure I'm doing this right. I want to calculate the two values for each human chromosome. For example, I've created a...

View Article


bedtools: extracting no coverage regions

Hello,I am not sure if this has been answered before as I looked and couldn't find a simple answer.I have a bam file, and all I want is to annotated all regions with 0 coverage in bed format. Is that...

View Article

Picking Random Genomic Positions

I do have a set of TF binding coordinates and want to see if there is any significant overlap with an open chromatin annotation.Example of TF coord: chr1 19280 19298 chr1 245920 245938 chr2 97290 97308...

View Article

Convert .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 Article


How 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 Article

To 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 Article

Random shuffling of features leaving gene models intact

I am looking for a tool that can randomly shuffle gff features into intergenic regions, but leaving the gene-models 'intact', so that at least all features of a gene are placed on the same contig and...

View Article


Genomecoveragebed - 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 Article


Reproduce 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 Article

General Considerations For Genomic Overlaps?

Hello I was wondering about general considerations for performing overlap of genomic regions and doing Monte Carlo-type statistics. Below I have made a description of how I do it, unfortunately Im not...

View Article

Bedtools Compare Multiple Bed Files?

I've been dealing with comparison between two bed files using intersectBed -a -b command. I'm just wondering, is there any commands in Bedtools which can help us compare multiple bed files? Say, I have...

View Article

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 Article


Intersectbed/Coveragebed -Split Purify Exon?

all.reads.bam file records mapped RNA-seq reads data, including:exon:exon junctionexon bodyintron bodyexon:intron junctionQ1: When calculating RPKM for given RefSeq gene including all the position...

View Article

Bedtools 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 Article


Is 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 Article

Finding 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 Article


Getting The Average Coverage From The Coverage Counts At Each Depth.

Hi, I have read quite a few posts here about coverage already. But I still had a few questions. I have a BAM file I'm trying to find the coverage of it (typically like say 30X). So, I decided to use...

View Article

Help With Exception When Using Bedtools Coveragebed With Paired Alignment....

I use bwa mem to align paired reads to few hundreds of microbial contigs; then I sort the alignment, and trying to get a coverage using bedtools genomecov -ibam alignments.paired.sorted.bam -bg...

View Article

Snps Comparison

Hello,I would like to compare SNPs from different methods:number of SNPsSNPs postion (position where method A has SNPs but not B and vice versa. Where both have SNPs)I would be interested to get a...

View Article
Browsing all 3764 articles
Browse latest View live