Skip to content

Commit

Permalink
add atac to 10X situation
Browse files Browse the repository at this point in the history
  • Loading branch information
CuijieLu committed Mar 27, 2024
1 parent 6ec1dd7 commit 26484bf
Show file tree
Hide file tree
Showing 2 changed files with 1,004 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demux_run_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import subprocess
from datetime import datetime, timedelta

from numpy import equal
import pandas
from SampleSheet import SampleSheet
import scripts.organise_fastq_split_by_lane
Expand Down Expand Up @@ -170,10 +169,11 @@ def stats(ds, **kwargs):

return "DLP stats posted and yaml file generated"

# check if the run is 10X by read length
atac, use_bases_mask = scripts.get_sequencing_read_data.main(sequencer_path)
if use_bases_mask == [29, 89]:
if use_bases_mask == [29, 89] or atac:
# if is atac run, demux is using cellranger mkfastq
if scripts.get_sequencing_read_data.main(sequencer_path)[0]:
if atac:
scripts.get_total_reads_from_demux.by_json(sequencer_and_run)
scripts.upload_stats.upload_stats(sequencer_and_run)

Expand Down
Loading

0 comments on commit 26484bf

Please sign in to comment.