Questions tagged [bedtools]

20 questions
0
votes
0 answers

Obtain fraction of gene covered from bam file using bed file

I am trying to calculate the gene coverage of specific genes in a BAM file. I have a list of genes with thier start and end positions in a BED file. I would essentially like to know the number of overlaps for each gene and how well it is covered. My…
0
votes
1 answer

RStudio Server from Windows Subsystem for Linux cannot find packages on PATH

I am trying to use RStudio Server to run a package (CNV-CLinViewer) through Windows Subsystem for Linux. All R packages required could be installed except for bedtoolsr, which requires bedtools (not an R package). I have bedtools installed on my WSL…
0
votes
1 answer

How to generate a custom bed file to use for bedtools intersect?

I have a custom reference genome, gene.fa and 18 bed files. I want to generate a bed file that contains a region of interest, 5100-5600 bp, as a single entry that I can use for intersection using bedtools intersect on my 18 bed files. I was thinking…
Cam
  • 111
  • 1
  • 8
0
votes
1 answer

Using pybedtools with a BEDTools static binary

I want to use pybedtools in a python program that I am compiling into an executable with pyinstaller. The intent is that this executable will contain all of the necessary files to run the program, including shipping BEDtools as a binary. However,…
0
votes
1 answer

Use a variable instead of a file for bedtools getfasta BED input?

I would like to input a variable in the place of a file in the command below, is this possible? I would like to generate some FASTA files using the programme bedtools getfasta. Typically I would order the input files first using the awk to bedtools…
Jpike
  • 187
  • 8
1
2