Skip to content

Commit

Permalink
Bug fixes and time limits for vis
Browse files Browse the repository at this point in the history
  • Loading branch information
wflynny committed Mar 18, 2022
1 parent 23196d1 commit 2fa2933
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/check_samplesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def __init__(self):

def additional_checks(self, record_id, record):
# assert we have both library types
has_both_lib_types = len(set(record.library_types)) == 2
has_both_lib_types = len(set(record["library_types"])) == 2
if not has_both_lib_types:
print_error(
f"Record {record_id} needs to have both library types: {self.allowed_library_types}"
Expand Down
4 changes: 4 additions & 0 deletions modules/spaceranger.nf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ process SPACERANGER_COUNT {
tag "$record.output_id"
label "tenx_genomics_count"

// cpus determined by profile
// memory determined by profile
time { (record.n_reads / 300000000).round(2) * 8.hour * params.time_scale_factor }

container "library://singlecell/${record.tool}:${record.tool_version}"

input:
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ manifest {
homePage = "https://github.com/TheJacksonLaboratory/nf-tenx"
mainScript = "main.nf"
nextflowVersion = "!>=20.10.0"
version = "0.5.0"
version = "0.5.1"
}

0 comments on commit 2fa2933

Please sign in to comment.