-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Point to GTF etc provided in new way * marker cluster renumbering for newer scanpy-scripts * Improved marker renumbering fix * Speed up cluster renumbering * Correct output typo * Attempt to solve mytery missing file issue * Final fix to Jon idiocy * Don't publish clusters as symlink * Localise trivial processes * Marker renumbering fix * Fix to the last fix * Add marker resolution fix
- Loading branch information
1 parent
0639221
commit c2aaf2a
Showing
3 changed files
with
51 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env Rscript | ||
|
||
library(data.table) | ||
|
||
cl <- commandArgs(trailingOnly = TRUE) | ||
|
||
infile <- cl[1] | ||
outfile <- cl[2] | ||
|
||
clusters <- fread(infile, check.names=FALSE) | ||
|
||
if (min(clusters[,c(-1,-2)]) == 0){ | ||
clusters <- cbind(clusters[,c(1,2)], clusters[,c(-1,-2)]+1) | ||
} | ||
|
||
fwrite(clusters, file=outfile, sep="\t", quote=FALSE, row.names = FALSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
name: r-data.table | ||
dependencies: | ||
- r-data.table |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters