Skip to content
Discussion options

You must be logged in to vote

Where is ./data/dbcan_data/dbCAN-fam-HMMs.txt located? To use it in your process you need to include it in as an input to your process:

process CAZY_DBCAN {
	
	publishDir params.outdir, mode: 'copy'
	conda "envs/dbcan.yml"

	input:
	path faa_file
	path HMMs

	output:
	path "${faa_file}.dm"

	script:
	"""
        hmmscan --domtblout ${faa_file}.dm $HMMs $faa_file > result.out
	"""
}
workflow { 
	inputs = Channel.fromPath(params.input_file)
        HMMs = Channel.fromPath('./data/dbcan_data/dbCAN-fam-HMMs.txt')
	dbcan = CAZY_DBCAN(inputs, HMMs)
	CAZY_DBCAN_FILTER(dbcan)
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pavlohrab
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants