Remember: always verify the filter version with --help after installation. If the SDM still fails to recognize the flag, you likely need to symlink the old filter binary to a standard name (e.g., ln -s /opt/bbtoolsflver/filter_fl /usr/local/bin/filter ).
bbtoolsflver-sdm --input data.fastq --filter-quality 30 After the conversion and install, validate that the filter version loads correctly. Validation Test sdm query --pkg=bbtoolsflver # Expected output: STATUS: INSTALLED | VERSION: flver-1.0.0 Run a functional test: bbtoolsflver to sdm install
After installation, create an SDM wrapper script: Remember: always verify the filter version with --help
sudo apt install checkinstall cd bbtoolsflver/ # Create a custom install script mkdir -p debian/DEBIAN cat > debian/DEBIAN/control << EOF Package: bbtoolsflver Version: 1.0.0 Section: science Priority: optional Architecture: amd64 Depends: openjdk-11-jre-headless Description: BBTools with filter version flver for SDM EOF mkdir -p debian/usr/local/bbtoolsflver cp -r * debian/usr/local/bbtoolsflver/ Build DEB dpkg-deb --build debian bbtoolsflver_1.0.0_amd64.deb Deploy via SDM sudo dpkg -i bbtoolsflver_1.0.0_amd64.deb Option B: Convert to .rpm (For YUM/DNF SDM) Use fpm (Effing Package Management) to simplify the conversion. bbtoolsflver to sdm install