samtools/samtools_view

view
convert
bam
sam
cram

Description

Views and converts SAM/BAM/CRAM files.

Type

bash_script

License

MIT/Expat

Keywords

view
convert
bam
sam
cram

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
output: "$id.$key.output.bam"  
min_MQ: [ 0 ]  
min_qlen: [ 0 ]  
subsample_seed: [ 0 ]  
id: "run"  
publish_dir: "output/"  
EOM

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

Inputs

Name
Type & Properties
--input
file
required
--fai_reference
-t
file
--reference
-T
file
--target_file
-L
file
--region_file
file
--qname_file
-N
file
--read_group_file
-R
file
--use_index
-M
boolean_true

Outputs

Name
Type & Properties
--output
-o
file
required
output
--bam
-b
boolean_true
--cram
-C
boolean_true
--fast
boolean_true
--uncompressed
-u
boolean_true
--with_header
boolean_true
--header_only
-H
boolean_true
--no_header
boolean_true
--count
-c
boolean_true
--output_unselected
-U
file
--unmap
-p
boolean_true
--read_group
-r
string
--tag
-d
string
--tag_file
-D
file
--min_MQ
-q
integer
--library
-l
string
--min_qlen
-m
integer
--expr
-e
string
--require_flags
-f
string
--excl_flags
-F
string
--excl_all_flags
-G
integer
--incl_flags
--rf
string
--remove_tag
-x
string
--keep_tag
string
--remove_B
-B
boolean_true
--add_flags
string
--remove_flags
string
--subsample
double
--subsample_seed
integer
--fetch_pairs
-P
boolean_true
--customized_index
-X
boolean_true
--sanitize
-z
string
--no_PG
boolean_true
--input_fmt_option
string
--output_fmt
-O
string
--output_fmt_option
string
--write_index
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.