snakemake.common.git.git_content

snakemake.common.git.git_content(git_file)[source]

This function will extract a file from a git repository, one located on the filesystem. The expected format is git+file:///path/to/your/repo/path_to_file@version

Parameters:

env_file (str) – consist of path to repo, @, version, and file information Ex: git+file:///home/smeds/snakemake-wrappers/bio/fastqc/wrapper.py@0.19.3

Returns:

file content or None if the expected format isn’t meet