Genomic 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 ArticleTool For Binning Windowbed Output For K-Means Clustering
I have mapped high resolution ChIP-seq data to transcription start sites using windowBed. I now want to bin the data, in bin sizes of my choosing, relative to TSSs so that I can generate heat maps and...
View ArticleBed File Of Mapq Sliding Window On A Bam File?
There may already be a recipe for this, so asking first before reinventing the wheel: I would like to create a bed file where the score is the average mapQ from the reads of the input.bam file. I think...
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 ArticleDoes Windowbed Extend Reads?
I am using WindowBed, part of the BedTools suite, to align reads to a reference file and I obtained a very interesting result. I am trying to rule out an analysis artifact that could be caused by...
View ArticleWhat Is The Fastest Method To Determine The Number Of Positions In A Bam File...
I have two very large BAM files (high depth, human, whole genome). I have a seemingly simple question. I want to know how many positions in each are covered by at least N reads (say 20). For now I am...
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 ArticleRandom 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 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 ArticleExtracting Genomic Coverage Information Across Different Samples
Hello, I have 3 bam files that i wanted to compare against each other. For example i have reference file with 10,000 sequences. I have paired end reads sequenced for 3 different samples. 1) Sample 1 is...
View ArticleGTF2/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 ArticleBedgraph Not Displayed In Igv
Hi, I am new and so facing problem. I was trying to make a bed graph file using bed tools genomecov command. The command was: bedtools genomecov -ibam filename.sorted.bam -g chromosome sizes.txt >...
View ArticleChanging 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 ArticleCorrelation Of Fpkm And Length Normalized Transcript Mapped Read Count
Hello, in the process of estimating expression for a 16 human tissue dataset ("Human Body Map 2.0 GSE30611") I used different methods to estimate the expression of the genes. After mapping against hg19...
View ArticleCounting 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 ArticleN Closest Genes To A Given Location
Hi,This is basically an extension of the following question already asked in biostar (http://biostars.org/post/show/53561/python-finding-gene-closest-to-a-given-location/).Let us say I have a list of...
View Articleerror with bedtools slop
Hi, I am trying to run a bedtools slop on my.bed file and hg19.genomebedtools slop -i H3K27me3.bed -g hg19.genome -b 30I get the following error:Less than the req'd two fields were encountered in the...
View ArticleGetting 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 ArticleIntersectbed 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 ArticleTo 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