Skip to content

Commit

Permalink
Merge pull request #36 from theislab/main
Browse files Browse the repository at this point in the history
Merge from main
  • Loading branch information
wxicu authored Jan 28, 2024
2 parents 1ed105e + ca5deaf commit d5c739d
Show file tree
Hide file tree
Showing 24 changed files with 373 additions and 538 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/build_docs.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,3 @@ testing/
testing*
*.pyc
docs/build/
test_data/
res_gx12/
res_gx38/
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@

Read the [documentation](https://hadge.readthedocs.io/en/latest/) and the associated [manuscript](https://www.biorxiv.org/content/10.1101/2023.07.23.550061v1)

## Quickstart

```bash
git clone https://github.com/theislab/hadge.git
sh hadge/test_data/download_data.sh
nextflow run main.nf -profile test
```

## Citation

hadge: a comprehensive pipeline for donor deconvolution in single cell
Expand Down
15 changes: 1 addition & 14 deletions bin/bff.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ if(as.logical(args$preprocess)){
# Step 3: Create a vector from the barcodesl
vector <- unlist(words)
print("Preprocessing")
#counts <- Read10X(args$fileHto)
counts <- ProcessCountMatrix(rawCountData = args$fileHto, barcodeBlacklist = vector)
print("Preprocessing done")
}else{
print("No preprocessing")
counts <- Read10X(args$fileHto)
Expand All @@ -89,19 +89,6 @@ if (!is.null(args$methodsForConsensus)) {

perCell_args <- args$perCellSaturation
perCell <- ifelse(perCell_args == "null" || perCell_args == "Null", NULL, perCell_args)
<<<<<<< HEAD
<<<<<<< HEAD
print("---------------------")
print(perCell)
print("---------------------")
=======
print(perCell)

>>>>>>> c781241 (bff re-added problematic parameter)
=======
print("---------------------")
print(perCell)
print("---------------------")

if(args$methodsForConsensus=="bff_raw" || args$methodsForConsensus=="bff_cluster" || args$methodsForConsensus=="bff_raw,bff_cluster" || is.null(args$methodsForConsensus) )
#Only Bff in its different variations is available
Expand Down
1 change: 1 addition & 0 deletions bin/demuxem.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
# load input rna data
rna_data = sc.read_10x_mtx(args.rna_matrix_dir)
hashing_data = sc.read_10x_mtx(args.hto_matrix_dir,gex_only=False)
rna = args.rna_matrix_dir
filter = ""
if args.filter_demuxem.lower() in ['true', 't', 'yes', 'y', '1']:
filter = True
Expand Down
94 changes: 0 additions & 94 deletions bin/demuxmix.R

This file was deleted.

Loading

0 comments on commit d5c739d

Please sign in to comment.