Project

General

Profile

Actions

Idea #18103

closed

Script to scan S3 bucket for new data & copy to Arvados

Added by Peter Amstutz over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
Story points:
-
Release relationship:
Auto

Description

Script that can run from a cron job or a workflow that scans S3 bucket, finds data, determines batch, sample id, and type. Copies data to Arvados, sets batch id, and updates status of sample to "sequenced".

Path is (bucket) batch / sample id / sample files:

(data-release) MM-002DNA/ MM_0026_DNA_T_04_01/ MM_0026_DNA_T_04_01_L001_R1_001.fastq.gz

Match sample id to existing sample id & upload to Arvados.
Update sample status to SEQUENCED.
Find or create batch and associate sample id with batch.

Actions

Also available in: Atom PDF