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

Bump woodstox-core from 5.0.3 to 5.4.0 in /share/script/jar/META-INF/maven/org.apache.logging.log4j/log4j-core #9

Open
wants to merge 651 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
651 commits
Select commit Hold shift + click to select a range
46d2436
update
YichaoOU Nov 25, 2020
02209f1
update
YichaoOU Nov 30, 2020
23b7051
update
YichaoOU Dec 5, 2020
006e17a
update
YichaoOU Dec 5, 2020
4c0be64
update
YichaoOU Dec 6, 2020
7ddf699
update
YichaoOU Dec 9, 2020
504bfdf
update
YichaoOU Dec 17, 2020
57f00e6
update
YichaoOU Dec 17, 2020
54bc489
update
YichaoOU Jan 21, 2021
7d23a60
update
YichaoOU Jan 22, 2021
7251fd4
update
YichaoOU Jan 23, 2021
0ae8568
update
YichaoOU Jan 23, 2021
7b8ae7d
update
YichaoOU Jan 23, 2021
d5985c5
update
YichaoOU Jan 23, 2021
758404a
update
YichaoOU Jan 23, 2021
32c3f1d
update
YichaoOU Jan 23, 2021
c010b28
update
YichaoOU Jan 24, 2021
8fc74ec
update
YichaoOU Jan 25, 2021
9bd97e5
update
YichaoOU Jan 25, 2021
a9d7c68
update
YichaoOU Jan 25, 2021
ee2e69e
update
YichaoOU Jan 25, 2021
2e0abbb
update
YichaoOU Jan 25, 2021
514a070
update
YichaoOU Jan 25, 2021
daa18f2
update
YichaoOU Jan 26, 2021
f5dfd05
update
YichaoOU Jan 26, 2021
002da11
update
YichaoOU Jan 26, 2021
6a027ab
update
YichaoOU Jan 27, 2021
a6acfaa
update
YichaoOU Jan 27, 2021
1a0110b
update
YichaoOU Jan 29, 2021
7279f6f
update
YichaoOU Feb 2, 2021
07faefd
update
YichaoOU Feb 4, 2021
64c321e
update
YichaoOU Feb 9, 2021
0507c2a
update
YichaoOU Feb 10, 2021
9baf9f7
update
YichaoOU Feb 12, 2021
09c917a
update
YichaoOU Feb 12, 2021
1c98f9b
update
YichaoOU Feb 17, 2021
272a734
update
YichaoOU Feb 17, 2021
9b6016e
update
YichaoOU Feb 18, 2021
2b12b97
update
YichaoOU Feb 18, 2021
6d94fe8
update
YichaoOU Feb 18, 2021
f58ba6d
update
YichaoOU Feb 18, 2021
e748f75
update
YichaoOU Feb 18, 2021
9a2369b
update
YichaoOU Feb 18, 2021
67226ae
update
YichaoOU Feb 18, 2021
657249d
update
YichaoOU Feb 28, 2021
957b091
update
YichaoOU Feb 28, 2021
317986c
update
YichaoOU Mar 18, 2021
c74f3f4
update
YichaoOU Mar 23, 2021
a442927
update
YichaoOU Mar 23, 2021
03d4e5a
update
YichaoOU Apr 6, 2021
710f254
update
YichaoOU Apr 7, 2021
1a04307
update
YichaoOU Apr 7, 2021
d9a31c2
update
YichaoOU Apr 8, 2021
77417d8
update
YichaoOU Apr 9, 2021
03b9a72
update
YichaoOU Apr 9, 2021
4710e6a
update
YichaoOU Apr 9, 2021
c32e10a
update
YichaoOU Apr 14, 2021
a85fc7f
update
YichaoOU Apr 14, 2021
aabe346
update
YichaoOU Apr 14, 2021
a4c80dc
update
YichaoOU Apr 19, 2021
bf7a04f
update
YichaoOU Apr 19, 2021
01e2255
update
YichaoOU Apr 22, 2021
77b809c
update
Apr 26, 2021
99f02ed
update
Apr 30, 2021
cb7eda3
update
Apr 30, 2021
d47580e
update
May 4, 2021
82b9151
update
May 4, 2021
96078d3
update
May 4, 2021
73677b3
update
May 9, 2021
cc2d2ec
update
May 9, 2021
544fc8b
update
May 12, 2021
60f2a46
update
May 12, 2021
e97ba99
update
May 12, 2021
8cc54ca
Update Readme.md
YichaoOU May 24, 2021
4cd785f
add_standalone_scripts
May 24, 2021
94f9ed0
Bump junit in /share/script/jar/META-INF/maven/net.sf.jsi/jsi
dependabot[bot] May 24, 2021
87bf907
Bump junit in /share/script/jar/META-INF/maven/org.jcuda/jcuda
dependabot[bot] May 24, 2021
e5360d1
Bump junit
dependabot[bot] May 24, 2021
ee1d866
update
May 25, 2021
b5f33aa
update
YichaoOU May 28, 2021
70e88ad
update
YichaoOU May 28, 2021
72c9054
update
YichaoOU May 28, 2021
d1c1543
update
Jun 3, 2021
915a5e8
Bump logback-core in /share/script/jar/META-INF/maven/net.sf.jsi/jsi
dependabot[bot] Jun 7, 2021
323d003
Bump logback-classic in /share/script/jar/META-INF/maven/net.sf.jsi/jsi
dependabot[bot] Jun 7, 2021
5f4d804
update
Jun 15, 2021
d0bef1a
update
Jun 16, 2021
0755afc
update
Jun 21, 2021
1a09e26
update
Jun 22, 2021
93e556a
update
Jun 25, 2021
5b60f11
update
Jun 25, 2021
6a61270
update
Jun 25, 2021
1d9b2c1
update
Jun 29, 2021
bd62047
Merge pull request #5 from YichaoOU/dependabot/maven/share/script/jar…
YichaoOU Jul 9, 2021
ca200ef
Merge pull request #4 from YichaoOU/dependabot/maven/share/script/jar…
YichaoOU Jul 9, 2021
79e4386
Merge pull request #3 from YichaoOU/dependabot/maven/share/script/jar…
YichaoOU Jul 9, 2021
28540c7
Merge pull request #2 from YichaoOU/dependabot/maven/share/script/jar…
YichaoOU Jul 9, 2021
acb9791
Merge pull request #1 from YichaoOU/dependabot/maven/share/script/jar…
YichaoOU Jul 9, 2021
907f118
update
Jul 13, 2021
af49de7
Merge branch 'master' of https://github.com/YichaoOU/HemTools
Jul 13, 2021
95e090f
update
Jul 21, 2021
8d9b561
update
Jul 21, 2021
f820322
update
Jul 22, 2021
171f497
update
Jul 23, 2021
1529fd3
update
Jul 26, 2021
cdebd3e
update
Aug 2, 2021
57b7447
update
Aug 3, 2021
8fbdb65
update
Aug 4, 2021
5e73df6
update
Aug 5, 2021
b874c06
update
Aug 5, 2021
1a4415b
update
Aug 5, 2021
2cdbbc9
update
Aug 5, 2021
bbff6fb
update
Aug 6, 2021
57cb130
update
Aug 6, 2021
97c1164
update
Aug 9, 2021
25d1435
update
Aug 9, 2021
45b7572
update
Aug 10, 2021
c95226d
update
Aug 10, 2021
72dbf26
update
Aug 10, 2021
9cb9e52
update
Aug 12, 2021
d7a79e8
update
Aug 12, 2021
ab5cb81
update
Aug 13, 2021
8b57246
update
Aug 13, 2021
44b1330
update
Aug 13, 2021
1f8630d
update
Aug 13, 2021
6e93c8c
update
Aug 13, 2021
a3a903e
update
Aug 13, 2021
ba89664
update
Aug 13, 2021
951df9c
update
Aug 13, 2021
d521a3e
update
Aug 13, 2021
4c7cdda
update
Aug 13, 2021
2fc8676
update
Aug 13, 2021
bcf4870
update
Aug 13, 2021
a00fd68
update
Aug 13, 2021
f9bc45f
update
Aug 13, 2021
b313068
update
Aug 13, 2021
80cb477
update
Aug 13, 2021
51c98f2
update
Aug 13, 2021
eb6263d
update
Aug 16, 2021
6636fc0
update
Aug 16, 2021
9f762dd
update
Aug 16, 2021
fbce101
update
Aug 16, 2021
ec79a1e
update
Aug 16, 2021
7148f16
update
Aug 17, 2021
5c01e60
update
Aug 17, 2021
aa8daa9
update
Aug 19, 2021
10cc6e6
update
Aug 19, 2021
139b033
update
Aug 19, 2021
e3b87a8
update
Aug 23, 2021
105f9db
update
Aug 25, 2021
05a23bf
update
Aug 27, 2021
e242087
update
Aug 27, 2021
84f7071
update
Aug 27, 2021
ba5ddc8
update
Aug 27, 2021
92514f4
update
Aug 30, 2021
b2803d9
update
Aug 30, 2021
9f2239e
update
Aug 30, 2021
ac6b758
update
Aug 31, 2021
4eeb329
update
Aug 31, 2021
bb2ed13
update
Sep 7, 2021
7cf9dcd
update
Sep 13, 2021
68dff68
update
Sep 13, 2021
e4e90fc
update
Sep 14, 2021
fea68ea
update
Sep 15, 2021
0bdd5ca
update
Sep 20, 2021
02ef9c8
update
Sep 25, 2021
6815fe4
update
Oct 1, 2021
d5d52cb
update
Oct 1, 2021
a60a817
update
Oct 1, 2021
274b7e9
update
Oct 1, 2021
53bc9fb
update
Oct 4, 2021
6dfc16a
update
Oct 4, 2021
f299f8b
update
Oct 13, 2021
d52701c
update
Oct 19, 2021
19828d0
update
Oct 27, 2021
d81a636
update
Oct 27, 2021
3354129
update
Oct 27, 2021
9725253
update
Oct 27, 2021
d9579e5
update
Oct 27, 2021
46ca44c
update
Oct 27, 2021
e0605c3
update
Oct 29, 2021
eb143c0
update
Nov 15, 2021
06aec2c
update
Nov 17, 2021
ef08cd2
update
Jan 4, 2022
3f37d21
update
Jan 4, 2022
541f559
update
Jan 4, 2022
fe68d63
update
Jan 11, 2022
df8eac0
update
Feb 1, 2022
a7781b9
update
Feb 8, 2022
5fbbaf1
update
Feb 9, 2022
74b2207
update
Feb 17, 2022
f7f16f6
update
Feb 24, 2022
864c6aa
update
Feb 24, 2022
9877009
update
Mar 8, 2022
13d518a
update
Mar 14, 2022
9a8b95c
update
Mar 24, 2022
3f76e12
update
Apr 6, 2022
b3f4484
update
Apr 14, 2022
c35a055
update
Apr 20, 2022
c56af77
update
Apr 25, 2022
f7de1aa
update
May 3, 2022
7358fad
update
May 3, 2022
3fc62a5
update
May 5, 2022
e168a9f
update
May 6, 2022
d082176
update
May 9, 2022
a207d98
update
May 13, 2022
b86d889
update
May 13, 2022
5bfb501
update
May 13, 2022
81cc10a
update
May 18, 2022
216fb72
update
May 23, 2022
da9e559
update
Jun 6, 2022
e30803b
update
Jun 7, 2022
c0e24b9
update
Jun 9, 2022
2c22bc9
update
Jun 10, 2022
9dc12a4
update
Jun 29, 2022
abdff0c
update
Jun 29, 2022
63d56e2
update
Jul 6, 2022
a479934
update
Jul 6, 2022
b955289
update
Jul 7, 2022
c833ce0
update
Jul 13, 2022
252b5b4
update
Jul 21, 2022
6f2573d
update
Jul 21, 2022
bcb102c
update
Jul 21, 2022
974147f
update
Jul 23, 2022
303454d
update
Jul 23, 2022
135f688
update
Jul 29, 2022
54849cf
update
Jul 29, 2022
efb7aba
update
Jul 29, 2022
81b06ac
update
Aug 1, 2022
d80d008
update
Aug 2, 2022
47a4499
update
Aug 3, 2022
ff9fc04
update
Aug 3, 2022
f3f68f5
update
Aug 4, 2022
3cdffd9
update
Aug 11, 2022
ed49100
update
Aug 15, 2022
9eae849
update
Aug 16, 2022
eff9f70
update
Aug 23, 2022
5c0e0dd
update
Aug 29, 2022
15b010b
update
Sep 2, 2022
79a34d6
update
Sep 7, 2022
3b91608
update
Sep 13, 2022
a8315cb
update
Sep 15, 2022
eae2fe1
update
Sep 28, 2022
c319952
update
Sep 28, 2022
f07dea3
update
Oct 5, 2022
3b35482
update
Oct 6, 2022
83b574d
update
Oct 11, 2022
385f690
update
Oct 11, 2022
f4fd70b
update
Oct 14, 2022
555083a
Bump woodstox-core
dependabot[bot] Oct 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file added .DS_Store
Binary file not shown.
Binary file modified HemTools Tutorial.pptx
100644 → 100755
Binary file not shown.
Binary file added HemTools design.pptx
Binary file not shown.
3 changes: 3 additions & 0 deletions Readme.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[![DOI](https://zenodo.org/badge/179099583.svg)](https://zenodo.org/badge/latestdoi/179099583)


# HemTools: a collection of NGS pipelines and bioinformatic analyses

The code here is tailored specifically for HPCF at Stjude. It may not work directly outside Stjude.
Expand Down
76 changes: 76 additions & 0 deletions bin/0101_clean.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
#!/usr/bin/env python

import pandas as pd
import sys
import os
import argparse


def my_args():
mainParser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
mainParser.add_argument('-o',"--output", help="output file", default="my_table.json")

# group.add_argument('--outward', help="get outward reads", action='store_true')
# group.add_argument('--inward', help="get inward reads", action='store_true')
group = mainParser.add_mutually_exclusive_group(required=True)
group.add_argument('-p','--pipeline_name', help="which pipeline to run, e.g., atac_seq")
group.add_argument("--list_pipelines", help="list all available pipelines",action='store_true')
group.add_argument("--guess_input", help="Let the program generate the input files for you.",action='store_true')
group.add_argument("--user_lsf", help="user defined lsf file")


mainParser.add_argument('-f',"--input", help="tab delimited any number of columns (tsv file), the last column is output prefix. For example, a paired-end fastq input could be: Read 1 fastq, Read 2 fastq, sample ID")
mainParser.add_argument('-q',"--queue", help="submit queue",default="standard")


mainParser.add_argument('-f2',"--input2", help="for jobs with dependencies. tab delimited any number of columns (tsv file), the last column is output prefix. For example, a paired-end fastq input could be: Read 1 fastq, Read 2 fastq, sample ID")


# mainParser.add_argument("--single", help="default is paired-end data, specify this parameter if you have single-end data",action='store_true')
mainParser.add_argument("--csv", help="convert tsv to csv when doing guess_input",action='store_true')
mainParser.add_argument("--email", help="send user the fastq.tsv file",action='store_true')

genome=mainParser.add_argument_group(title='Genome Info')
genome.add_argument('-g','--genome', help="genome version: hg19, hg38, mm9, mm10. By default, specifying a genome version will automatically update index file, black list, chrom size and effectiveGenomeSize, unless a user explicitly sets those options.", default='hg19',type=str)
genome.add_argument('-i','--index_file', help="BWA index file", default=myData['hg19_BWA_index'])
genome.add_argument('-b','--black_list', help="Blacklist file", default=myData['hg19_black_list'])
genome.add_argument('-s','--chrom_size', help="chrome size", default=myData['hg19_chrom_size'])
genome.add_argument('-e','--effectiveGenomeSize', help="effectiveGenomeSize for bamCoverage", default=myPars['hg19_effectiveGenomeSize'])
mainParser.add_argument('--interactive', help="run pipeline interatively", action='store_true')

mainParser.add_argument('-s',"--sample_list", help="table rows, a list of samples, these are supposed to be folder names, one column",required=True)
mainParser.add_argument('-f','--feature_list', help="table columns, map file name to specific feature name",required=True)
# mainParser.add_argument('--softlinks', help=argparse.SUPPRESS,default="")
# mainParser.add_argument('--treatment_bam', help=argparse.SUPPRESS)
# mainParser.add_argument('--port', help=argparse.SUPPRESS)

##------- add parameters above ---------------------
args = mainParser.parse_args()
return args

def main():

args = my_args()



if __name__ == "__main__":
main()


















96 changes: 96 additions & 0 deletions bin/AB_compartment.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
#!/hpcf/apps/python/install/2.7.13/bin/python
import sys
import os
p_dir = os.path.dirname(os.path.realpath(__file__)) + "/"
sys.path.append(os.path.abspath(p_dir+"../utils/"))
from utils import *
import multiprocessing
import time



"""
Every python wrapper is supposed to be similar, since they are using the same convention.

The only thing need to be changed is the guess_input function and the argparser function.

look for ## CHANGE THE FUNCTION HERE FOR DIFFERENT WRAPPER

variable inherents from utils:
myData
myPars
myPipelines
"""
current_file_base_name = __file__.split("/")[-1].split(".")[0]
def my_args():
mainParser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
mainParser.add_argument('-j',"--jid", help="enter a job ID, which is used to make a new directory. Every output will be moved into this folder.", default=current_file_base_name+'_'+username+"_"+str(datetime.date.today()))


mainParser.add_argument('-f','--h5_list', help="two columns tsv") # hicpro input data
mainParser.add_argument('--queue', default="priority")
mainParser.add_argument('--interactive', help="run pipeline interatively", action='store_true')


##------- add parameters above ---------------------
args = mainParser.parse_args()
return args


def main():

args = my_args()
##------- check if jid exist ----------------------
if isdir(args.jid):
addon_string = str(uuid.uuid4()).split("-")[-1]
logging.warning ("The input job id is not available!")
args.jid = args.jid+"_"+addon_string
logging.info ("The new job id is: "+args.jid)
else:
logging.info ("The job id is: "+args.jid)

##------- add functions below ----------------------
os.system("mkdir -p %s"%(args.jid))
os.system("mkdir -p %s/log_files"%(args.jid))


#-------------- run jobs ----------------------


pipeline_name = current_file_base_name

if args.interactive:
run_interative_jobs(myPipelines[pipeline_name],args)
exit()


submit_pipeline_jobs(myPipelines[pipeline_name],args)


if __name__ == "__main__":
main()

























106 changes: 106 additions & 0 deletions bin/BaseSpaceRunDownloader_v2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
#!/usr/bin/env python
from urllib2 import Request, urlopen, URLError
import json
import math
import sys
import os
import socket
import optparse

"""
python BaseSpaceRunDownloader_v2.py -r 190257127 -a 4d645052b0be44009f7cd98bb9acf6cf

"""

def arg_parser():
cwd_dir = os.getcwd()
parser = optparse.OptionParser()
parser.add_option( '-r', dest='runid', help='Run ID: required')
parser.add_option( '-a', dest='accesstoken', help='Access Token: required')
( options, args ) = parser.parse_args()

try:
if options.runid == None:
raise Exception
if options.accesstoken == None:
raise Exception

except Exception:
print("Usage: BaseSpaceRunDownloader_vN.py -r <RunID> -a <AccessToken>")
sys.exit()

return options

def restrequest(rawrequest):
request = Request(rawrequest)

try:
response = urlopen(request)
json_string = response.read()
json_obj = json.loads(json_string)

except URLError, e:
print 'Got an error code:', e
sys.exit()

return json_obj

def downloadrestrequest(rawrequest,path):
dirname = RunID + os.sep + os.path.dirname(path)

if dirname != '':
if not os.path.isdir(dirname):
os.makedirs(dirname)

request = (rawrequest)

outfile = open(RunID + os.sep + path,'wb')

try:
response = urlopen(request,timeout=1)

outfile.write(response.read())
outfile.close()

except URLError, e:
print 'Got an error code:', e
outfile.close()
downloadrestrequest(rawrequest,path)


except socket.error:
print 'Got a socket error: retrying'
outfile.close()
downloadrestrequest(rawrequest,path)


options = arg_parser()

RunID = options.runid
AccessToken = options.accesstoken

request = 'http://api.basespace.illumina.com/v1pre3/runs/%s/files?access_token=%s' %(RunID,AccessToken)

json_obj = restrequest(request)
totalCount = json_obj['Response']['TotalCount']

noffsets = int(math.ceil(float(totalCount)/1000.0))

hreflist = []
pathlist = []
filenamelist = []
for index in range(noffsets):
offset = 1000*index
request = 'http://api.basespace.illumina.com/v1pre3/runs/%s/files?access_token=%s&limit=1000&Offset=%s' %(RunID,AccessToken,offset)
json_obj = restrequest(request)
nfiles = len(json_obj['Response']['Items'])
for fileindex in range(nfiles):
href = json_obj['Response']['Items'][fileindex]['Href']
hreflist.append(href)
path = json_obj['Response']['Items'][fileindex]['Path']
pathlist.append(path)

for index in range(len(hreflist)):
request = 'http://api.basespace.illumina.com/%s/content?access_token=%s'%(hreflist[index],AccessToken)
print 'downloading %s' %(pathlist[index])
downloadrestrequest(request, pathlist[index])
Loading