Skip to content

Commit 91a4bec

Browse files
authored
Merge pull request #2 from macs3-project/feat/markdown
Feat/markdown: baigali's unpublished commit and fixes of version number
2 parents b648a79 + b7461cf commit 91a4bec

File tree

7 files changed

+24
-17
lines changed

7 files changed

+24
-17
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: MAESTRO
22
Type: Package
33
Title: Model-based Analyses of Single-cell Transcriptome and Regulome (MACS3 fork)
4-
Version: 1.5.2
4+
Version: 1.5.3
55
Date: 2021-03-05
66
Author: Chenfei Wang, Dongqing Sun, Tao Liu, Changxin Wan, Ming (Tommy) Tang, Gali Bai, Jiaojiao Zhou
77
Maintainer: Dongqing Sun<dongqingsun96@gmail.com>, Gali Bai<gali.bai@hotmail.com>, Tao Liu <vladimir.liu@gmail.com>

MAESTRO/MAESTRO

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1+
#!/usr/bin/env python
12
# -*- coding: utf-8 -*-
3+
# Time-stamp: <2022-01-26 12:27:01 Tao Liu>
4+
5+
# BEGIN of old header
26
# @Author: Dongqing Sun
37
# @E-mail: Dongqingsun96@gmail.com
48
# @Date: 2021-06-07 11:11:58
59
# @Last Modified by: Gali Bai, Dongqing Sun
610
# @Last Modified time: 2021-06-07 11:11:58
11+
# END of old header
712

8-
version = "1.5.1"
13+
version = "1.5.3"
914

1015
import logging
1116
import sys, os

MAESTRO/MAESTRO_ParameterValidate.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ def scatac_validator(args):
2929
logging.error("--whitelist is required for 10x-genomics data!")
3030
exit(1)
3131
if args.format == "bam":
32-
if args.bam == "":
33-
logging.error("--bam is required. Please provide the bam file with CB tag!")
32+
if args.input_path == "":
33+
logging.error("--input_path is required. Please specify the directory where bam files are stored!")
3434
exit(1)
3535
if args.format == "fragments":
36-
if args.frag == "":
37-
logging.error("--frag is required. Please provide the fragment file generated by CellRanger ATAC!")
36+
if args.input_path == "":
37+
logging.error("--input_path is required. Please specify the directory where fragments files are stored!")
3838
exit(1)
3939
if args.mapping == "chromap":
4040
if args.format == "fastq":

MAESTRO/Snakemake/scATAC/rules/sc_atac_link_fragment.smk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if config["gzip"]:
33
input:
44
frag = lambda wildcards: FILES[wildcards.sample]
55
output:
6-
frag_sort = temp("Result/Mapping/{sample}/fragments_sorted_corrected_dedup_count.tsv")
6+
frag_sort = temp("Result/Mapping/{sample}/fragments_sorted_corrected_dedup_count.tsv"),
77
frag_dedup = "Result/Mapping/{sample}/fragments_corrected_dedup_count.tsv",
88
fraggz = "Result/Mapping/{sample}/fragments_corrected_dedup_count.tsv.gz"
99
shell:
@@ -17,7 +17,7 @@ else:
1717
input:
1818
frag = lambda wildcards: FILES[wildcards.sample]
1919
output:
20-
frag_sort = temp("Result/Mapping/{sample}/fragments_sorted_corrected_dedup_count.tsv")
20+
frag_sort = temp("Result/Mapping/{sample}/fragments_sorted_corrected_dedup_count.tsv"),
2121
frag_dedup = "Result/Mapping/{sample}/fragments_corrected_dedup_count.tsv",
2222
fraggz = "Result/Mapping/{sample}/fragments_corrected_dedup_count.tsv.gz"
2323
shell:

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,19 @@
2828
[sci-ATAC-seq](https://science.sciencemag.org/content/348/6237/910)
2929
for scATAC-seq protocols.
3030

31-
This is the MACS3 project fork of MAESTRO. The long-term goal is to
32-
switch to all python implementation of scRNA+scATAC analysis and move
33-
from Seurat to Scanpy/Anndata.
31+
This is the MACS3 project fork of MAESTRO. We will maintain the
32+
MAESTRO pacakge here and send PR to the original repository at
33+
liulab-dfci/MAESTRO. The long-term goal in this fork is to switch to
34+
all python implementation of scRNA+scATAC analysis and move from
35+
Seurat to Scanpy/Anndata.
3436

3537
<p align="center">
3638
<img src="./image/MAESTRO_workflow.png"/>
3739
</p>
3840

3941
## Documentation
4042

41-
We are hosting MAESTRO documentation, instruction and tutorials at [MAESTRO Website](https://baigal628.github.io/MAESTRO_documentation/).
43+
We are hosting MAESTRO documentation, instruction and tutorials at [MAESTRO Website](https://macs3-project.github.io/MAESTRO/).
4244

4345
## Change Log
4446

@@ -105,7 +107,7 @@ We are hosting MAESTRO documentation, instruction and tutorials at [MAESTRO Webs
105107
* Support single-nuclei RNA-seq pipeline.
106108
* Fix bug in sample initiation subcommand to read fastq with sample id greater than 9.
107109
* Update MAESTRO documentation to v1.5.1. Add snRNA-seq tutorials. Expand scRNA-seq tutorial with lisa2 TF prediction custom analysis. Add multi-scATAC-seq genome track plot for pseudobulk peaks. Explain multi-samples peak calling parameters.
108-
### v1.5.2 (MACS3 fork)
110+
### v1.5.2+ (MACS3 fork)
109111
* Temporary release. We will update some documentations and update some dependencies.
110112
* The mouse chromosome length file for GRCm38 has been fixed.
111113

@@ -137,7 +139,7 @@ $ conda config --add channels bioconda
137139
$ conda config --add channels conda-forge
138140
# To make the installation faster, we recommend using mamba
139141
$ conda install mamba -c conda-forge
140-
$ mamba create -n MAESTRO maestro=1.5.1 -c macs3-project
142+
$ mamba create -n MAESTRO -c macs3 maestro=1.5.3
141143
# Activate the environment
142144
$ conda activate MAESTRO
143145
```

conda/MAESTRO/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package:
22
name: maestro
3-
version: "1.5.2"
3+
version: "1.5.3"
44
source:
55
path: ../../
66
requirements:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Time-stamp: <2022-01-25 19:58:58 Tao Liu>
2+
# Time-stamp: <2022-01-26 13:49:23 Tao Liu>
33

44
import sys,os
55
# from distutils.core import setup
@@ -13,7 +13,7 @@
1313
def main():
1414
setup(
1515
name = "MAESTRO",
16-
version = "1.5.2",
16+
version = "1.5.3",
1717
package_dir = {'MAESTRO':'MAESTRO'},
1818
packages = ['MAESTRO'],
1919
package_data={'MAESTRO':['Snakemake/scRNA/*', 'Snakemake/integrate/*', 'Snakemake/scATAC/*', 'Snakemake/scATAC/rules/*', 'Snakemake/scRNA/rules/*', 'R/*', 'utils/*','annotations/*', 'html/*', '']},

0 commit comments

Comments
 (0)