Filter BAM SAM Files Element

Filters BAM/SAM files using SAMTools view.

Element type: filter-bam


Parameters

ParameterDescriptionDefault ValueParameter in Workflow FileType
Output folderSelect an output directory. Custom – specify the output directory in the ‘Custom directory’ parameter. Workflow – internal workflow directory. Input file – use its directory.(none)out-modenumeric
Output nameName of an output BAM/SAM file. If empty, uses the name of the first input file with a .filtered extension.(none)out-namestring
Output formatFormat of the output assembly file.bamout-formatstring
RegionRegions to filter (BAM only). Example: chr2, chr2:1000, or chr2:1000-2000. Multiple regions are separated by space.(none)regionstring
MAPQ thresholdMinimum MAPQ quality score.0mapqnumeric
Accept flagOutput alignments matching selected flags. Leave empty to skip this filter.(none)accept-flagstring
Skip flagSkip alignments matching selected flags. Leave empty to skip this filter.(none)flagstring

Input/Output Ports

Input Port

  • Name in GUI: BAM/SAM File
  • Name in Workflow File: in-file
Slot In GUISlot in Workflow FileType
Source URLinput-urlstring

Output Port

  • Name in GUI: Filtered BAM/SAM files
  • Name in Workflow File: out-file
Slot In GUISlot in Workflow FileType
Source URLoutput-urlstring