You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This scripts queries statusdb x_flowcell_db and fetch informaiton about runs.
29
+
The following operations are supported:
26
30
27
-
28
-
### DupRateTrends_from_charon.py
29
-
Used to fetch stats from charon about duplication rate trends and number of sequenced human genomes
31
+
- check_undet_index: given a specific index checks all FCs and prints all FC and lanes where the indx appears as undetermined
32
+
- most_undet: outputs a summary about undetermiend indexes, printing the most 20 most occurring indexes for each instrument type
33
+
- single_sample_lanes: prints stats about HiSeqX lanes run with a single sample in it
34
+
- workset_undet: prints for each workset the FC, lanes and samples where the specified index has been found in undet. For each sample the plate position is printed.
35
+
- fetch_pooled_projects: returns pooled projects, that is projects that have been run in a pool.
30
36
31
37
#### Usage
32
-
Example: `DupRateTrends_from_charon.py`
38
+
Examples:
39
+
40
+
- compute for each workset the FC that contain a lane with index CTTGTAAT present in undet at least 0.5M times:
Charon API Token. Will be read from the env variable
41
-
CHARON_API_TOKEN if not provided
42
-
-u URL, --url URL Charon base url. Will be read from the env variable
43
-
CHARON_BASE_URL if not provided
44
-
```
47
+
48
+
49
+
### runs_per_week.sh
50
+
Run on Irma prints a three columns:
51
+
52
+
- first column is the week number
53
+
- second column number of HiSeqX runs in that week
54
+
- seconf column number of HiSeq2500 runs in that week
55
+
56
+
#### Usage
57
+
Examp `runs_per_week.sh `
58
+
45
59
46
60
47
61
### compute_production_stats.py
48
-
This scripts queries statusdb x_flowcelldb and project database and fetches informations about what organism have been sequenced. More in detail:
62
+
This scripts queries statusdb x_flowcelldb and project database and fetches informations useful to plot trands and aggregated data. It can be run in three modalities:
63
+
64
+
- production-stats: for each instrument type it prints number of FCs, number of lanes, etc. It then prints a summary of all stats
65
+
- instrument-usage: for each instrument type and year it prints different run set-ups and samples run with that set-up
66
+
- year-stats: cumulative data production by month
49
67
50
-
- reports total number of lanes sequenced per year
51
-
- reports total number of Human lanes and of Non-Human lanes sequenced (divided per instrument)
parser=argparse.ArgumentParser("""This scripts queries statusdb x_flowcelldb and project database and fetches informations about what organisms have been sequenced. It can be run in the following modes:
435
512
- production-stats: for each instrument type it prints number of FCs, number of lanes, etc. It then prints a summary of all stats
436
513
- instrument-usage: for each instrument type and year it prints different run set-ups and samples run with that set-up
parser.add_argument('--mode', help="define what action needs to be executed", type=str, required=True, choices=('production-stats', 'instrument-usage'))
517
+
parser.add_argument('--mode', help="define what action needs to be executed", type=str, required=True, choices=('production-stats', 'instrument-usage', 'year-stats'))
0 commit comments