anthropics / life-sciences
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 30 files with 7,013 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (1,835 lines of code)
    • 11 medium size files (3,165 lines of code)
    • 13 small files (1,799 lines of code)
    • 3 very small files (214 lines of code)
0% | 26% | 45% | 25% | 3%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 28% | 46% | 21% | 3%
yaml0% | 0% | 34% | 65% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
nextflow-development0% | 30% | 42% | 25% | 1%
instrument-data-to-allotrope0% | 51% | 39% | 9% | 0%
scvi-tools0% | 0% | 57% | 35% | 6%
clinical-trial-protocol-skill0% | 0% | 100% | 0% | 0%
single-cell-rna-qc0% | 0% | 0% | 79% | 20%
Longest Files (Top 30)
File# lines# units
validate_asm.py
in instrument-data-to-allotrope/scripts
815 24
sra_geo_fetch.py
in nextflow-development/scripts
511 11
ncbi_utils.py
in nextflow-development/scripts/utils
509 16
convert_to_asm.py
in instrument-data-to-allotrope/scripts
386 11
manage_genomes.py
in nextflow-development/scripts
368 9
check_environment.py
in nextflow-development/scripts
348 9
sample_size_calculator.py
in clinical-trial-protocol-skill/scripts
326 3
model_utils.py
in scvi-tools/scripts
319 10
generate_samplesheet.py
in nextflow-development/scripts
288 10
validate_adata.py
in scvi-tools/scripts
253 7
export_parser.py
in instrument-data-to-allotrope/scripts
234 6
train_model.py
in scvi-tools/scripts
233 7
sarek.yaml
in nextflow-development/scripts/config/pipelines
209 -
detect_data_type.py
in nextflow-development/scripts
201 6
validators.py
in nextflow-development/scripts/utils
171 8
atacseq.yaml
in nextflow-development/scripts/config/pipelines
167 -
sample_inference.py
in nextflow-development/scripts/utils
161 7
qc_analysis.py
in single-cell-rna-qc/scripts
155 -
qc_plotting.py
in single-cell-rna-qc/scripts
153 3
flatten_asm.py
in instrument-data-to-allotrope/scripts
153 7
integrate_datasets.py
in scvi-tools/scripts
135 3
rnaseq.yaml
in nextflow-development/scripts/config/pipelines
130 -
differential_expression.py
in scvi-tools/scripts
129 3
transfer_labels.py
in scvi-tools/scripts
125 3
cluster_embed.py
in scvi-tools/scripts
111 3
genomes.yaml
in nextflow-development/scripts/config
108 -
file_discovery.py
in nextflow-development/scripts/utils
101 5
prepare_data.py
in scvi-tools/scripts
87 2
qc_core.py
in single-cell-rna-qc/scripts
80 6
__init__.py
in nextflow-development/scripts/utils
47 -
Files With Most Units (Top 24)
File# lines# units
validate_asm.py
in instrument-data-to-allotrope/scripts
815 24
ncbi_utils.py
in nextflow-development/scripts/utils
509 16
convert_to_asm.py
in instrument-data-to-allotrope/scripts
386 11
sra_geo_fetch.py
in nextflow-development/scripts
511 11
model_utils.py
in scvi-tools/scripts
319 10
generate_samplesheet.py
in nextflow-development/scripts
288 10
manage_genomes.py
in nextflow-development/scripts
368 9
check_environment.py
in nextflow-development/scripts
348 9
validators.py
in nextflow-development/scripts/utils
171 8
validate_adata.py
in scvi-tools/scripts
253 7
train_model.py
in scvi-tools/scripts
233 7
flatten_asm.py
in instrument-data-to-allotrope/scripts
153 7
sample_inference.py
in nextflow-development/scripts/utils
161 7
qc_core.py
in single-cell-rna-qc/scripts
80 6
export_parser.py
in instrument-data-to-allotrope/scripts
234 6
detect_data_type.py
in nextflow-development/scripts
201 6
file_discovery.py
in nextflow-development/scripts/utils
101 5
sample_size_calculator.py
in clinical-trial-protocol-skill/scripts
326 3
transfer_labels.py
in scvi-tools/scripts
125 3
differential_expression.py
in scvi-tools/scripts
129 3
cluster_embed.py
in scvi-tools/scripts
111 3
integrate_datasets.py
in scvi-tools/scripts
135 3
qc_plotting.py
in single-cell-rna-qc/scripts
153 3
prepare_data.py
in scvi-tools/scripts
87 2
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 21 long lines.

File# lines# units# long lines
ncbi_utils.py
in nextflow-development/scripts/utils
509 16 11
qc_analysis.py
in single-cell-rna-qc/scripts
155 - 9
export_parser.py
in instrument-data-to-allotrope/scripts
234 6 1
Correlations

File Size vs. Commits (all time): 30 points

