Bed file coordinates
1
0
Entering edit mode
3.3 years ago
storm1907 ▴ 30

Hello, I am supposed to extend bed file coordinates by 2bp with Bedtools. I am very new to field and have a poor understanding about bed files.

The syntax with Bedtools should be like this: bedtools slop [OPTIONS] -i <bed gff="" vcf=""> -g <genome> [-b or (-l and -r)]

What are <bed gff="" vcf=""> and <genome> files in this case?

I have downloaded hg38.bed file from sequencing company's website - is that " -g <genome> " file?

Thank you!

genome • 568 views
ADD COMMENT
0
Entering edit mode
3.3 years ago
<bed gff="" vcf="">

a BED file OR a VCF file.

 <genome>

https://bedtools.readthedocs.io/en/latest/content/general-usage.html

Some of the bedtools (e.g., genomeCoverageBed, complementBed, slopBed) need to know the size of the chromosomes for the organism for which your BED files are based. When using the UCSC Genome Browser, Ensemble, or Galaxy, you typically indicate which which species/genome build you are working. The way you do this for bedtools is to create a “genome” file, which simply lists the names of the chromosomes (or scaffolds, etc.) and their size (in basepairs).

ADD COMMENT

Login before adding your answer.

Traffic: 3389 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6