bedtools/bedtools_sort

Sort
Sorting
BED
GFF
VCF
Chromosome

Description

Sorts genomic feature files by chromosome and other criteria.

This tool provides flexible sorting options for BED, GFF, and VCF files,
including chromosome-based sorting, feature size sorting, score-based sorting,
and custom chromosome ordering using genome files.

Default behavior: Sorts by chromosome name, then by start position
Custom ordering: Use --genome or --faidx to specify chromosome order

Type

bash_script

License

MIT

Keywords

Sort
Sorting
BED
GFF
VCF
Chromosome

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
output: "$id.$key.output.bed"  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/biobox.git \  
  -revision v0.4.0 \  
  -main-script target/nextflow/bedtools/bedtools_sort/main.nf \  
  -params-file params.yaml  

Inputs

Name
Type & Properties
--input
-i
file
required

Outputs

Name
Type & Properties
--output
-o
file
required
output

Options

Name
Type & Properties
--sizeA
boolean_true
--sizeD
boolean_true
--chrThenSizeA
boolean_true
--chrThenSizeD
boolean_true
--chrThenScoreA
boolean_true
--chrThenScoreD
boolean_true
--genome
-g
file
--faidx
file
--header
boolean_true

Collaborate Accelerate Succeed

Empower your organization with secure, scalable workflow solutions that simplify development, ensure compliance, and drive innovation.

Viash Hub is a platform developed by Data Intuitive, a Belgian-based bioinformatics company specializing in data workflow development and deployment.