Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parkourtest #208

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Clone this repository, create the environment and pip install

> git clone [email protected]:maxplanck-ie/dissectBCL.git
> cd dissectBCL
> conda create -f env.yml --name dissectBCL
> conda env create -f env.yml --name dissectBCL
> conda activate dissectBCL
> pip install ./

Expand Down
4 changes: 2 additions & 2 deletions src/dissectBCL/fakeNews.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def gatherFinalMetrics(outLane, flowcell):
# hence the try / except.
# 'mouse (GRCm39)' -> 'mouse'
parkourOrg = str( # To string since NA is a float
ssdf[ssdf["Sample_ID"] == sampleID]['Organism'].values[0]
ssdf[ssdf["Sample_ID"] == sampleID]['Organism'].values[0][0]
).split(' ')[0]
try:
screenDF = pd.read_csv(
Expand Down Expand Up @@ -478,4 +478,4 @@ def gatherFinalMetrics(outLane, flowcell):
'transferTime': flowcell.transferTime,
'exitStats': flowcell.exitStats,
'P5RC':ssDic['P5RC']
}
}
4 changes: 2 additions & 2 deletions src/dissectBCL/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def multiQC_yaml(flowcell, project, laneFolder):
))
# Organisms
orgs = ', '.join(list(
ssdf["Organism"].fillna('None').unique()
ssdf["Organism"].str[0].fillna('None').unique()
adRn-s marked this conversation as resolved.
Show resolved Hide resolved
))
# Resequencing runs are screwed up (e.g. don't contain the samples)
# switch total requested to NA
Expand Down Expand Up @@ -663,4 +663,4 @@ def matchOptdupsReqs(optDups, ssdf):
int(got)
]
)
return (sorted(_optDups, key=lambda x: x[1]))
return (sorted(_optDups, key=lambda x: x[1]))
Loading