Closed mpoelchau closed 4 years ago
@HsiuKangHuang I missed a step for 1. Apollo- we'll need to rsync the scaffold/bigwig/ folder to production, as well. Can you add that to the apolloServer-workflow.cwl workflow? Thanks!
@HsiuKangHuang - Here's an update on how the new 'production' workflows should be organized. Sorry about the changes - I didn't realize earlier what steps would work well together in terms of the cwl setup.
Workflow changes:
yml file(s):
final-workflow.yml
file Okay! Thank you Monica for organizing these steps. I will modify the workflows.
I think this is completed via #94.
I think we are ready to develop a new (separate) workflow - setup production. The current workflow is for initially processing and setting up the data. Once this initial setup has been reviewed, we'll need a workflow to move everything to our production servers.
Steps (this will probably change):
Apollo
mkdir -p /app/data/other_species/[gggsss]/[assemblyname]
rsync -avP
:scp -r /app/data/other_species/[gggsss]/[assemblyname]/jbrowse apollo-node1:/app/data/other_species/[gggsss]/[assemblyname]
scp -r /usr/local/blat/db/[gggsss]/ apollo-node1:/usr/local/blat/db
Genomics-workspace:
UPDATE: this needs to be in 3 separate workflows. The first 2 should be run from the gmod-stage server. The last workflow needs to be run on the production server.
First workflow:
create folders on gmod-stage: the same as setup_folder.cwl, except without the jbrowse and bigwig directories
download necessary files to gmod-stage: Genome fasta, protein fasta, RNA/transcript fasta, CDS fasta. Could re-use flow_download/workflow.cwl except for the gff3 download
then put these files in the correct directories (could use flow_dispatch/2other_species/workflow.cwl up to L82 - don't need apollo files)
reformat IDs? let's not worry about this for now.
run flow_genomics-workspace on gmod-stage server
Second workflow (after the admin user checks whether or not everything is set up properly on gmod-stage:
generate yml file for third workflow ( running genomics-workspace on prod server)
create folders on gmod-node1 (FOR TESTING USE GMOD-DEV): the same as setup_folder.cwl, except without the jbrowse directories
rsync fasta files required by genomics-workspace workflow to gmod-node1 (FOR TESTING USE GMOD-DEV)
rsync yml file to production server (to /app/data/working_files/gggsss/assemblyname)