How To Use Bedtools Windows To Overlap Upstream For Positive Strand Strand
Hi,I am trying to use bedtools windows. It has been explained in the manual of the bedtools but I am still bit confused and thought a confirmation would be good. And I have no biological background.I...
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 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 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 ArticleDiscrepancy In Samtools Mpileup/Depth And Bedtools Genomecoveragebed Counts
I am getting different counts for the number of bases on reference covered by aligned reads using samtools depth/mpileup and BEDTools genomeCoverageBed commands. I am using samtools-0.1.19 and...
View ArticleConverting Bam To Bedgraph For Viewing On Ucsc?
I'm trying to go from a BAM file to a representation viewable in UCSC, ideally bedGraph. I am trying to use Bedtools's genomeCoverage like this: genomeCoverageBed -ibam accepted_hits.sorted.bam -bg...
View ArticleSamtools 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 ArticleCan Bedtools/Bedops Used To Extract Regions Where Scores Are Higher Than A...
I have a very basic question about bedtools and bedops. Can I use these tools to filter all the regions where the score is higher (or lower) than a given value? For example, let's say that I have a BED...
View ArticleBedtools on Cygwin problem.
Hi I'm trying to install the latest release of Bedtools via Cygwin but there's a weird error during process. I know this isn't the best solution, but I do not have an other choice. Perhaps anyone...
View ArticleFastafrombed 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 ArticleSplice Junction file intersection with genome annotation
Hello, I have a tab delimited format Splice Junction file and the file looks something like this: chr1 11212 12009 1 1 0 0 2 48 chr1 11672 12009 1 1 0 0 1...
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 ArticleConverting 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 ArticleProfile Coverage Of Rnaseq Samples?
Hi all,I have a quick question:How can I visualize aligned paired-end reads from RNAseq datasets in UCSC browser?I already mapped the reads and assembled the transcripts with Tophat/Cufflinks but I'm...
View ArticleBed File Bedpe Format
Hi,I'm having trouble with converting the bam file into bed -bedpe using the bedtools.workflow: samtools sort -n mut.bam mut.Namesorted bamTobed -i mut.Namesorted.bam -bedpe >...
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 Articlebedtools 2.0 merge - "unable to open file or unable to determine types"
I have a sorted bedfile comprised of three columns: seqid, start, and end. sort -k1,1 -k2,2n tmp2.bed > tmp3.bed 1 6589256 6589207 1 11627195 12127194 1 12616616 12116617 1...
View ArticleBowtie2 Mapping Different Number Of Reads To Same Sequence When Ref-Seq Is...
I am using bowtie2 to map my PE reads. I have indexed multiple bacterial genomes by putting them together in a multi-fasta file fashion.bowtie2 -q -a -p 1 -x Multi -1 R100_1.fq -2 R100_2.fq -U...
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 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 Article