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
Contributors
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 Name | Type & Properties |
|---|---|
--input -i | file required |
Name | Type & Properties |
|---|---|
--output -o | file required output |
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 |