code: def _pipeline_needs_fastq(config, data):
      
      aligner = config["algorithm"].get("aligner")
      support_bam = aligner in alignment.metadata.get("support_bam", [])
      return aligner and not support_bam
docs: Determine if the pipeline can proceed with a BAM file, or needs fastq conversion.