I'd like to add a parameter --long-fastq for use by porechop and unicycler. When porechop is used, it consumes the raw long reads, and its outputs is the input to the long_fastq secondary channel of unicycler. When porechop is not used, unicycler consumes the raw long reads. The behaviour that I want seems handled by set_secondary_inputs, but I'm not entirely sure from where or how to call this function. Could you please point me in the right direction?
|
def set_secondary_inputs(self, channel_dict): |
|
""" Adds secondary inputs to the start of the pipeline. |
I'd like to add a parameter
--long-fastqfor use byporechopandunicycler. Whenporechopis used, it consumes the raw long reads, and its outputs is the input to thelong_fastqsecondary channel ofunicycler. Whenporechopis not used,unicyclerconsumes the raw long reads. The behaviour that I want seems handled byset_secondary_inputs, but I'm not entirely sure from where or how to call this function. Could you please point me in the right direction?flowcraft/flowcraft/generator/process.py
Lines 726 to 727 in 2173530