Skip to content

Commit

Permalink
Add merge column to design file for chip assay
Browse files Browse the repository at this point in the history
  • Loading branch information
alsmith151 committed Apr 9, 2024
1 parent e51f0cc commit 0602154
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,14 @@ def design(seqnado_run_dir, assay_type, assay):
completed = subprocess.run(" ".join(cmd), shell=True, cwd=seqnado_run_dir)
assert completed.returncode == 0

if assay == "rna-rx":
if assay == "chip":
# Add merge column to design file
import pandas as pd
df = pd.read_csv(seqnado_run_dir / "design.csv", index_col=0)
df["merge"] = df.index.str.split("-").str[-1]
df.to_csv(seqnado_run_dir / "design.csv")

elif assay == "rna-rx":
# Add deseq2 column to design file
import pandas as pd

Expand Down

0 comments on commit 0602154

Please sign in to comment.