offtracker 1.0.0__zip → 1.0.2__zip

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {offtracker-1.0.0/offtracker.egg-info → offtracker-1.0.2}/PKG-INFO +18 -10
  2. {offtracker-1.0.0 → offtracker-1.0.2}/README.md +17 -9
  3. offtracker-1.0.2/offtracker/_version.py +1 -0
  4. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker/mapping/Snakefile_Trackseq +0 -18
  5. {offtracker-1.0.0 → offtracker-1.0.2/offtracker.egg-info}/PKG-INFO +18 -10
  6. offtracker-1.0.0/offtracker/_version.py +0 -1
  7. {offtracker-1.0.0 → offtracker-1.0.2}/LICENSE.txt +0 -0
  8. {offtracker-1.0.0 → offtracker-1.0.2}/MANIFEST.in +0 -0
  9. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker/X_analysis.py +0 -0
  10. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker/X_general.py +0 -0
  11. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker/__init__.py +0 -0
  12. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker/mapping/1.1_bed2fr_v4.5.py +0 -0
  13. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker/mapping/1.3_bdg_normalize_v4.0.py +0 -0
  14. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker/mapping/bedGraphToBigWig +0 -0
  15. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker/mapping/hg38.chrom.sizes +0 -0
  16. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker/mapping/mm10.chrom.sizes +0 -0
  17. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker/mapping/offtracker_blacklist_hg38.merged.bed +0 -0
  18. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker/mapping/offtracker_blacklist_mm10.merged.bed +0 -0
  19. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker.egg-info/SOURCES.txt +0 -0
  20. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker.egg-info/dependency_links.txt +0 -0
  21. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker.egg-info/requires.txt +0 -0
  22. {offtracker-1.0.0 → offtracker-1.0.2}/offtracker.egg-info/top_level.txt +0 -0
  23. {offtracker-1.0.0 → offtracker-1.0.2}/scripts/offtracker_analysis.py +0 -0
  24. {offtracker-1.0.0 → offtracker-1.0.2}/scripts/offtracker_candidates.py +0 -0
  25. {offtracker-1.0.0 → offtracker-1.0.2}/scripts/offtracker_config.py +0 -0
  26. {offtracker-1.0.0 → offtracker-1.0.2}/setup.cfg +0 -0
  27. {offtracker-1.0.0 → offtracker-1.0.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: offtracker
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: Track-seq data analysis
5
5
  Home-page: https://github.com/Lan-lab/offtracker
6
6
  Author: Runda Xu
@@ -26,7 +26,7 @@ Dependency
26
26
  ```bash
27
27
  # We recommend creating a new enviroment using mamba/conda to avoid compatibility problems
28
28
  # If you don't use mamba, just replace the code with conda
29
- mamba create -n offtracker -c bioconda blast snakemake
29
+ mamba create -n offtracker -c bioconda blast snakemake pybedtools
30
30
  ```
31
31
 
32
32
 
@@ -37,10 +37,11 @@ Installation
37
37
  # activate the environment
38
38
  conda activate offtracker
39
39
 
40
- # Download the offtracker from github:
41
- git clone https://github.com/Lan-lab/offtracker.git
40
+ # Direct installation with pip
41
+ pip install offtracker
42
42
 
43
- # install
43
+ # (Alternative) Download the offtracker from github
44
+ git clone https://github.com/Lan-lab/offtracker.git
44
45
  cd offtracker
45
46
  pip install .
46
47
  ```
@@ -78,8 +79,11 @@ offtracker_config.py -t 8 -g hg38 --blacklist hg38 \
78
79
  -r /Your_Path_To_Reference/hg38_genome.fa \
79
80
  -i /Your_Path_To_Reference/hg38_genome.chromap.index \
80
81
  -f /Your_Path_To_Fastq \
81
- -o /Your_Path_To_Output \ # Default is outputting to /Your_Path_To_Fastq
82
- --subfolder 0 # If different samples are in seperate folders, set this to 1
82
+ -o /Your_Path_To_Output \
83
+ --subfolder 0
84
+
85
+ # --subfolder: If different samples are in seperate folders, set this to 1
86
+ # -o: Default is outputting to /Your_Path_To_Fastq
83
87
 
84
88
  # Run the snakemake program
85
89
  cd /Your_Path_To_Fastq
@@ -102,13 +106,17 @@ Analyzing the off-target sites
102
106
  ```bash
103
107
  # In this part, multiple samples in the same condition can be analyzed in a single run by pattern recogonization of sample names
104
108
 
105
- offtracker_analysis.py -g hg38 --name "HEK4" \ # the same as that in offtracker_candidates.py
106
- --exp 'Cas9_HEK4.*293' \ # add one or multiple patterns of file name in regex
107
- --control 'control' \ # add one or multiple patterns of file name in regex
109
+ offtracker_analysis.py -g hg38 --name "HEK4" \
110
+ --exp 'Cas9_HEK4.*293' \
111
+ --control 'control' \
108
112
  --outname 'Cas9_HEK4_293' \
109
113
  -f /Your_Path_To_Output \
110
114
  --seqfolder /Your_Path_To_Candidates
111
115
 
116
+ # --name: the same as that in offtracker_candidates.py
117
+ # --exp/--control: add one or multiple patterns of file name in regex
118
+
119
+
112
120
  # This step will generate Trackseq_result_{outname}.csv
113
121
  # Intermediate files are saved in ./temp folder, which can be deleted
114
122
  # Keeping the intermediate files can make the analysis faster if involving previously analyzed samples (e.g. using the same control samples for different analyses)
@@ -14,7 +14,7 @@ Dependency
14
14
  ```bash
15
15
  # We recommend creating a new enviroment using mamba/conda to avoid compatibility problems
16
16
  # If you don't use mamba, just replace the code with conda
17
- mamba create -n offtracker -c bioconda blast snakemake
17
+ mamba create -n offtracker -c bioconda blast snakemake pybedtools
18
18
  ```
19
19
 
20
20
 
@@ -25,10 +25,11 @@ Installation
25
25
  # activate the environment
26
26
  conda activate offtracker
27
27
 
28
- # Download the offtracker from github:
29
- git clone https://github.com/Lan-lab/offtracker.git
28
+ # Direct installation with pip
29
+ pip install offtracker
30
30
 
31
- # install
31
+ # (Alternative) Download the offtracker from github
32
+ git clone https://github.com/Lan-lab/offtracker.git
32
33
  cd offtracker
33
34
  pip install .
34
35
  ```
@@ -66,8 +67,11 @@ offtracker_config.py -t 8 -g hg38 --blacklist hg38 \
66
67
  -r /Your_Path_To_Reference/hg38_genome.fa \
67
68
  -i /Your_Path_To_Reference/hg38_genome.chromap.index \
68
69
  -f /Your_Path_To_Fastq \
69
- -o /Your_Path_To_Output \ # Default is outputting to /Your_Path_To_Fastq
70
- --subfolder 0 # If different samples are in seperate folders, set this to 1
70
+ -o /Your_Path_To_Output \
71
+ --subfolder 0
72
+
73
+ # --subfolder: If different samples are in seperate folders, set this to 1
74
+ # -o: Default is outputting to /Your_Path_To_Fastq
71
75
 
72
76
  # Run the snakemake program
73
77
  cd /Your_Path_To_Fastq
@@ -90,13 +94,17 @@ Analyzing the off-target sites
90
94
  ```bash
91
95
  # In this part, multiple samples in the same condition can be analyzed in a single run by pattern recogonization of sample names
92
96
 
93
- offtracker_analysis.py -g hg38 --name "HEK4" \ # the same as that in offtracker_candidates.py
94
- --exp 'Cas9_HEK4.*293' \ # add one or multiple patterns of file name in regex
95
- --control 'control' \ # add one or multiple patterns of file name in regex
97
+ offtracker_analysis.py -g hg38 --name "HEK4" \
98
+ --exp 'Cas9_HEK4.*293' \
99
+ --control 'control' \
96
100
  --outname 'Cas9_HEK4_293' \
97
101
  -f /Your_Path_To_Output \
98
102
  --seqfolder /Your_Path_To_Candidates
99
103
 
104
+ # --name: the same as that in offtracker_candidates.py
105
+ # --exp/--control: add one or multiple patterns of file name in regex
106
+
107
+
100
108
  # This step will generate Trackseq_result_{outname}.csv
101
109
  # Intermediate files are saved in ./temp folder, which can be deleted
102
110
  # Keeping the intermediate files can make the analysis faster if involving previously analyzed samples (e.g. using the same control samples for different analyses)
@@ -0,0 +1 @@
1
+ __version__ = "1.0.2"
@@ -11,7 +11,6 @@ name2 = nametype + '.' + suffix
11
11
 
12
12
  import os
13
13
 
14
- #所有的输出列表
15
14
 
16
15
  rule all:
17
16
  input:
@@ -174,20 +173,3 @@ rule bdg2bw_rv:
174
173
  shell:
175
174
  "{params.dir_script}/bedGraphToBigWig {input} {params.gl} {output}"
176
175
 
177
- #rule bwAdd:
178
- # input:
179
- # fw=os.path.join(output_dir,"{sample}.fw.scaled.bw"),
180
- # rv=os.path.join(output_dir,"{sample}.rv.scaled.bw")
181
- # threads:
182
- # _threads
183
- # output:
184
- # os.path.join(output_dir,"{sample}." + BinSize + ".add.bdg")
185
- # shell:
186
- # """
187
- # bigwigCompare --binSize {BinSize} -p {threads} --verbose -o {output} \
188
- # --outFileFormat bedgraph \
189
- # --bigwig1 {input.fw} \
190
- # --bigwig2 {input.rv} \
191
- # --operation add
192
- # """
193
-
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: offtracker
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: Track-seq data analysis
5
5
  Home-page: https://github.com/Lan-lab/offtracker
6
6
  Author: Runda Xu
@@ -26,7 +26,7 @@ Dependency
26
26
  ```bash
27
27
  # We recommend creating a new enviroment using mamba/conda to avoid compatibility problems
28
28
  # If you don't use mamba, just replace the code with conda
29
- mamba create -n offtracker -c bioconda blast snakemake
29
+ mamba create -n offtracker -c bioconda blast snakemake pybedtools
30
30
  ```
31
31
 
32
32
 
@@ -37,10 +37,11 @@ Installation
37
37
  # activate the environment
38
38
  conda activate offtracker
39
39
 
40
- # Download the offtracker from github:
41
- git clone https://github.com/Lan-lab/offtracker.git
40
+ # Direct installation with pip
41
+ pip install offtracker
42
42
 
43
- # install
43
+ # (Alternative) Download the offtracker from github
44
+ git clone https://github.com/Lan-lab/offtracker.git
44
45
  cd offtracker
45
46
  pip install .
46
47
  ```
@@ -78,8 +79,11 @@ offtracker_config.py -t 8 -g hg38 --blacklist hg38 \
78
79
  -r /Your_Path_To_Reference/hg38_genome.fa \
79
80
  -i /Your_Path_To_Reference/hg38_genome.chromap.index \
80
81
  -f /Your_Path_To_Fastq \
81
- -o /Your_Path_To_Output \ # Default is outputting to /Your_Path_To_Fastq
82
- --subfolder 0 # If different samples are in seperate folders, set this to 1
82
+ -o /Your_Path_To_Output \
83
+ --subfolder 0
84
+
85
+ # --subfolder: If different samples are in seperate folders, set this to 1
86
+ # -o: Default is outputting to /Your_Path_To_Fastq
83
87
 
84
88
  # Run the snakemake program
85
89
  cd /Your_Path_To_Fastq
@@ -102,13 +106,17 @@ Analyzing the off-target sites
102
106
  ```bash
103
107
  # In this part, multiple samples in the same condition can be analyzed in a single run by pattern recogonization of sample names
104
108
 
105
- offtracker_analysis.py -g hg38 --name "HEK4" \ # the same as that in offtracker_candidates.py
106
- --exp 'Cas9_HEK4.*293' \ # add one or multiple patterns of file name in regex
107
- --control 'control' \ # add one or multiple patterns of file name in regex
109
+ offtracker_analysis.py -g hg38 --name "HEK4" \
110
+ --exp 'Cas9_HEK4.*293' \
111
+ --control 'control' \
108
112
  --outname 'Cas9_HEK4_293' \
109
113
  -f /Your_Path_To_Output \
110
114
  --seqfolder /Your_Path_To_Candidates
111
115
 
116
+ # --name: the same as that in offtracker_candidates.py
117
+ # --exp/--control: add one or multiple patterns of file name in regex
118
+
119
+
112
120
  # This step will generate Trackseq_result_{outname}.csv
113
121
  # Intermediate files are saved in ./temp folder, which can be deleted
114
122
  # Keeping the intermediate files can make the analysis faster if involving previously analyzed samples (e.g. using the same control samples for different analyses)
@@ -1 +0,0 @@
1
- __version__ = "1.0.0"
File without changes
File without changes
File without changes
File without changes