clinical-trial-protocol-skill/scripts/sample_size_calculator.py x: 2 commits (all time) y: 326 lines of code scvi-tools/scripts/cluster_embed.py x: 2 commits (all time) y: 111 lines of code scvi-tools/scripts/differential_expression.py x: 2 commits (all time) y: 129 lines of code scvi-tools/scripts/integrate_datasets.py x: 2 commits (all time) y: 135 lines of code scvi-tools/scripts/model_utils.py x: 4 commits (all time) y: 319 lines of code scvi-tools/scripts/prepare_data.py x: 4 commits (all time) y: 87 lines of code scvi-tools/scripts/train_model.py x: 2 commits (all time) y: 233 lines of code scvi-tools/scripts/transfer_labels.py x: 2 commits (all time) y: 125 lines of code scvi-tools/scripts/validate_adata.py x: 2 commits (all time) y: 253 lines of code nextflow-development/scripts/check_environment.py x: 2 commits (all time) y: 348 lines of code nextflow-development/scripts/config/genomes.yaml x: 2 commits (all time) y: 108 lines of code nextflow-development/scripts/config/pipelines/atacseq.yaml x: 2 commits (all time) y: 167 lines of code nextflow-development/scripts/config/pipelines/sarek.yaml x: 2 commits (all time) y: 209 lines of code nextflow-development/scripts/detect_data_type.py x: 2 commits (all time) y: 201 lines of code nextflow-development/scripts/generate_samplesheet.py x: 2 commits (all time) y: 288 lines of code nextflow-development/scripts/manage_genomes.py x: 2 commits (all time) y: 368 lines of code nextflow-development/scripts/sra_geo_fetch.py x: 2 commits (all time) y: 511 lines of code nextflow-development/scripts/utils/__init__.py x: 2 commits (all time) y: 47 lines of code nextflow-development/scripts/utils/file_discovery.py x: 2 commits (all time) y: 101 lines of code nextflow-development/scripts/utils/ncbi_utils.py x: 2 commits (all time) y: 509 lines of code nextflow-development/scripts/utils/sample_inference.py x: 2 commits (all time) y: 161 lines of code nextflow-development/scripts/utils/validators.py x: 2 commits (all time) y: 171 lines of code instrument-data-to-allotrope/scripts/convert_to_asm.py x: 2 commits (all time) y: 386 lines of code instrument-data-to-allotrope/scripts/flatten_asm.py x: 2 commits (all time) y: 153 lines of code instrument-data-to-allotrope/scripts/validate_asm.py x: 2 commits (all time) y: 815 lines of code single-cell-rna-qc/scripts/qc_analysis.py x: 4 commits (all time) y: 155 lines of code single-cell-rna-qc/scripts/qc_core.py x: 4 commits (all time) y: 80 lines of code
815.0
lines of code
  min: 47.0
  average: 233.77
  25th percentile: 128.0
  median: 169.0
  75th percentile: 320.75
  max: 815.0
0 4.0
commits (all time)
min: 2.0 | average: 2.27 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 4.0

File Size vs. Contributors (all time): 30 points

clinical-trial-protocol-skill/scripts/sample_size_calculator.py x: 2 contributors (all time) y: 326 lines of code scvi-tools/scripts/cluster_embed.py x: 1 contributors (all time) y: 111 lines of code scvi-tools/scripts/differential_expression.py x: 1 contributors (all time) y: 129 lines of code scvi-tools/scripts/integrate_datasets.py x: 1 contributors (all time) y: 135 lines of code scvi-tools/scripts/model_utils.py x: 1 contributors (all time) y: 319 lines of code scvi-tools/scripts/prepare_data.py x: 1 contributors (all time) y: 87 lines of code scvi-tools/scripts/train_model.py x: 1 contributors (all time) y: 233 lines of code scvi-tools/scripts/transfer_labels.py x: 1 contributors (all time) y: 125 lines of code scvi-tools/scripts/validate_adata.py x: 1 contributors (all time) y: 253 lines of code nextflow-development/scripts/check_environment.py x: 2 contributors (all time) y: 348 lines of code nextflow-development/scripts/config/genomes.yaml x: 2 contributors (all time) y: 108 lines of code nextflow-development/scripts/config/pipelines/atacseq.yaml x: 2 contributors (all time) y: 167 lines of code nextflow-development/scripts/config/pipelines/rnaseq.yaml x: 2 contributors (all time) y: 130 lines of code nextflow-development/scripts/config/pipelines/sarek.yaml x: 2 contributors (all time) y: 209 lines of code nextflow-development/scripts/detect_data_type.py x: 2 contributors (all time) y: 201 lines of code nextflow-development/scripts/generate_samplesheet.py x: 2 contributors (all time) y: 288 lines of code nextflow-development/scripts/manage_genomes.py x: 2 contributors (all time) y: 368 lines of code nextflow-development/scripts/sra_geo_fetch.py x: 2 contributors (all time) y: 511 lines of code nextflow-development/scripts/utils/__init__.py x: 2 contributors (all time) y: 47 lines of code nextflow-development/scripts/utils/file_discovery.py x: 2 contributors (all time) y: 101 lines of code nextflow-development/scripts/utils/ncbi_utils.py x: 2 contributors (all time) y: 509 lines of code nextflow-development/scripts/utils/sample_inference.py x: 2 contributors (all time) y: 161 lines of code nextflow-development/scripts/utils/validators.py x: 2 contributors (all time) y: 171 lines of code instrument-data-to-allotrope/scripts/convert_to_asm.py x: 1 contributors (all time) y: 386 lines of code instrument-data-to-allotrope/scripts/flatten_asm.py x: 1 contributors (all time) y: 153 lines of code instrument-data-to-allotrope/scripts/validate_asm.py x: 1 contributors (all time) y: 815 lines of code single-cell-rna-qc/scripts/qc_analysis.py x: 2 contributors (all time) y: 155 lines of code single-cell-rna-qc/scripts/qc_core.py x: 2 contributors (all time) y: 80 lines of code single-cell-rna-qc/scripts/qc_plotting.py x: 2 contributors (all time) y: 153 lines of code
815.0
lines of code
  min: 47.0
  average: 233.77
  25th percentile: 128.0
  median: 169.0
  75th percentile: 320.75
  max: 815.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.6 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".