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

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


Converting Sam Files To Bam Files - Reproduce Results Nature Paper:...

I want to reproduce the results that people achieved in the following Nature paper: Transcriptome genetics using second generation sequencing in a Caucasian...

View Article


Counting The Whole Insert Size From Paired-End Reads As Coverage

We have updated our workflows for per base sequence coverage to use genomeCoverageBed from BAM files. However for pair-end data it seems as though the regions between pair-end reads are not counted. To...

View Article

Getting Unmapped Reads: Comparing Fastq To Bam

given a FASTQ file and a BAM file of aligned reads, is there an efficient way to get all FASTQ reads that are in the original FASTQ but not in the BAM? Perhaps using bedtools. i.e.:unmapped_script...

View Article

How To Extract Scores From Bedgraph File Using Bed Tools

file1chr1 10 20 name 0 +file2chr1 12 14 2.5 chr1 14 15 0.5How could i extract average scores of file1 using file2, like below? I am trying to extract phastcons (file2) average scores of file1.chr1 10...

View Article


How To Get Annotation For Bed File From Another Bed File

Hello All,I have a bed file (with Chr, Start, End, Name, Score and Strand) Chr1 5678 5680 NA 7 + Chr1 700 800 NA 8 - Chr1 900 1200 NA 10 -and would like to know, how can I get the annotation for the...

View Article

Changing Column Order In Bed File

Here is my data with A, B, C and D columns in my bed file. A. B. C. D. Chr 1. 1. 12. + Chr 2. 24. 56. +How can I move my D column to position 1 where the Column A right now?

View Article

Bedtools intersect tab and bed files

How can you call Bedtools intersect on a tab and bed file? without getting the typical:"Differing number of BED fields encountered at line: #. Exiting..."Error.My bed file has 15 columns and my tab...

View Article


Intersectbed Provides An Empty Output

Hi,I've downloaded the recent Cygwin version 1.7.24 and an trying to run bedTools but I get an empty file as my output. When I run the same commandline and files on a colleagues computer also through...

View Article


Intersectbed Tool Generating Empty File

I have used the Bedtools command intersectBed to check the overlap between two bed files. A is my INDEL file and B is my Reference file. But it is producing an empty output file. I thought the problem...

View Article

Which 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 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

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 Multicov Need A Bam Index File Specification Option

bedtools version 2.16.2 multicov used to compute the multiple sample coverage given a feature file(gtf bed).format: bedtools multicov -bams alin1.bam aln2.bam .. -bed capturRegion.bed...

View Article

Extract coverage per feature from a bam and bed to a file

Hi,   a simple task.. or should be. I need to extract the average coverage per feature in a bam  file. I have a genbank and bed file for the reference the bam was mapped to. if I map with e.g. Geneous...

View Article


Intersectbed Overlap

Hi,I've a question about intersectBed. Is it possible to extract only alignment like this :chromosome =============================================================== BED/BAM A ==============...

View Article

Fastafrombed Problem

hi, I try this tools from BedTools but it doesnt work!$ cat testgenome404.fa>chr1 AAAAAAAACCCCCCCCCCCCCGCTACTGGGGGGGGGGGGGGGGGG $ cat test.bed chr1 5 10 $ ./fastaFromBed -fi testgenome404.fa -bed...

View Article


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

how to get -nms for bedtools

I'd like to merge bed files and preserve the names of the merged features using bedtools -nms option.However, this option (-nms) is deprecated in the newer bedtools.The documentation says I can use -o...

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
Browsing all 3764 articles
Browse latest View live