<commit_before><commit_msg>Adding example python client for rnaseq-pipeline workflow.<commit_after># Example script to submit a 'rnaseq-pipeline' workflow

from gov.nasa.jpl.edrn.labcas.labcas_client import LabcasClient

if __name__ == '__main__':
    
    # submit workflow
    # ./wmgr-client --url http://localhost:9001 --operation --sendEvent --eventName rnaseq-pipeline 
    #               --metaData --key genome_index genome --key sample_id ERR318895 --key OwnerGroup RnaResearchGroup
    labcasClient = LabcasClient()
    wInstId = labcasClient.executeWorkflow(['urn:edrn:RnaSequencePipelineInit',
                                            'urn:edrn:RnaSequencePipelineTask1',
                                            'urn:edrn:RnaSequencePipelineTask2',
                                            'urn:edrn:RnaSequencePipelineTask3'], 
                                           {'genome_index':'genome',
                                            'sample_id':'ERR164503', 
                                            'OwnerGroup':'RnaResearchGroup' } )
    # monitor workflow instance
    labcasClient.waitForCompletion(wInstId)
{'fraction_non_alphanumeric': 0.0881326352530541, 'fraction_numerical': 0.016579406631762654, 'mean_word_length': 1.7975609756097561, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2280577', 'n_tokens_mistral': 300, 'n_tokens_neox': 276, 'n_words': 54}