How To Find The Nearest Gene To A Retrotransposon Insert?
Hi,I have a BED file with the position of retrotransposons in the mouse genome and I would like to find the nearest gene, the distance to that gene and whether it is on the + or - strand. There are so...
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 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 ArticleExtract rows from BED file on the base of text content in one column
Hi,I am a newbie with scripting so I can't find an easy solution to this question by myself and I'd like to ask for some help.I have a long list of BED files, and for each file I want to scan them row...
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 ArticleHow To Get Fasta Format Using Fastafrombed Or How To Turn Linearized Fasta To...
I extracted sequences with fastaFromBed and have no complains about the BEDTools which is really awesome thing.Otherwise extracted sequences look like this:>chr19:13985513-13985622...
View ArticleBedtools 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 ArticleRenaming SNPs or SNP matching
This should be easy to do by now, but... we have SNP data from an Illumina exome array given to us in PLINK format. The BIM file looks like this:1 exm2253575 0 881627 G A 1 exm269 0 881918 A G 1 exm340...
View ArticleBed_intersect -s empty output
Hi!, I have problems with bedintersect. I need to intersect two bed files like these: A.bed  chr1   10568   10571   -   5 chr1   10568   10571   -   5 chr1   10568   10571   -   5 chr1...
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 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 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 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 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 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 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 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 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 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 ArticleGetting Rna Sequences From Gff And Fa Files
Hi. I have a folder full of .fa files, and a .gff. The gff file contains information about which loci look like they code for RNA sequences. The .fa contain the DNA sequences for a set of human...
View Article