Difference between revisions of "BEDTools"

From UFRC
Jump to navigation Jump to search
m (Text replace - "<!--Location--> {{App_Location|app={{#var:app}}|{{#var:ver}}}}" to "")
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
__NOEDITSECTION__
 
__NOEDITSECTION__
[[Category:Software]][[Category:Bioinformatics]][[Category:Genomics]]
+
[[Category:Software]][[Category:Biology]][[Category:NGS]]
<!-- ########  Template Configuration ######## -->
+
{|<!--Main settings - REQUIRED-->
<!--Edit definitions of the variables used in template calls
 
Required variables:
 
app - lowercase name of the application e.g. "amber"
 
url - url of the software page (project, company product, etc) - e.g. "http://ambermd.org/"
 
Optional variables:
 
INTEL - Version of the Intel Compiler e.g. "11.1"
 
MPI - MPI Implementation and version e.g. "openmpi/1.3.4"
 
-->
 
{|
 
<!--Main settings - REQUIRED-->
 
 
|{{#vardefine:app|bedtools}}
 
|{{#vardefine:app|bedtools}}
 
|{{#vardefine:url|http://code.google.com/p/bedtools/}}
 
|{{#vardefine:url|http://code.google.com/p/bedtools/}}
<!--Compiler and MPI settings - OPTIONAL -->
 
|{{#vardefine:intel|}} <!-- E.g. "11.1" -->
 
|{{#vardefine:mpi|}} <!-- E.g. "openmpi/1.3.4" -->
 
<!--Choose sections to enable - OPTIONAL-->
 
|{{#vardefine:mod|1}} <!--Present instructions for running the software with modules -->
 
 
|{{#vardefine:exe|}} <!--Present manual instructions for running the software -->
 
|{{#vardefine:exe|}} <!--Present manual instructions for running the software -->
 
|{{#vardefine:conf|}} <!--Enable config wiki page link - {{#vardefine:conf|1}} = ON/conf|}} = OFF-->
 
|{{#vardefine:conf|}} <!--Enable config wiki page link - {{#vardefine:conf|1}} = ON/conf|}} = OFF-->
Line 45: Line 30:
 
[http://code.google.com/p/bedtools/wiki/Usage Upstream documentation] for {{#var:app}}.
 
[http://code.google.com/p/bedtools/wiki/Usage Upstream documentation] for {{#var:app}}.
  
<!--Versions-->
+
<!--Modules-->
==Available versions==
+
==Environment Modules==
* 2.16.2
+
Run <code>module spider {{#var:app}}</code> to find out what environment modules are available for this application.
<!-- -->
+
==System Variables==
{{#if: {{#var: mod}}|==Running the application using modules==
+
* HPC_{{uc:{{#var:app}}}}_DIR - installation directory
{{App_Module|app={{#var:app}}|intel={{#var:intel}}|mpi={{#var:mpi}}}}|}}
 
 
*HPC_BEDTOOLS_BIN - the bin directory
 
*HPC_BEDTOOLS_BIN - the bin directory
 
*HPC_BEDTOOLS_DATA - BEDTools data directory
 
*HPC_BEDTOOLS_DATA - BEDTools data directory
 
*HPC_BEDTOOLS_GENOMES - BEDTools genomes directory
 
*HPC_BEDTOOLS_GENOMES - BEDTools genomes directory
 
*HPC_BEDTOOLS_SCRIPTS - BEDTools scripts directory
 
*HPC_BEDTOOLS_SCRIPTS - BEDTools scripts directory
 +
<!--Additional-->
 +
{{#if: {{#var: exe}}|==Additional Information==
  
 
{{#if: {{#var: exe}}|==How To Run==
 
 
WRITE INSTRUCTIONS ON RUNNING THE ACTUAL BINARY|}}
 
WRITE INSTRUCTIONS ON RUNNING THE ACTUAL BINARY|}}
 
{{#if: {{#var: conf}}|==Configuration==
 
{{#if: {{#var: conf}}|==Configuration==
Line 63: Line 47:
 
{{#if: {{#var: pbs}}|==PBS Script Examples==
 
{{#if: {{#var: pbs}}|==PBS Script Examples==
 
See the [[{{PAGENAME}}_PBS]] page for {{#var: app}} PBS script examples.|}}
 
See the [[{{PAGENAME}}_PBS]] page for {{#var: app}} PBS script examples.|}}
{{#if: {{#var: policy}}|==Usage policy==
+
{{#if: {{#var: policy}}|==Usage Policy==
 
WRITE USAGE POLICY HERE (perhaps templates for a couple of main licensing schemes can be used)|}}
 
WRITE USAGE POLICY HERE (perhaps templates for a couple of main licensing schemes can be used)|}}
 
{{#if: {{#var: testing}}|==Performance==
 
{{#if: {{#var: testing}}|==Performance==

Latest revision as of 12:48, 15 August 2022

Description

bedtools website  

The BEDTools utilities allow one to address common genomics tasks such as finding feature overlaps and computing coverage. The utilities are largely based on four widely-used file formats: BED, GFF/GTF, VCF, and SAM/BAM. Using BEDTools, one can develop sophisticated pipelines that answer complicated research questions by "streaming" several BEDTools together. The following are examples of common questions that one can address with BEDTools.

  1. Intersecting two BED files in search of overlapping features.
  2. Culling/refining/computing coverage for BAM alignments based on genome features.
  3. Merging overlapping features.
  4. Screening for paired-end (PE) overlaps between PE sequences and existing genomic features.
  5. Calculating the depth and breadth of sequence coverage across defined "windows" in a genome.
  6. Screening for overlaps between "split" alignments and genomic features.

The fact that all of the BEDTools accept input from “standard input (stdin)” allows one to “stream / pipe” several commands together to facilitate more complicated analyses. Also, the tools allow fine control over how output is reported. Most recently, I have added support for sequence alignments in BAM ([1]) format, as well as for features in VCF and GFF, as well as “blocked” BED format. The tools are quite fast and typically finish in a matter of a few seconds, even for large datasets. Upstream documentation for bedtools.

Environment Modules

Run module spider bedtools to find out what environment modules are available for this application.

System Variables

  • HPC_BEDTOOLS_DIR - installation directory
  • HPC_BEDTOOLS_BIN - the bin directory
  • HPC_BEDTOOLS_DATA - BEDTools data directory
  • HPC_BEDTOOLS_GENOMES - BEDTools genomes directory
  • HPC_BEDTOOLS_SCRIPTS - BEDTools scripts directory