Partek Flow Documentation

Page tree
Skip to end of metadata
Go to start of metadata


Save the script in ~/.partekflow/user_tasks/copy.sh

for variants in "$@"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
do                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
        cp $variants /mnt/nfs/Backup                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
done  


To add this task go to Settings > Task management

Click Add task

Click Create new task


Specify the task name and version

Choose the copy.sh file for the Executable option

This task runs on All samples


Choose Variants for the Input data type and Last option for Input from


This task doesn't produce any outputs that will be managed by Flow


Nor does it require any options

Click Finish


After selecting a variants node on the Analyses tab the task can be invoked from the Custom tasks section


The script will execute and the task will appear




  • No labels