Next changeset 1:f85327600c11 (2020-12-29) |
Commit message:
"planemo upload for repository https://github.com/jaidevjoshi83/pdaug commit a9bd83f6a1afa6338cb6e4358b63ebff5bed155e" |
added:
PDAUG_AA_Property_Based_Peptide_Descriptor/PDAUG_AA_Property_Based_Peptide_Descriptor.py PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out1.tsv PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out2.tsv PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out3.tsv PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out4.tsv PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out5.tsv PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out5.tsvOLD PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out6.tsv PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/test.fasta PDAUG_AA_Property_Based_Peptide_Generation/PDAUG_AA_Property_Based_Peptide_Generation.py PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out1.fasta PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out2.fasta PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out3.fasta PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out4.fasta PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out5.fasta PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out6.fasta PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out7.fasta PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out8.fasta PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out9.fasta PDAUG_AddClassLabel/PDAUG_AddClassLabel.py PDAUG_AddClassLabel/test-data/new.tsv PDAUG_AddClassLabel/test-data/out.tsv PDAUG_Basic_Plots/PDAUG_Basic_Plots.py PDAUG_Basic_Plots/test-data/positive.fasta PDAUG_Basic_Plots/test-data/test1.tsv PDAUG_Basic_Plots/test-data/test1/report_dir/report.html PDAUG_Basic_Plots/test-data/test1/report_dir/report.html.re PDAUG_Basic_Plots/test-data/test2.tsv PDAUG_Basic_Plots/test-data/test2/report_dir/.re PDAUG_Basic_Plots/test-data/test2/report_dir/report.html PDAUG_Basic_Plots/test-data/test2/report_dir/report.html.re PDAUG_Basic_Plots/test-data/test3/report_dir/report.html PDAUG_Basic_Plots/test-data/test3/report_dir/report.html.re PDAUG_Basic_Plots/test-data/test4/report_dir/report.html.re PDAUG_Basic_Plots/test-data/test5/out.png PDAUG_Basic_Plots/test-data/test5/report_dir/Out.png PDAUG_Basic_Plots/test-data/test5/report_dir/report.html PDAUG_Fishers_Plot/PDAUG_Fishers_Plot.py PDAUG_Fishers_Plot/test-data/negative.fasta PDAUG_Fishers_Plot/test-data/out.png PDAUG_Fishers_Plot/test-data/positive.fasta PDAUG_ML_Models/PDAUG_ML_Models.py PDAUG_ML_Models/test-data/test.tsv PDAUG_ML_Models/test-data/test1/SVMC.tsv PDAUG_ML_Models/test-data/test1/report_dir/SVMC.html PDAUG_ML_Models/test-data/test1/report_dir/SVMC.tsv PDAUG_ML_Models/test-data/test2/.zip PDAUG_ML_Models/test-data/test2/GNBC.tsv PDAUG_ML_Models/test-data/test2/report_dir/GNBC.html PDAUG_ML_Models/test-data/test2/report_dir/GNBC.tsv PDAUG_ML_Models/test-data/test3/SGDC.tsv PDAUG_ML_Models/test-data/test3/report_dir/SGDC.html PDAUG_ML_Models/test-data/test4/DTC.tsv PDAUG_ML_Models/test-data/test4/report_dir/DTC.html PDAUG_ML_Models/test-data/test5/GBC.tsv PDAUG_ML_Models/test-data/test5/report_dir/GBC.html PDAUG_ML_Models/test-data/test6/RFC.tsv PDAUG_ML_Models/test-data/test6/report_dir/RFC.html PDAUG_ML_Models/test-data/test7/LRC.tsv PDAUG_ML_Models/test-data/test7/report_dir/LRC.html PDAUG_ML_Models/test-data/test8/KNC.tsv PDAUG_ML_Models/test-data/test8/report_dir/KNC.html PDAUG_ML_Models/test-data/test9/MLP.tsv PDAUG_ML_Models/test-data/test9/report_dir/MLP.html PDAUG_Merge_Dataframes/PDAUG_Merge_Dataframes.py PDAUG_Merge_Dataframes/test-data/.RData PDAUG_Merge_Dataframes/test-data/.Rhistory PDAUG_Merge_Dataframes/test-data/.ipynb_checkpoints/Blast_baseline_bacteriocin_paper-checkpoint.ipynb PDAUG_Merge_Dataframes/test-data/.ipynb_checkpoints/Untitled-checkpoint.ipynb PDAUG_Merge_Dataframes/test-data/.ipynb_checkpoints/Untitled1-checkpoint.ipynb PDAUG_Merge_Dataframes/test-data/1.tsv PDAUG_Merge_Dataframes/test-data/2.tsv PDAUG_Merge_Dataframes/test-data/3.tsv PDAUG_Merge_Dataframes/test-data/4.tsv PDAUG_Merge_Dataframes/test-data/5.tsv PDAUG_Merge_Dataframes/test-data/6.tsv PDAUG_Merge_Dataframes/test-data/out.tsv PDAUG_Peptide_CD_Spectral_Analysis/PDAUG_Peptide_CD_Spectral_Analysis.py PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro1/0.csv PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro1/1.csv PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro2/0.csv PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro2/1.csv PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro3/0.csv PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro3/1.csv PDAUG_Peptide_CD_Spectral_Analysis/test-data/Halicity.tsv PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF1/0.pdf PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF1/1.pdf PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF1/1_M.pdf PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF2/0.pdf PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF2/1.pdf PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF2/1_M.pdf PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF3/0.pdf PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF3/1.pdf PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF3/1_M.pdf PDAUG_Peptide_CD_Spectral_Analysis/test-data/Peptide1_T.csv PDAUG_Peptide_CD_Spectral_Analysis/test-data/Peptide2_W.csv PDAUG_Peptide_CD_Spectral_Analysis/test-data/calc_meanres_ellipticity.tsv PDAUG_Peptide_CD_Spectral_Analysis/test-data/calc_molar_ellipticity.tsv PDAUG_Peptide_CD_Spectral_Analysis/test-data/helicity.tsv PDAUG_Peptide_Core_Descriptors/PDAUG_Peptide_Core_Descriptors.py PDAUG_Peptide_Core_Descriptors/test-data/Out.tsv PDAUG_Peptide_Core_Descriptors/test-data/test.fasta PDAUG_Peptide_Core_Functions/PDAUG_Peptide_Core_Functions.py PDAUG_Peptide_Core_Functions/test-data/out1.fasta PDAUG_Peptide_Core_Functions/test-data/out2.fasta PDAUG_Peptide_Core_Functions/test-data/out3.fasta PDAUG_Peptide_Core_Functions/test-data/out4.fasta PDAUG_Peptide_Core_Functions/test-data/test1.fasta PDAUG_Peptide_Core_Functions/test-data/test2.fasta PDAUG_Peptide_Core_Functions/test-data/test3.fasta PDAUG_Peptide_Core_Functions/test-data/test4.fasta PDAUG_Peptide_Data_Access/PDAUG_Peptide_Data_Access.py PDAUG_Peptide_Data_Access/PDAUG_Peptide_Data_Access.xml PDAUG_Peptide_Data_Access/test-data/apd.tsv PDAUG_Peptide_Data_Access/test-data/camp.tsv PDAUG_Peptide_Data_Access/test-data/out.tsv PDAUG_Peptide_Data_Plotting/PDAUG_Peptide_Data_Plotting.py PDAUG_Peptide_Data_Plotting/test-data/out1.png PDAUG_Peptide_Data_Plotting/test-data/out2.png PDAUG_Peptide_Data_Plotting/test-data/out3.png PDAUG_Peptide_Data_Plotting/test-data/out4.png PDAUG_Peptide_Data_Plotting/test-data/test1.tsv PDAUG_Peptide_Data_Plotting/test-data/test2.fasta PDAUG_Peptide_Data_Plotting/test-data/test3.tsv PDAUG_Peptide_Data_Plotting/test-data/test4.fasta PDAUG_Peptide_Global_Descriptors/.tsv PDAUG_Peptide_Global_Descriptors/PDAUG_Peptide_Global_Descriptors.py PDAUG_Peptide_Global_Descriptors/test-data/out.tsv PDAUG_Peptide_Global_Descriptors/test-data/test.fasta PDAUG_Peptide_Length_Distribution/PDAUG_Peptide_Length_Distribution.py PDAUG_Peptide_Length_Distribution/test-data/out.png PDAUG_Peptide_Length_Distribution/test-data/positive.fasta PDAUG_Peptide_Ngrams/PDAUG_Peptide_Ngrams.py PDAUG_Peptide_Ngrams/test-data/out.png PDAUG_Peptide_Ngrams/test-data/test1.fasta PDAUG_Peptide_Ngrams/test-data/test2.fasta PDAUG_Peptide_Sequence_Analysis/PDAUG_Peptide_Sequence_Analysis.py PDAUG_Peptide_Sequence_Analysis/test-data/ACPs.fasta PDAUG_Peptide_Sequence_Analysis/test-data/non_ACPs.fasta PDAUG_Peptide_Sequence_Analysis/test-data/out1.tsv PDAUG_Peptide_Sequence_Analysis/test-data/test1.fasta PDAUG_Peptide_Sequence_Analysis/test-data/test1/out.tsv PDAUG_Peptide_Sequence_Analysis/test-data/test2.fasta PDAUG_Peptide_Sequence_Analysis/test-data/test2/out2.tsv PDAUG_Peptide_Sequence_Analysis/test-data/test3/out3.tsv PDAUG_Peptide_Sequence_Analysis/test-data/test4/report_dir/report.html.re PDAUG_Peptide_Sequence_Analysis/test-data/test5/out5.tsv PDAUG_Peptide_Sequence_Analysis/test-data/test6/out.tsv PDAUG_Peptide_Structure_Builder/PDAUG_Peptide_Structure_Builder.py PDAUG_Peptide_Structure_Builder/test-data/DataFile/GLF.pdb PDAUG_Peptide_Structure_Builder/test-data/test.fasta PDAUG_Sequence_Based_Peptide_Generation/PDAUG_Sequence_Based_Peptide_Generation.py PDAUG_Sequence_Based_Peptide_Generation/test-data/out1.fasta PDAUG_Sequence_Based_Peptide_Generation/test-data/out2.fasta PDAUG_Sequence_Based_Peptide_Generation/test-data/out3.fasta PDAUG_Sequence_Based_Peptide_Generation/test-data/test1.fasta PDAUG_Sequence_Network/PDAUG_Sequence_Network.py PDAUG_Sequence_Network/test-data/out.png PDAUG_Sequence_Network/test-data/positive.fasta PDAUG_Sequence_Property_Based_Descriptors/Out.tsv PDAUG_Sequence_Property_Based_Descriptors/PDAUG_Sequence_Property_Based_Descriptors.py PDAUG_Sequence_Property_Based_Descriptors/test-data/Out.tsv PDAUG_Sequence_Property_Based_Descriptors/test-data/Out1.tsv PDAUG_Sequence_Property_Based_Descriptors/test-data/positive.fasta PDAUG_TSVtoFASTA/PDAUG_TSVtoFASTA.py PDAUG_TSVtoFASTA/test-data/test1.tsv PDAUG_TSVtoFASTA/test-data/test1/Negative.fasta PDAUG_TSVtoFASTA/test-data/test1/Positive.fasta PDAUG_TSVtoFASTA/test-data/test2.tsv PDAUG_TSVtoFASTA/test-data/test2/Out.fasta PDAUG_Uversky_Plot/PDAUG_Uversky_Plot.py PDAUG_Uversky_Plot/test-data/out.png PDAUG_Uversky_Plot/test-data/test1.fasta PDAUG_Uversky_Plot/test-data/test2.fasta PDAUG_Word_Vector_Descriptor/PDAUG_Word_Vector_Descriptor.py PDAUG_Word_Vector_Descriptor/test-data/Out.tsv PDAUG_Word_Vector_Descriptor/test-data/model.txt PDAUG_Word_Vector_Descriptor/test-data/test.fasta PDAUG_Word_Vector_Model/PDAUG_Word_Vector_Model.py PDAUG_Word_Vector_Model/test-data/model.txt PDAUG_Word_Vector_Model/test-data/test.fasta license.txt readme.txt |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Descriptor/PDAUG_AA_Property_Based_Peptide_Descriptor.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Descriptor/PDAUG_AA_Property_Based_Peptide_Descriptor.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,154 @@ +from modlamp.descriptors import * +import pandas as pd +import os + + + +def PepFasta(InFile): + file = open(InFile) + lines = file.readlines() + + Index = [] + Peptides = [] + + for line in lines: + if '>' in line: + Index.append(line.strip('\n')) + else: + Peptides.append(line.strip('\n')) + + return Peptides, Index + + +def AutoCorrCal(InFile, window, ScaleName, OutFile): + + list_pep_name,_ = PepFasta(InFile) + + AMP = PeptideDescriptor(list_pep_name, ScaleName) + AMP.calculate_autocorr(int(window)) + df = AMP.descriptor + + columns = ["CroAut_"+str(i) for i in range(len(df[0]))] + df = pd.DataFrame(df, columns=columns) + df.to_csv(OutFile, index=False,sep='\t') + +def CrossCorrCal(InFile, window, ScaleName, OutFile): + + list_pep_name,_ = PepFasta(InFile) + + AMP = PeptideDescriptor(list_pep_name, ScaleName) + AMP.calculate_crosscorr(int(window)) + df = AMP.descriptor + + columns = ["CroCor_"+str(i) for i in range(len(df[0]))] + df = pd.DataFrame(df, columns=columns) + df.to_csv(OutFile, index=False,sep='\t') + +def CalculateMovementCal(InFile, window, angle, modality, ScaleName, OutFile): + + + list_pep_name,_ = PepFasta(InFile) + + AMP = PeptideDescriptor(list_pep_name, ScaleName) + AMP.calculate_moment(int(window), int(angle), modality) + df = AMP.descriptor + + df = pd.DataFrame(df, columns=['Movement']) + df.to_csv(OutFile, index=False,sep='\t') + +def CalculateGlobalCal(InFile, WindowSize, modality, ScaleName, OutFile): + + list_pep_name,_ = PepFasta(InFile) + + AMP = PeptideDescriptor(list_pep_name, ScaleName) + AMP.calculate_global(int(WindowSize), modality) + df = AMP.descriptor + + df = pd.DataFrame(df, columns=['Global']) + df.to_csv(OutFile, index=False, sep='\t') + +def CalculateProfileCal(InFile, prof_type, WindowSize, ScaleName, OutFile): + + list_pep_name,_ = PepFasta(InFile) + + AMP = PeptideDescriptor(list_pep_name, ScaleName) + AMP.calculate_profile(prof_type, int(WindowSize)) + df = AMP.descriptor + + df = pd.DataFrame(df, columns=['hyPhoPro','hyPhoMov']) + df.to_csv(OutFile, index=False, sep='\t') + +def CalculateArcCal(InFile, modality, OutFile): + + list_pep_name,_ = PepFasta(InFile) + + AMP = PeptideDescriptor(list_pep_name, scalename="peparc") + AMP.calculate_arc(modality) + df = AMP.descriptor + + columns = ["Arc_"+str(i) for i in range(len(df[0]))] + df = pd.DataFrame(df, columns=columns) + df.to_csv(OutFile, index=False, sep='\t') + +if __name__=="__main__": + + import argparse + + parser = argparse.ArgumentParser(description='Deployment tool') + subparsers = parser.add_subparsers() + + Aut = subparsers.add_parser('AutoCorrCal') + Aut.add_argument("-i","--InFile", required=True, default=None, help="") + Aut.add_argument("-w","--WindowSize", required=False, default=7, help="") + Aut.add_argument("-s","--ScaleName", required=False, default="Eisenberg", help="") + Aut.add_argument("-o","--OutFile", required=False, default="Descriptor.tsv", help="") + + Cro = subparsers.add_parser('CrossCorrCal') + Cro.add_argument("-i","--InFile", required=True, default=None, help="") + Cro.add_argument("-w","--WindowSize", required=False, default=7, help="") + Cro.add_argument("-s","--ScaleName", required=False, default="Eisenberg", help="") + Cro.add_argument("-o","--OutFile", required=False, default="Descriptor.tsv", help="") + + Mov = subparsers.add_parser('CalculateMovement') + Mov.add_argument("-i","--InFile", required=True, default=None, help="") + Mov.add_argument("-w","--WindowSize", required=False, default=1000, help="") + Mov.add_argument("-a","--Angle", required=False, default=100, help="") + Mov.add_argument("-m","--Modality", required=False, default="max", help="") + Mov.add_argument("-s","--ScaleName", required=False, default="Eisenberg", help="") + Mov.add_argument("-o","--OutFile", required=False, default="Descriptor.tsv", help="") + + Glo = subparsers.add_parser('GlobalCal') + Glo.add_argument("-i","--InFile", required="", default="", help="") + Glo.add_argument("-w","--WindowSize", required=False, default=1000, help="") + Glo.add_argument("-m","--Modality", required=False, default="max", help="") + Glo.add_argument("-s","--ScaleName", required=False, default="Eisenberg", help="") + Glo.add_argument("-o","--OutFile", required=False, default="Descriptor.tsv", help="") + + Pro = subparsers.add_parser('ProfileCal') + Pro.add_argument("-i","--InFile", required=True, default=None, help="") + Pro.add_argument("-p","--ProfType", required=False, default="text", help="") + Pro.add_argument("-w","--WindowSize", required=False, default=7, help="") + Pro.add_argument("-s","--ScaleName", required=False, default="Eisenberg", help="") + Pro.add_argument("-o","--OutFile", required=False, default="Descriptor.tsv", help="") + + Arc = subparsers.add_parser('ArcCal') + Arc.add_argument("-i","--InFile", required=True, default=None, help="") + Arc.add_argument("-m","--Modality", required=False, default="max", help="") + Arc.add_argument("-o","--OutFile", required=False, default="Descriptor.tsv", help="") + + args = parser.parse_args() + + if sys.argv[1] == 'AutoCorrCal': + AutoCorrCal(args.InFile, args.WindowSize, args.ScaleName, args.OutFile) + elif sys.argv[1] == 'CrossCorrCal': + CrossCorrCal(args.InFile, args.WindowSize, args.ScaleName, args.OutFile) + elif sys.argv[1] == 'CalculateMovement': + CalculateMovementCal(args.InFile, args.WindowSize, args.Angle, args.Modality, args.ScaleName, args.OutFile) + elif sys.argv[1] == 'GlobalCal': + CalculateGlobalCal(args.InFile, args.WindowSize, args.Modality, args.ScaleName, args.OutFile) + elif sys.argv[1] == 'ProfileCal': + CalculateProfileCal(args.InFile, args.ProfType, args.WindowSize, args.ScaleName, args.OutFile) + elif sys.argv[1] == 'ArcCal': + CalculateArcCal(args.InFile, args.Modality, args.OutFile) + else: + print ("You entered Wrong Values: ") \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out1.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out1.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,139 @@\n+CroAut_0\tCroAut_1\tCroAut_2\tCroAut_3\tCroAut_4\tCroAut_5\tCroAut_6\n+0.8795060606060603\t-0.08449999999999992\t-0.288858064516129\t0.042053333333333304\t0.4602827586206896\t-0.2472071428571427\t-0.22341481481481473\n+1.3072923076923075\t-0.01596666666666663\t-0.8552363636363634\t0.47940000000000016\t0.881111111111111\t-0.7545\t-0.6622857142857143\n+1.067375\t0.20328000000000002\t-0.32617142857142867\t0.2960615384615385\t0.4271333333333334\t-0.3241818181818182\t-0.23039999999999994\n+1.067375\t0.19728\t-0.3148857142857143\t0.2876000000000001\t0.4054666666666668\t-0.3241818181818182\t-0.20439999999999997\n+1.0655062499999999\t0.21097333333333335\t-0.3281428571428571\t0.24281538461538468\t0.46703333333333347\t-0.15281818181818183\t-0.22649999999999998\n+1.161125\t0.31423999999999996\t-0.18057142857142863\t0.28510769230769234\t0.3564666666666667\t-0.43916363636363637\t-0.24339999999999998\n+1.0977882352941173\t0.04930000000000001\t-0.29490666666666676\t0.18554285714285718\t0.658523076923077\t-0.31389999999999996\t-0.2557818181818183\n+1.134705882352941\t0.06775000000000002\t-0.4366666666666667\t0.26885714285714285\t0.657046153846154\t-0.292\t-0.4052363636363637\n+1.127741237113402\t-0.15122916666666672\t-0.0018694736842105749\t0.0048787234042553295\t0.05763333333333333\t-0.0038999999999999833\t-0.10195934065934066\n+0.3820692307692308\t-0.058033333333333326\t-0.005454545454545459\t-0.07862\t0.06544444444444447\t-0.160275\t-0.029714285714285717\n+1.9568399999999997\t-0.02258750000000002\t0.01406521739130443\t-0.018986363636363655\t-0.2288714285714286\t0.32322500000000004\t-0.2184315789473683\n+1.510758823529412\t-0.49684999999999996\t-0.3543333333333333\t0.448\t-0.4066923076923077\t-0.6197499999999999\t1.071090909090909\n+0.9799269230769231\t-0.057536000000000004\t-0.4542375\t0.18243478260869567\t0.26691818181818183\t-0.24609523809523814\t-0.24361999999999995\n+0.8490037037037036\t-0.050115384615384624\t-0.29912000000000005\t-0.14101666666666665\t0.46063478260869567\t-0.09202727272727276\t-0.06578095238095243\n+0.8335037037037037\t-0.08829230769230773\t-0.29777600000000004\t-0.02001666666666664\t0.43342608695652174\t-0.08835454545454548\t-0.11131428571428577\n+0.8942370370370369\t0.07759999999999997\t-0.16295999999999997\t0.05993333333333334\t0.5157391304347826\t0.10098181818181819\t-0.2394095238095238\n+0.9382333333333334\t-0.10223076923076922\t-0.30632000000000004\t-0.08289583333333332\t0.5684521739130435\t-0.060363636363636355\t-0.09812380952380947\n+0.9000624999999999\t0.1752869565217392\t0.16538181818181824\t0.20942380952380965\t0.69231\t0.21120000000000005\t0.0031388888888888846\n+1.5424153846153847\t-0.19912499999999997\t-0.8375272727272729\t0.082\t1.2625111111111111\t-0.21862499999999999\t-0.8468857142857142\n+1.4676028571428577\t-0.17619999999999994\t-0.41339393939393926\t0.46677500000000005\t0.21711612903225813\t-0.3798333333333335\t0.1072551724137932\n+1.1935923076923076\t-0.030315789473684192\t-0.4312054054054055\t0.2785972222222222\t0.22475714285714296\t-0.28865588235294115\t0.030763636363636326\n+1.268651351351351\t-0.17602499999999996\t-0.36551142857142843\t0.3631970588235294\t0.15118787878787884\t-0.30184374999999986\t0.1394258064516129\n+1.07070119047619\t0.0029481927710843375\t-0.04242682926829269\t0.16451604938271602\t-0.09436000000000007\t0.0848177215189873\t-0.041247435897435895\n+1.0061217391304347\t-0.00689090909090908\t-0.519847619047619\t0.34750000000000003\t0.3274526315789474\t-0.2984888888888888\t-0.2341411764705882\n+1.384726923076923\t0.6822879999999999\t0.40158333333333335\t0.5240260869565218\t0.27657272727272736\t-0.25318095238095234\t-0.270345\n+0.8908655172413792\t0.03222142857142858\t-0.30648888888888876\t-0.033376923076923075\t0.41872800000000004\t-0.13216666666666668\t-0.06907826086956516\n+1.2803099999999998\t0.13933793103448272\t0.09076071428571426\t-0.20384444444444447\t-0.4154423076923077\t-0.38409199999999977\t-0.25376666666666664\n+2.1052555555555554\t0.1436\t0.25185625\t-0.20522000000000004\t-0.3437071428571429\t0.1856076923076923\t0.9479416666666669\n+1.2939500000000002\t-0.1810461538461538\t-0.32946666666666663\t-0.14132727272727277\t0.009720000000000062\t-0.52128888888'..b'5538031249999998\t0.19567419354838714\t0.13947666666666655\t-0.010051724137931034\t-0.020057142857142864\t0.06804074074074072\t0.1191153846153846\n+0.6597321428571428\t0.20831111111111114\t0.21099230769230773\t0.08905999999999997\t0.026370833333333316\t0.04260869565217394\t0.09268636363636364\n+0.8055310344827585\t0.1853571428571428\t0.04282222222222224\t0.005623076923076902\t0.25551999999999997\t0.10817499999999998\t0.10491739130434782\n+0.6916965517241379\t0.2277535714285714\t-0.15200740740740742\t-0.08980384615384616\t0.17827199999999999\t0.22060833333333338\t0.10639565217391303\n+0.6458964285714285\t0.19743703703703705\t0.1922076923076923\t0.014923999999999944\t0.05652916666666665\t-0.012252173913043484\t0.0686227272727273\n+1.0690363636363638\t0.20934\t0.03146666666666666\t0.27912500000000007\t0.7560142857142856\t-0.2195\t-0.48144\n+1.4542363636363638\t-0.05268000000000002\t-0.5933333333333333\t0.22962500000000005\t0.9540142857142859\t-0.7288\t-0.9408\n+1.0590923076923078\t-0.139328\t-0.4341416666666666\t0.24690434782608686\t0.22152272727272726\t-0.35826666666666673\t-0.061304999999999985\n+1.1226000000000003\t-0.15142400000000003\t-0.5321416666666665\t0.30679999999999996\t0.29897727272727276\t-0.3726666666666668\t-0.08482500000000001\n+0.8329199999999997\t0.15755897435897437\t0.07511052631578947\t0.09225405405405408\t-0.06023888888888888\t-0.12407428571428579\t-0.12806764705882354\n+1.4647266666666667\t-0.2598857142857143\t-0.3800769230769231\t0.2925\t0.13481818181818186\t-0.39829999999999993\t0.8148888888888889\n+0.49351666666666677\t0.13596363636363637\t0.10891999999999998\t0.01993333333333332\t0.133775\t0.15094285714285713\t0.16076666666666667\n+0.129845\t0.07451052631578946\t0.0710388888888889\t0.07441764705882353\t0.050562499999999976\t0.06017999999999998\t0.055742857142857136\n+0.920029411764706\t0.041274999999999985\t0.07954666666666671\t0.14961428571428573\t0.2047076923076923\t0.03695000000000002\t-0.06036363636363635\n+0.8178000000000001\t0.05927058823529413\t0.15662500000000001\t0.16187333333333337\t-0.20607142857142854\t-0.25224615384615384\t0.006083333333333343\n+1.8590864864864862\t0.0027555555555555614\t-0.7741428571428571\t0.31445294117647055\t0.7878000000000002\t-0.39218124999999976\t-0.4180709677419357\n+1.0409791666666668\t0.07796521739130434\t-0.18481818181818177\t-0.05805714285714282\t0.37987999999999994\t-0.1498736842105263\t0.0861388888888889\n+1.5263636363636364\t-0.061238095238095216\t-0.8402\t0.5881052631578948\t0.6563111111111112\t-1.0070588235294116\t-0.48724999999999996\n+1.1685750000000001\t0.10039565217391304\t-0.3997363636363635\t0.42600952380952384\t0.4243000000000001\t-0.618757894736842\t-0.3966666666666666\n+1.0172181818181818\t-0.03363999999999997\t0.19977777777777775\t-0.469975\t-0.20248571428571424\t-0.041433333333333315\t0.27636\n+0.9188722222222222\t0.031976470588235294\t0.06727500000000003\t0.1801266666666667\t0.17723571428571436\t0.011676923076923088\t-0.008366666666666647\n+1.5785692307692307\t0.22101666666666664\t-0.15145454545454545\t0.09955000000000008\t0.43111111111111106\t-0.21622500000000003\t-0.1438\n+1.6062083333333332\t-1.0248181818181819\t0.5306000000000001\t-0.08611111111111115\t-0.6792499999999998\t0.8190285714285714\t-0.9763333333333333\n+1.6062083333333332\t-0.459\t0.857\t-0.4027777777777778\t-0.11000000000000004\t-0.2874\t-1.0063333333333333\n+1.6116333333333335\t-0.3885454545454545\t0.82972\t-0.3524888888888889\t-0.16425\t-0.35382857142857144\t-0.9443333333333332\n+0.5538250000000001\t0.1047\t0.2599600000000001\t0.07244444444444444\t0.071475\t-0.14634285714285716\t-0.05931666666666666\n+0.27895000000000003\t0.001181818181818183\t-0.027859999999999996\t-0.10537777777777778\t0.014075000000000004\t-0.036942857142857145\t-0.17416666666666666\n+1.5283692307692307\t0.25499999999999995\t0.005745454545454579\t0.10596000000000001\t-0.1986666666666666\t0.1962500000000002\t0.05685714285714288\n+0.7039176470588234\t0.107525\t0.24838000000000005\t-0.061171428571428585\t0.11996153846153847\t-0.09626666666666665\t-0.039700000000000006\n+1.2069733333333335\t-0.18214285714285716\t-0.14446153846153853\t-0.32607499999999995\t0.32081818181818184\t-0.14000000000000004\t0.2755111111111111\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out2.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out2.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,139 @@\n+CroCor_0\tCroCor_1\tCroCor_2\tCroCor_3\tCroCor_4\tCroCor_5\tCroCor_6\n+0.8795060606060603\t-0.08449999999999992\t-0.288858064516129\t0.042053333333333304\t0.4602827586206896\t-0.2472071428571427\t-0.22341481481481473\n+1.3072923076923075\t-0.01596666666666663\t-0.8552363636363634\t0.47940000000000016\t0.881111111111111\t-0.7545\t-0.6622857142857143\n+1.067375\t0.20328000000000002\t-0.32617142857142867\t0.2960615384615385\t0.4271333333333334\t-0.3241818181818182\t-0.23039999999999994\n+1.067375\t0.19728\t-0.3148857142857143\t0.2876000000000001\t0.4054666666666668\t-0.3241818181818182\t-0.20439999999999997\n+1.0655062499999999\t0.21097333333333335\t-0.3281428571428571\t0.24281538461538468\t0.46703333333333347\t-0.15281818181818183\t-0.22649999999999998\n+1.161125\t0.31423999999999996\t-0.18057142857142863\t0.28510769230769234\t0.3564666666666667\t-0.43916363636363637\t-0.24339999999999998\n+1.0977882352941173\t0.04930000000000001\t-0.29490666666666676\t0.18554285714285718\t0.658523076923077\t-0.31389999999999996\t-0.2557818181818183\n+1.134705882352941\t0.06775000000000002\t-0.4366666666666667\t0.26885714285714285\t0.657046153846154\t-0.292\t-0.4052363636363637\n+1.127741237113402\t-0.15122916666666672\t-0.0018694736842105749\t0.0048787234042553295\t0.05763333333333333\t-0.0038999999999999833\t-0.10195934065934066\n+0.3820692307692308\t-0.058033333333333326\t-0.005454545454545459\t-0.07862\t0.06544444444444447\t-0.160275\t-0.029714285714285717\n+1.9568399999999997\t-0.02258750000000002\t0.01406521739130443\t-0.018986363636363655\t-0.2288714285714286\t0.32322500000000004\t-0.2184315789473683\n+1.510758823529412\t-0.49684999999999996\t-0.3543333333333333\t0.448\t-0.4066923076923077\t-0.6197499999999999\t1.071090909090909\n+0.9799269230769231\t-0.057536000000000004\t-0.4542375\t0.18243478260869567\t0.26691818181818183\t-0.24609523809523814\t-0.24361999999999995\n+0.8490037037037036\t-0.050115384615384624\t-0.29912000000000005\t-0.14101666666666665\t0.46063478260869567\t-0.09202727272727276\t-0.06578095238095243\n+0.8335037037037037\t-0.08829230769230773\t-0.29777600000000004\t-0.02001666666666664\t0.43342608695652174\t-0.08835454545454548\t-0.11131428571428577\n+0.8942370370370369\t0.07759999999999997\t-0.16295999999999997\t0.05993333333333334\t0.5157391304347826\t0.10098181818181819\t-0.2394095238095238\n+0.9382333333333334\t-0.10223076923076922\t-0.30632000000000004\t-0.08289583333333332\t0.5684521739130435\t-0.060363636363636355\t-0.09812380952380947\n+0.9000624999999999\t0.1752869565217392\t0.16538181818181824\t0.20942380952380965\t0.69231\t0.21120000000000005\t0.0031388888888888846\n+1.5424153846153847\t-0.19912499999999997\t-0.8375272727272729\t0.082\t1.2625111111111111\t-0.21862499999999999\t-0.8468857142857142\n+1.4676028571428577\t-0.17619999999999994\t-0.41339393939393926\t0.46677500000000005\t0.21711612903225813\t-0.3798333333333335\t0.1072551724137932\n+1.1935923076923076\t-0.030315789473684192\t-0.4312054054054055\t0.2785972222222222\t0.22475714285714296\t-0.28865588235294115\t0.030763636363636326\n+1.268651351351351\t-0.17602499999999996\t-0.36551142857142843\t0.3631970588235294\t0.15118787878787884\t-0.30184374999999986\t0.1394258064516129\n+1.07070119047619\t0.0029481927710843375\t-0.04242682926829269\t0.16451604938271602\t-0.09436000000000007\t0.0848177215189873\t-0.041247435897435895\n+1.0061217391304347\t-0.00689090909090908\t-0.519847619047619\t0.34750000000000003\t0.3274526315789474\t-0.2984888888888888\t-0.2341411764705882\n+1.384726923076923\t0.6822879999999999\t0.40158333333333335\t0.5240260869565218\t0.27657272727272736\t-0.25318095238095234\t-0.270345\n+0.8908655172413792\t0.03222142857142858\t-0.30648888888888876\t-0.033376923076923075\t0.41872800000000004\t-0.13216666666666668\t-0.06907826086956516\n+1.2803099999999998\t0.13933793103448272\t0.09076071428571426\t-0.20384444444444447\t-0.4154423076923077\t-0.38409199999999977\t-0.25376666666666664\n+2.1052555555555554\t0.1436\t0.25185625\t-0.20522000000000004\t-0.3437071428571429\t0.1856076923076923\t0.9479416666666669\n+1.2939500000000002\t-0.1810461538461538\t-0.32946666666666663\t-0.14132727272727277\t0.009720000000000062\t-0.52128888888'..b'5538031249999998\t0.19567419354838714\t0.13947666666666655\t-0.010051724137931034\t-0.020057142857142864\t0.06804074074074072\t0.1191153846153846\n+0.6597321428571428\t0.20831111111111114\t0.21099230769230773\t0.08905999999999997\t0.026370833333333316\t0.04260869565217394\t0.09268636363636364\n+0.8055310344827585\t0.1853571428571428\t0.04282222222222224\t0.005623076923076902\t0.25551999999999997\t0.10817499999999998\t0.10491739130434782\n+0.6916965517241379\t0.2277535714285714\t-0.15200740740740742\t-0.08980384615384616\t0.17827199999999999\t0.22060833333333338\t0.10639565217391303\n+0.6458964285714285\t0.19743703703703705\t0.1922076923076923\t0.014923999999999944\t0.05652916666666665\t-0.012252173913043484\t0.0686227272727273\n+1.0690363636363638\t0.20934\t0.03146666666666666\t0.27912500000000007\t0.7560142857142856\t-0.2195\t-0.48144\n+1.4542363636363638\t-0.05268000000000002\t-0.5933333333333333\t0.22962500000000005\t0.9540142857142859\t-0.7288\t-0.9408\n+1.0590923076923078\t-0.139328\t-0.4341416666666666\t0.24690434782608686\t0.22152272727272726\t-0.35826666666666673\t-0.061304999999999985\n+1.1226000000000003\t-0.15142400000000003\t-0.5321416666666665\t0.30679999999999996\t0.29897727272727276\t-0.3726666666666668\t-0.08482500000000001\n+0.8329199999999997\t0.15755897435897437\t0.07511052631578947\t0.09225405405405408\t-0.06023888888888888\t-0.12407428571428579\t-0.12806764705882354\n+1.4647266666666667\t-0.2598857142857143\t-0.3800769230769231\t0.2925\t0.13481818181818186\t-0.39829999999999993\t0.8148888888888889\n+0.49351666666666677\t0.13596363636363637\t0.10891999999999998\t0.01993333333333332\t0.133775\t0.15094285714285713\t0.16076666666666667\n+0.129845\t0.07451052631578946\t0.0710388888888889\t0.07441764705882353\t0.050562499999999976\t0.06017999999999998\t0.055742857142857136\n+0.920029411764706\t0.041274999999999985\t0.07954666666666671\t0.14961428571428573\t0.2047076923076923\t0.03695000000000002\t-0.06036363636363635\n+0.8178000000000001\t0.05927058823529413\t0.15662500000000001\t0.16187333333333337\t-0.20607142857142854\t-0.25224615384615384\t0.006083333333333343\n+1.8590864864864862\t0.0027555555555555614\t-0.7741428571428571\t0.31445294117647055\t0.7878000000000002\t-0.39218124999999976\t-0.4180709677419357\n+1.0409791666666668\t0.07796521739130434\t-0.18481818181818177\t-0.05805714285714282\t0.37987999999999994\t-0.1498736842105263\t0.0861388888888889\n+1.5263636363636364\t-0.061238095238095216\t-0.8402\t0.5881052631578948\t0.6563111111111112\t-1.0070588235294116\t-0.48724999999999996\n+1.1685750000000001\t0.10039565217391304\t-0.3997363636363635\t0.42600952380952384\t0.4243000000000001\t-0.618757894736842\t-0.3966666666666666\n+1.0172181818181818\t-0.03363999999999997\t0.19977777777777775\t-0.469975\t-0.20248571428571424\t-0.041433333333333315\t0.27636\n+0.9188722222222222\t0.031976470588235294\t0.06727500000000003\t0.1801266666666667\t0.17723571428571436\t0.011676923076923088\t-0.008366666666666647\n+1.5785692307692307\t0.22101666666666664\t-0.15145454545454545\t0.09955000000000008\t0.43111111111111106\t-0.21622500000000003\t-0.1438\n+1.6062083333333332\t-1.0248181818181819\t0.5306000000000001\t-0.08611111111111115\t-0.6792499999999998\t0.8190285714285714\t-0.9763333333333333\n+1.6062083333333332\t-0.459\t0.857\t-0.4027777777777778\t-0.11000000000000004\t-0.2874\t-1.0063333333333333\n+1.6116333333333335\t-0.3885454545454545\t0.82972\t-0.3524888888888889\t-0.16425\t-0.35382857142857144\t-0.9443333333333332\n+0.5538250000000001\t0.1047\t0.2599600000000001\t0.07244444444444444\t0.071475\t-0.14634285714285716\t-0.05931666666666666\n+0.27895000000000003\t0.001181818181818183\t-0.027859999999999996\t-0.10537777777777778\t0.014075000000000004\t-0.036942857142857145\t-0.17416666666666666\n+1.5283692307692307\t0.25499999999999995\t0.005745454545454579\t0.10596000000000001\t-0.1986666666666666\t0.1962500000000002\t0.05685714285714288\n+0.7039176470588234\t0.107525\t0.24838000000000005\t-0.061171428571428585\t0.11996153846153847\t-0.09626666666666665\t-0.039700000000000006\n+1.2069733333333335\t-0.18214285714285716\t-0.14446153846153853\t-0.32607499999999995\t0.32081818181818184\t-0.14000000000000004\t0.2755111111111111\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out3.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out3.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,139 @@ +Movement +0.2774594853118652 +0.6893304784278844 +0.4942223886681905 +0.4879022569098747 +0.44928748941321683 +0.48806178738858674 +0.4669403105902714 +0.5036883970558701 +0.2154087258482626 +0.23979843502296416 +0.4148659428820385 +0.1336752433612987 +0.42050172623243376 +0.31929548629945326 +0.30940024725427256 +0.21702306187227818 +0.3299344419094044 +0.21076749332479502 +0.6823332724963809 +0.33227495617039615 +0.374280171875485 +0.27694439596355835 +0.19214123548230658 +0.4586310607350617 +0.3589698816442937 +0.3104846462036025 +0.07829845874025636 +0.22946874484220134 +0.431889304227059 +0.18795022241574336 +0.09334995188252893 +0.28651765021427744 +0.3123171568411732 +0.30020346522496427 +0.2306046045936626 +0.30742761594480517 +0.22580297575660496 +0.5160770736050732 +0.42418087568398827 +0.4662320267678134 +0.30510565290499236 +0.5153089915263588 +0.5066586478523495 +0.4348299376955373 +0.6294167809882232 +0.07341767238855738 +0.42048493885819194 +0.05979736465312132 +0.3011279514921717 +0.6697596118193816 +0.697249179019688 +0.32738385361185923 +0.4740530027406926 +0.2722451852258311 +0.377225347089546 +0.2663531832793621 +0.3328298763654114 +0.11146951283410829 +0.3101492391947477 +0.40528228849020076 +0.3007123184344794 +0.37876923909573884 +0.303340210193212 +0.07790563558928469 +0.1268522709352264 +0.05098768578867241 +0.05744793631087191 +0.04257177643688409 +0.01724636454950971 +0.21601775041714222 +0.02259044319726739 +0.41001485302954344 +0.13836717232597007 +0.16432649038670458 +0.15718388681304243 +0.08149375918061791 +0.16302510827881284 +0.3333834963264693 +0.3866785757046207 +0.33171565184196383 +0.33002512021176883 +0.3039772546746435 +0.36382522468683326 +0.21470872654453724 +0.5295796291832363 +0.539270061747465 +0.4415705665227539 +0.15827403805653534 +0.476096626614862 +0.1905601809470215 +0.06471272433607658 +0.10338737520665338 +0.16748789482560633 +0.15336689741837634 +0.4402545159172683 +0.0969067762942479 +0.079697967495238 +0.03889702720030025 +0.09073602009751042 +0.08878762429509186 +0.576351142919988 +0.5626876474168332 +0.5587627844989237 +0.2929055437237022 +0.041928757622971206 +0.03612895077373906 +0.1010583141843274 +0.19580711052239802 +0.09225114957906165 +0.016111803974935734 +0.08811374694676156 +0.18980623621727705 +0.029912035360840795 +0.48935076569394603 +0.7128266034647883 +0.4006561814688358 +0.4271052740293019 +0.10939133470727964 +0.4139307319247934 +0.1231691382233704 +0.0032321159995884778 +0.18851321484398556 +0.06017560056957848 +0.5624413407035735 +0.3690812500176626 +0.7088747699407729 +0.5636335289669467 +0.04743626398192347 +0.17977818302206242 +0.575438682276335 +0.16305715459762246 +0.10431035909837237 +0.10135202807902083 +0.16959375298472332 +0.11347169126959285 +0.10918994422833458 +0.10336817474245052 +0.24920727895691838 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out4.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out4.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,139 @@ +Global +0.1475757575757576 +0.3215384615384615 +0.44875 +0.44875 +0.45687500000000003 +0.48624999999999996 +0.4235294117647058 +0.4129411764705882 +-0.10278350515463919 +0.15153846153846157 +-0.296 +-0.14411764705882354 +-0.0019230769230769162 +0.20703703703703702 +0.2162962962962963 +0.28814814814814815 +0.24777777777777776 +0.4795833333333333 +0.35076923076923083 +0.03171428571428572 +-0.035128205128205144 +0.04405405405405406 +-0.1698809523809524 +0.17913043478260865 +0.11269230769230772 +0.28448275862068967 +0.07433333333333328 +-0.6266666666666666 +0.14071428571428576 +-0.43117647058823527 +-0.19765957446808508 +0.4856 +0.5168 +0.3433333333333333 +0.4583333333333333 +0.5745454545454545 +0.3282608695652174 +0.3733333333333333 +0.17192307692307696 +-0.3457142857142857 +0.1076 +0.4675 +0.4675 +-0.16962962962962963 +0.08749999999999998 +-0.3174358974358975 +0.4411111111111112 +-0.050120481927710826 +-0.025555555555555557 +0.24727272727272726 +-0.15142857142857138 +-0.066 +0.07142857142857142 +0.34882352941176475 +0.6842857142857143 +0.6666666666666666 +0.5438095238095239 +0.18681818181818183 +-0.231 +0.5955 +0.35541666666666666 +0.08687500000000001 +0.5977777777777777 +0.15000000000000002 +0.19517241379310335 +0.1663333333333333 +0.33566666666666667 +0.19225806451612903 +0.21999999999999997 +-0.2715662650602409 +0.28916666666666674 +0.2563157894736842 +-0.10543478260869568 +-0.12173913043478261 +-0.15695652173913047 +-0.43962962962962954 +-0.21695652173913044 +0.12199999999999997 +0.38833333333333336 +0.4166666666666667 +0.4054166666666666 +0.4258333333333333 +0.35625 +0.14285714285714288 +0.055333333333333366 +0.07533333333333335 +0.6094117647058823 +-0.21846153846153846 +-0.058333333333333334 +-0.2692857142857143 +0.20566666666666658 +0.00366666666666667 +0.1886206896551724 +0.13266666666666665 +0.24470588235294113 +0.2412903225806451 +0.23933333333333323 +0.264516129032258 +0.27419354838709675 +0.12766666666666668 +0.23583333333333334 +0.12916666666666668 +0.3400000000000001 +-0.16058823529411767 +0.33214285714285713 +0.19161290322580643 +0.0384 +0.12482758620689656 +0.2403125 +0.2882142857142857 +0.24965517241379304 +0.06206896551724138 +0.26321428571428573 +0.37636363636363634 +0.07636363636363636 +-0.034615384615384596 +0.0023076923076923396 +0.026500000000000013 +0.16733333333333336 +0.3899999999999999 +0.2585 +-0.24882352941176467 +-0.053333333333333316 +-0.29405405405405405 +0.23041666666666671 +-0.05090909090909091 +0.2141666666666667 +-0.11818181818181818 +-0.18722222222222226 +0.2615384615384615 +0.03583333333333333 +0.03583333333333331 +0.06166666666666661 +0.31583333333333335 +-0.031666666666666655 +0.3292307692307693 +0.02470588235294122 +-0.005333333333333309 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out5.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out5.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,139 @@ +hyPhoPro hyPhoMov +0.02715157858015001 -0.35193848479562767 +-0.07581632653061224 0.5953061224489795 +0.052727272727272734 -0.062025974025973984 +0.04883116883116884 -0.03423376623376628 +0.04601731601731602 -0.03612987012987007 +0.08088311688311688 -0.2343376623376623 +0.03348051948051948 0.022285714285714298 +0.03192207792207792 0.033974025974025934 +0.0021599663276681918 -0.22623725342980006 +-0.018112244897959186 0.19642857142857145 +0.05679949874686715 -0.9542255639097741 +0.02180519480519481 -0.241974025974026 +-0.02841568206229861 0.38283888292158974 +-0.01838589981447124 0.439764996907854 +-0.01668274582560297 0.38687569573283864 +-0.03239332096474954 0.719208410636982 +-0.020578849721706864 0.5204502164502165 +-0.03832375055285272 0.958421544056219 +-0.03591836734693877 0.4099999999999999 +0.03777551020408164 -0.5975531315974667 +0.025872326203208548 -0.5578945441813087 +0.02878110599078341 -0.42363594470046084 +-0.010531891255218561 0.2716888717069549 +0.02350140056022409 -0.1134733893557423 +-0.06595273899033298 1.0665520945220195 +0.016038961038961044 0.052970073404856044 +-0.0007478260869565204 0.008224430641821922 +0.04371628371628371 -0.844207459207459 +-0.020136054421768707 0.3112414965986395 +-0.06315584415584416 0.2847272727272727 +0.010865107018417123 -0.393033349925336 +0.0029724310776942328 0.43079699248120307 +0.0009724310776942321 0.4958496240601504 +0.005708388618605338 0.32641702294953073 +-0.007356626861270829 0.5828551771585828 +-0.01823949579831933 0.7488361344537815 +-0.02902310924369748 0.5890021008403361 +0.03770229770229771 -0.04594572094572097 +0.04122126745435017 -0.4259087003222342 +-0.013678571428571425 0.01126190476190475 +-0.05527318295739348 0.8849323308270677 +0.05241558441558442 -0.0911168831168831 +0.03968831168831171 0.008623376623376477 +0.10459369202226346 -1.5729152752009896 +0.05814390578365734 -0.7379946761313222 +0.01972975553857907 -0.5617051820728292 +-0.05214785214785215 0.7946853146853148 +0.0013003162251282558 -0.15394376300391338 +-0.02250468774829175 0.4496891784522485 +-0.023128151260504205 0.4102563025210084 +1.982541115402065e-18 -0.1514285714285714 +0.028383045525902664 -0.2480062794348508 +0.021496598639455775 -0.16294217687074822 +-0.04041558441558442 0.7460519480519481 +-0.02911564625850338 0.9735374149659862 +-0.005683673469387759 0.6915034013605443 +-0.03116326530612245 0.8635374149659865 +0.036691176470588234 -0.13159663865546217 +-0.05945996860282575 0.3432370486656201 +-0.016649921507064368 0.7797048665620095 +-0.029105115730502732 0.7166135928055433 +0.009828083028083029 -0.06195067155067156 +-0.046833166833166844 1.0376057276057278 +-0.010861095426312818 0.347210615471485 +-0.008250988142292488 0.36203557312252965 +-0.036189440993788825 0.7512349896480333 +-0.016563975155279503 0.6060109730848862 +-0.029909890109890105 0.6911626373626373 +-0.02887692307692308 0.6786967032967034 +0.0050424387642432735 -0.4832149429517849 +0.000442505053716627 0.29810124173596136 +0.037080062794348514 -0.16273155416012558 +0.010377110694183869 -0.2879135620477085 +0.0111078799249531 -0.3231058697400162 +0.012410747788796568 -0.3942061109622085 +-0.052224489795918386 0.40633333333333355 +0.014310506566604127 -0.4930935406057357 +-0.056097744360902244 0.9043759398496238 +-0.03415597818074599 0.8307302570150868 +-0.039855521155830756 0.9192908742444346 +-0.04985699542975085 1.024625288711976 +-0.04187822497420021 0.9619170475207628 +-0.038400412796697626 0.8220015725588481 +-0.01946035331128499 0.347325159312737 +0.03692857142857142 -0.13040476190476186 +0.0305 -0.05683333333333335 +-0.000545454545454547 0.6690389610389611 +0.037044038668098814 -0.6281933404940923 +0.03981018981018981 -0.31410089910089906 +-0.008054973340687626 -0.09316669730955451 +-0.03782422360248447 0.8241060041407868 +0.00029130434782608547 0.058811801242236054 +0.003376623376623378 0.16608130999435342 +-0.013881366459627327 0.3728869565217391 +0.06023376623376623 -0.2226493506493506 +-0.026106593406593402 0.6940560439560439 +-0.02881987577639751 0.7356262939958591 +-0.02521428571428571 0.7094714285714285 +-0.025557142857142855 0.7335857142857143 +-0.04191987577639751 0.7859929606625259 +0.007877551020408163 0.32262585034013613 +0.005265306122448987 0.2227074829931973 +-0.10693877551020407 0.8657142857142857 +-0.02385714285714285 -0.12836363636363632 +-0.03462934580947004 0.7773662982979754 +-0.04056593406593407 0.8454604395604396 +0.008571428571428572 -0.018646616541353397 +-0.017245906267645397 0.4891445511010728 +-0.027051037851037848 0.6794559218559219 +-0.03842461885940147 0.8100959909655561 +-0.025856860530773573 0.6813128176171654 +-0.03157396950875212 0.5883709768492378 +-0.0392296523352424 0.7949899169153828 +-0.126 1.0677142857142856 +-0.09771428571428573 0.6811428571428573 +0.02538023630504834 -0.33075295381310427 +0.028989258861439323 -0.3278657357679915 +0.0018205827785659715 0.009582669431408945 +0.10564285714285715 -0.547436507936508 +-0.06955102040816327 0.7658639455782313 +-0.006832025117739401 0.347353218210361 +0.07676623376623376 -0.70412987012987 +0.0290959040959041 -0.10052947052947056 +0.007911866359447007 -0.5108006912442397 +-0.03184136812619785 0.5830011302766721 +0.03450420168067227 -0.4412226890756302 +0.050344980097302094 -0.4739672711189741 +-0.08800000000000002 0.16828571428571443 +0.07430569430569431 -0.6601698301698302 +0.09102040816326529 -0.0038775510204079877 +-0.07616326530612244 0.5379455782312925 +-0.07906122448979593 0.8298367346938775 +-0.07273469387755103 0.8319455782312926 +0.1306122448979592 -0.4669387755102042 +-0.055265306122448975 0.20776870748299314 +0.12306122448979591 -0.19224489795918365 +0.09636363636363639 -0.7016883116883119 +-0.06395238095238094 0.602111111111111 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out5.tsvOLD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out5.tsvOLD Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,139 @@ +hyPhoPro hyPhoMov +-0.013702404641270547 0.7064878431790197 +0.011176386988407512 0.7188181164692683 +-0.05198602998311481 0.958225299300909 +-0.053837767007292314 0.9662204912145689 +-0.05616965069062795 0.983986112997491 +-0.03902944742005332 0.8444062256781733 +-0.048881292947782075 0.9583602008889918 +-0.03523035187287894 0.8840454410506315 +-0.003617546518307171 0.5479566813670605 +0.028016156772162043 0.07907123740827723 +0.00866973523534085 0.3177509480189954 +-0.015519225514018015 0.694091781811162 +0.04022481558910061 0.004249979051905495 +0.0006666962157398361 0.4741011872601403 +-0.004377350380195698 0.5529088324260703 +0.01381262946263429 0.24931117708632017 +0.0006958428080390826 0.5001936029534315 +0.02144508246949223 0.13332279610071324 +0.03397529507672755 0.5100807184433006 +-0.029884538521139 1.0733153506851596 +-0.01983959429041692 0.8950337931033574 +-0.01982033242168219 0.8777620498117886 +0.002254114186276635 0.2722987349308763 +-0.012527958995953109 0.7031492452931389 +-0.0023262561164415305 0.4634280778779996 +-0.019045195035114062 0.7334574873576302 +-0.0036870081277587 0.4266784242240407 +-0.025257706646997714 0.5890927078687851 +0.02779554323472246 0.3434637879900509 +-0.04053127787886767 0.8562817626844219 +-0.008458862647663839 0.6253497807744659 +-0.001609299781084819 0.4414102833482948 +-0.0023175009778339936 0.475274575529367 +-0.013920703430283954 0.6170427635572147 +0.0034962817397704575 0.3797185765423513 +0.006378013245913945 0.31429523569180806 +-0.0027439224920658093 0.2982657744624012 +-0.030737994384364364 0.8267975969197582 +0.002037604859695835 0.4711278541904523 +0.034501094472023604 0.2399269383089701 +-0.008465677181349475 0.5227488478380948 +-0.048299231794449136 0.976072073585603 +-0.05615316627523569 1.027533449918971 +-0.021841973064026843 0.8898186528542098 +-0.02697730907165962 1.0620308853064857 +0.010428986691960048 0.22422809713551245 +0.01512587729591611 0.3808996154788872 +-0.003333925576120473 0.622026161420606 +-0.0027229000190826863 0.3801507003745696 +-0.001925916173127934 0.7631651291981286 +-0.0009655608575037773 0.759777584961145 +-0.04032541917451135 0.787804369195056 +0.016532905245522377 0.5139190667498565 +0.041543252744629146 0.011157664122607103 +0.002497523947853029 0.33596253762517075 +0.004041966578200191 0.3030978824901087 +0.012404453849284281 0.24643794010186237 +0.007192712650787392 0.15801612421949393 +0.006300181031782565 0.3891050479945695 +0.0015769621075628851 0.3513024390258576 +0.005885609697375629 0.3498103593128875 +-0.008210718146404004 0.5973027867114122 +0.03445248049849392 0.005446074006080437 +0.0012224775898714605 0.12140974692726145 +0.001476340307612079 0.12359398913485323 +0.003734215037281857 0.18891410955292076 +0.005567328927429458 0.1308718896134894 +0.003354741776587562 0.16344733967671116 +-0.001005293237258756 0.24730182990010724 +-0.0035047647313513086 0.7005932857040358 +-0.0014454269152983546 0.30377705228349905 +-0.024555829358714032 0.8225470285646173 +-0.0071749729027567885 0.5390825304502722 +-0.005912957218049055 0.5382623209288713 +-0.006401003102899668 0.5020695930686955 +0.010309364708474683 0.34444454614705056 +-0.0069379911202472316 0.5243825392215089 +-0.020933659665917148 0.7229040041169127 +0.017831115340441808 0.25206381760308433 +0.016280191490642765 0.27213912936064666 +0.018531928151377317 0.27078291434129953 +0.01740930228938912 0.2093611687029609 +0.019531282815214376 0.2543042887037213 +-0.0155035880238895 0.6597323719172863 +0.0333441890094199 0.422057425465304 +0.02962390623237217 0.45872298479215795 +0.00028632690409503305 0.36407527917696547 +-0.0032154197840067213 0.5336149264822976 +-0.02047411666140771 0.8755219633412132 +-0.002146116207563553 0.3693340477858547 +0.0036155910533939447 0.1671503391964293 +-0.01598321315231832 0.4688830662764797 +-0.0021728355849328263 0.22593725723338617 +0.004112770101349414 0.10200480263721703 +0.0012940913138806136 0.611015753016955 +0.0030461676232621296 0.19477655181200076 +0.008712690094462999 0.1490960784390961 +0.008396606935303492 0.1098730137934806 +0.007006885361748135 0.1474811961820503 +0.006370737814239388 0.17508301897409273 +0.05402974955800014 0.27001208777287544 +0.06738072292690078 0.2172541047042681 +0.09190451068226652 0.058426200283410834 +0.02809404001212617 0.08173557482475113 +0.0013782444939202043 0.1507408071743438 +0.003519029685002001 0.20384470079888853 +-0.00784220679768888 0.29739346591236626 +0.003819664510863717 0.16758749320656133 +0.000596515308558698 0.15557751580665805 +0.0010278522439165412 0.19241520716071728 +0.0087920285227946 0.14579720960390447 +0.01476931502403071 0.09683847874837734 +0.0019072854790248537 0.17951789561364645 +0.04355689332204267 0.271095917628821 +0.0032256396588165705 0.6599429477609702 +-0.01052110983974852 0.686251876645341 +-0.007331714534816895 0.6908958072633054 +-0.00914861482007237 0.4623192569384384 +-0.03419667351010269 0.8385141227750671 +0.02300579360818797 0.134701159685089 +-0.0018727112847089515 0.10838133609117778 +-0.03103412790289877 0.48946330927238646 +-0.009726985307601563 0.33786999469988455 +0.001054010477815111 0.7295611238589856 +-0.014747042264058484 0.6321289112109605 +-0.0025168445600521347 0.7752348682518316 +-0.020756029264981258 0.843253992596872 +-0.019772636926888316 0.35947318023733 +-0.01962599984120056 0.43043028971603825 +-0.03533412153868398 0.6417477128125011 +-0.03882998738680897 0.43401886426240527 +0.01156769551319625 0.20948367859182776 +0.0059669111304813055 0.25416751667414766 +0.02110907613099261 0.07508525840712155 +0.043279989658958934 -0.07681674662076102 +0.00841209452814542 0.19670733112693553 +-0.014302296975120272 0.269990271120962 +0.04985396275343027 -0.08614701800805952 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out6.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/out6.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,139 @@ +Arc_0 Arc_1 Arc_2 Arc_3 Arc_4 +200 140 20 20 0 +190 130 40 60 0 +200 60 30 20 0 +200 60 30 20 0 +200 30 30 20 0 +200 60 30 20 0 +160 30 30 20 0 +160 60 30 20 0 +60 160 60 40 40 +30 100 40 0 0 +60 60 40 0 20 +50 40 40 0 0 +100 140 40 0 0 +160 60 20 20 0 +160 100 20 20 0 +100 60 20 20 0 +160 60 20 20 0 +220 40 20 0 40 +200 100 70 0 0 +100 140 40 20 20 +80 200 80 20 0 +100 140 40 20 20 +60 220 60 40 0 +100 40 40 20 0 +140 80 20 0 20 +180 60 40 0 0 +60 80 20 20 20 +40 120 40 20 0 +150 90 60 0 0 +60 100 20 0 0 +60 180 60 40 20 +160 60 20 20 20 +160 60 20 20 20 +160 60 40 20 20 +160 60 20 20 20 +260 60 20 20 20 +80 60 20 20 20 +200 60 20 20 0 +120 140 40 20 0 +80 80 40 0 20 +120 60 60 0 0 +200 80 30 20 0 +200 80 30 20 0 +140 120 100 0 20 +180 80 60 0 20 +20 40 40 0 120 +140 40 20 0 20 +120 160 60 40 20 +60 140 60 20 20 +120 140 120 0 0 +200 160 160 0 0 +20 60 20 20 20 +150 90 60 30 0 +60 80 20 0 0 +190 30 20 0 20 +200 20 20 0 20 +200 60 20 0 20 +20 100 20 0 20 +20 140 40 0 0 +180 40 20 0 20 +140 100 60 0 40 +160 120 20 20 20 +200 40 20 0 20 +20 100 20 20 40 +60 100 20 20 20 +40 120 20 20 20 +40 80 20 20 20 +40 120 20 20 20 +40 120 20 20 20 +100 260 60 40 20 +140 120 20 20 40 +120 60 20 20 0 +40 120 40 20 20 +60 120 40 20 20 +40 140 40 20 20 +60 120 40 20 20 +40 120 40 20 20 +120 60 40 0 0 +220 80 60 0 40 +220 80 60 0 40 +220 80 60 0 40 +220 80 40 0 40 +220 80 60 0 20 +160 100 40 20 0 +180 100 80 0 0 +180 100 80 0 0 +200 70 20 0 20 +80 60 60 0 80 +100 100 100 0 20 +40 160 60 20 40 +40 80 20 20 20 +40 100 20 20 40 +60 100 20 40 40 +20 100 20 20 20 +160 60 40 20 0 +80 120 20 20 20 +40 120 20 20 20 +60 80 20 20 20 +60 80 20 20 20 +40 120 20 20 20 +200 80 80 0 0 +200 110 60 0 0 +150 70 70 0 0 +40 60 40 20 20 +60 60 20 20 20 +40 120 20 20 20 +40 100 20 20 40 +80 80 20 20 20 +80 80 20 20 20 +60 80 20 20 20 +40 120 20 20 20 +60 80 20 20 20 +40 80 20 20 20 +230 70 70 0 0 +230 130 130 0 0 +100 200 100 0 0 +100 200 100 0 0 +100 120 20 20 20 +90 50 50 0 0 +70 60 30 30 0 +20 80 0 0 0 +20 100 50 20 20 +40 60 40 0 20 +160 220 100 40 20 +180 100 40 0 20 +120 140 140 0 0 +140 80 80 0 0 +60 100 30 30 40 +20 100 40 20 20 +240 70 40 0 0 +100 60 30 30 0 +130 70 60 20 0 +130 60 60 20 0 +70 70 30 40 0 +60 130 70 0 0 +100 50 20 0 0 +60 90 30 20 0 +50 70 30 0 30 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/test.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Descriptor/test-data/test.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLFDIIKKIAESI +>ACP4 +GLLDIVKKVVGAFGSL +>ACP6 +GLFDIVKKVVGALGSL +>ACP8 +GLFDIVKKVVGTLAGL +>ACP10 +GLFDIAKKVIGVIGSL +>ACP12 +GLFDIVKKIAGHIAGSI +>ACP14 +GLFDIVKKIAGHIVSSI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HF +>ACP72 +GLFVGLAKVAAHNNPAIAEHFQA +>ACP74 +GFVDFLKKVAGTIANVVT +>ACP76 +GLLQTIKEKLESLESLAKGIVSGIQA +>ACP78 +TRSSRAGLQFPVGRVHRLLRK +>ACP80 +FFGWLIKGAIHAGKAIHGLIHRRRH +>ACP82 +GLFDVIKKVASVIGGL +>ACP84 +GLFDIIKKVASVVGGL +>ACP86 +GRFKRFRKKFKKLFKKLSPVIPLLHLG +>ACP88 +GGLRSLGRKILRAWKKYGPIIVPIIRIG +>ACP90 +RRRPRPPYLPRPRPPPFFPPRLPPRIPPGFPPRFPPRFP +>ACP92 +GLLGPLLKIAAKVGSNLL +>ACP94 +GLICESCRKIIQKLEDMVGPQPNEDTVTQAASQVCDKLKILRGLCKKIMRSFLRRISWDILTGKKPQAICVDIKICKEKTGLI +>ACP96 +DHYNCVSSGGQCLYSACPIFTKIQGTCYRGKAKCCK +>ACP98 +FFHHIFRGIVHVGKTIHRLVTG +>ACP100 +KLAKLAKKLAKLAK +>ACP102 +KTCENLADTFRGPCFATSNC +>ACP104 +IDWKKLLDAAKQIL +>ACP106 +FLIGMTQGLICLITRKC +>ACP108 +ILPILSLIGGLLGK +>ACP110 +GLLGLLGSVVSHVVPAIVGHF +>ACP112 +GLLGLLGSVVSHVLPAITQHL +>ACP114 +GIKCRFCCGCCTPGICGVCCRF +>ACP116 +QSHLSLCRWCCNCCRSNKGC +>ACP118 +ILGPVISTIGGVLGGLLKNL +>ACP120 +FLPILASLAAKFGPKLFCLVTKKC +>ACP122 +GLWSKIKEAAKAAGKAALNAVTGLVNQGDQPS +>ACP124 +LLGMIPLAISAISALSKL +>ACP126 +GLPVCGETCVGGTCNTPGCSCSWPVCTRN +>ACP128 +GVPICGETCTLGTCYTAGCSCSWPVCTRN +>ACP130 +GIPCGESCVWIPCISSAIGCSCKSKVCYRN +>ACP132 +GIPCAESCVWIPCTVTALIGCGCSNKVCYN +>ACP134 +GTFPCGESCVFIPCLTSAIGCSCKSKVCYKN +>ACP136 +GLLPCAESCVYIPCLTTVIGCSCKSKVCYKN +>ACP138 +GRDYRTCLTIVQKLKKMVDKPTQRSVSNAATRVCRTGRSRWRDVCRNFMRRYQSRVTQGLVAGETAQQICEDLRLCIPSTGPL +>ACP140 +GETDPNTQLLNDLGNNMAWGAALGAPGGLGSAALGAAGGALQTVGQGLIDHGPVNVFIPVLIGPSWNGSGSGYNSATSSSGSGS +>ACP142 +GFKDLLKGAAKALVKTVLF +>ACP144 +KSCCPNTTGRNIYNACRLTGAPRPTCAKLSGCKIISGSTCPSDYPK +>ACP146 +KSCCPNTTGRNIYNTCRFGGGSREVCARISGCKIISASTCPSDYPK +>ACP148 +KSCCPNTTGRNIYNTCRLTGSSRETCAKLSGCKIISASTCPSNYPK +>ACP150 +MRKEFHNVLSSGQLLADKRPARDYNRK +>ACP152 +KSCCKNTTGRNIYNTCRFAGGSRERCAKLSGCKIISASTCPSDYPK +>ACP154 +FIFHIIKGLFHAGKMIHGLVTRRRH +>ACP156 +FLPAIVGAAAKFLPKIFCAISKKC +>ACP158 +FLPIIAGVAAKVLPKIFCAISKKC +>ACP160 +FLPIIAGIAAKFLPKIFCTISKKC +>ACP162 +FLPVIAGVAANFLPKLFCAISKKC +>ACP164 +FLPIIAGAAAKVVQKIFCAISKKC +>ACP166 +GLMDTIKGVAKTVAASWLDKLKCKITGC +>ACP168 +VNWKKVLGKIIKVAK +>ACP170 +VNWKKILGKIIKVAK +>ACP172 +FFSLLPSLIGGLVSAIK +>ACP174 +RFRLPFRRPPIRIHPPPFYPPFRRFL +>ACP176 +KWKLFKKIPKFLHLAKKF +>ACP178 +YKQCHKKGGHCFPKEKICLPPSSDFGKMDCRWRWKCCKKGSG +>ACP180 +GIPCGESCVFIPCITGAIGCSCKSKVCYRN +>ACP182 +GEFLKCGESCVQGECYTPGCSCDWPICKKN +>ACP184 +GLPTCGETCTLGTCYVPDCSCSWPICMKN +>ACP186 +GLPVCGETCFGGTCNTPGCTCDPWPVCTRN +>ACP188 +FVDLKKIANIINSIFGK +>ACP190 +GSIPCGESCVFIPCISSVIGCACKSKVCYKN +>ACP192 +GIPCGESCVFIPCISSVIGCSCSSKVCYRN +>ACP194 +GSIPCGESCVFIPCISAVIGCSCSNKVCYKN +>ACP196 +GSIPCEGSCVFIPCISAIIGCSCSNKVCYKN +>ACP198 +GIPCGESCVFIPCLTSAIDCSCKSKVCYRN +>ACP200 +GMWSKILGHLIR +>ACP202 +GKWMSLLKHILK +>ACP204 +GFGMALKLLKKVL +>ACP206 +GTGLPMSERRKIMLMMR +>ACP208 +GIACGESCVFLGCFIPGCSCKSKVCYFN +>ACP210 +GVIPCGESCVFIPCISSVLGCSCKNKVCYRD +>ACP212 +KLCGETCFKFKCYTPGCSCSYPFCK +>ACP214 +GDACGETCFTGICFTAGCSCNPWPTCTRN +>ACP216 +GIPCAESCVWIPPCTITALMGCSCKNNVCYNN +>ACP218 +IPCGESCVWIPCITAIAGCSCKNKVCYT +>ACP220 +AIPCGESCVWIPCISTVIGCSCSNKVCYR +>ACP222 +GEYCGESCYLIPCFTPGCYCVSRQCVNKN +>ACP224 +IPCGESCVWIPCISGMFGCSCKDKVCYS +>ACP226 +FLGWLFKWASK +>ACP228 +FLKWLFKWAKK +>ACP230 +KWKSFLKTFKSAKKTVLHTALKAISS +>ACP232 +KWKSFLKTFKSLKKTVLHTLLKAISS +>ACP234 +MPFLFCNVNDVCNFASRNDYSCNYYSNSYSFWLASLNPER +>ACP236 +KWKLFKKIGAVLKVL +>ACP238 +GACFSIAHECGA +>ACP240 +TCCATGACGTTCCTGACGTT +>ACP242 +KRFKQDGGASHASPASS +>ACP244 +KRAKAAGGWSHWSPWSSC +>ACP246 +LLGDFFRKSKEKIGKEFKRIVQRIKDFLRNLVPRTES +>ACP248 +FLGALFKVASKVLPSVKCAITKKC +>ACP250 +GIGKFLKKAKKFGKAFVKILKK +>ACP252 +GIGKFLKKAKKGIGAVLKVLTTGL +>ACP254 +VECYGPNRPQF +>ACP256 +KRFKQDGGWSHWSPWSSC +>ACP258 +RQVFQVAYIIIKA +>ACP260 +KAFDITYVRLKF +>ACP262 +DFKLFAVTIKYR +>ACP264 +DFKLFAVYIKYR +>ACP266 +WHSDMEWWYLLG +>ACP268 +HTMYYHHYQHHL +>ACP270 +RLVSYNGIIFFLK +>ACP272 +GRENYHGCTTHWGFTLC +>ACP274 +ASSSYPLIHWRPWAR |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Generation/PDAUG_AA_Property_Based_Peptide_Generation.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Generation/PDAUG_AA_Property_Based_Peptide_Generation.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,216 @@\n+from modlamp.sequences import *\n+import argparse, sys\n+import pandas as pd \n+import os\n+\n+def Random_seq(seq_num, lenmin_s, lenmax_s, S_proba, OutFasta):\n+\n+ b = Random(int(seq_num), int(lenmin_s),int(lenmax_s))\n+ b.generate_sequences(proba=float(S_proba))\n+\n+ OutPep = b.sequences\n+ OutFasta = open(OutFasta, \'w\')\n+\n+ for i,O in enumerate(OutPep):\n+ OutFasta.write(">sequence_"+str(i)+\'\\n\')\n+ OutFasta.write(O+\'\\n\')\n+\n+def Helices_seq(seq_num, lenmin_s, lenmax_s, OutFasta):\n+\n+ h = Helices(int(seq_num), int(lenmin_s),int(lenmax_s))\n+ h.generate_sequences()\n+\n+ OutPep = h.sequences\n+ OutFasta = open(OutFasta, \'w\')\n+\n+ for i,O in enumerate(OutPep):\n+ OutFasta.write(">sequence_"+str(i)+\'\\n\')\n+ OutFasta.write(O+\'\\n\')\n+\n+ \n+def Kinked_seq(seq_num, lenmin_s, lenmax_s, OutFasta):\n+\n+ k = Kinked(int(seq_num), int(lenmin_s),int(lenmax_s))\n+ k.generate_sequences()\n+\n+ OutPep = k.sequences\n+ OutFasta = open(OutFasta, \'w\')\n+\n+ for i,O in enumerate(OutPep):\n+ OutFasta.write(">sequence_"+str(i)+\'\\n\')\n+ OutFasta.write(O+\'\\n\')\n+\n+\n+def Oblique_seq(seq_num, lenmin_s, lenmax_s, OutFasta):\n+\n+ o = Oblique(int(seq_num), int(lenmin_s),int(lenmax_s))\n+ o.generate_sequences()\n+ o.sequences\n+\n+ OutPep = o.sequences\n+ OutFasta = open(OutFasta, \'w\')\n+\n+ for i,O in enumerate(OutPep):\n+ OutFasta.write(">sequence_"+str(i)+\'\\n\')\n+ OutFasta.write(O+\'\\n\')\n+\n+\n+def Centrosymmetric_seq(seq_num, lenmin_s, lenmax_s, symmetry_s, OutFasta):\n+\n+ s = Centrosymmetric(int(seq_num), int(lenmin_s),int(lenmax_s))\n+ s.generate_sequences(symmetry=symmetry_s)\n+\n+ OutPep = s.sequences\n+ OutFasta = open(OutFasta, \'w\')\n+\n+ for i,O in enumerate(OutPep):\n+ OutFasta.write(">sequence_"+str(i)+\'\\n\')\n+ OutFasta.write(O+\'\\n\')\n+\n+\n+def HelicesACP_seq(seq_num, lenmin_s, lenmax_s, OutFasta):\n+\n+ helACP = HelicesACP(int(seq_num), int(lenmin_s),int(lenmax_s))\n+ helACP.generate_sequences()\n+\n+ OutPep = helACP.sequences\n+ OutFasta = open(OutFasta, \'w\')\n+\n+ for i,O in enumerate(OutPep):\n+ OutFasta.write(">sequence_"+str(i)+\'\\n\')\n+ OutFasta.write(O+\'\\n\')\n+\n+\n+def Hepahelices_seq(seq_num, lenmin_s, lenmax_s, OutFasta):\n+\n+ h = Hepahelices(int(seq_num), int(lenmin_s),int(lenmax_s)) \n+ h.generate_sequences()\n+\n+ OutPep = h.sequences\n+ OutFasta = open(OutFasta, \'w\')\n+\n+ for i,O in enumerate(OutPep):\n+ OutFasta.write(">sequence_"+str(i)+\'\\n\')\n+ OutFasta.write(O+\'\\n\')\n+\n+\n+def AMPngrams_seq(seq_num, lenmin_s, lenmax_s, OutFasta):\n+\n+ s = AMPngrams(int(seq_num), int(lenmin_s),int(lenmax_s))\n+ s.generate_sequences()\n+\n+ OutPep = s.sequences\n+ OutFasta = open(OutFasta, \'w\')\n+\n+ for i,O in enumerate(OutPep):\n+ OutFasta.write(">sequence_"+str(i)+\'\\n\')\n+ OutFasta.write(O+\'\\n\')\n+\n+def AmphipathicArc_seq(seq_num, lenmin_s, lenmax_s, gen_seq, hyd_gra, OutFasta):\n+\n+ amphi_hel = AmphipathicArc(int(seq_num), int(lenmin_s),int(lenmax_s))\n+ amphi_hel.generate_sequences(int(gen_seq))\n+ OutFasta = open(OutFasta, \'w\')\n+\n+ if hyd_gra == \'true\':\n+\n+ amphi_hel.make_H_gradient()\n+ OutPep = amphi_hel.sequences\n+ \n+ for i,O in enumerate(OutPep):\n+ OutFasta.write(">sequence_"+str(i)+\'\\n\')\n+ OutFasta.write(O+\'\\n\')\n+\n+ elif hyd_gra == \'false\':\n+\n+ OutPep = amphi_hel.sequences\n+ \n+ for i,O in enumerate(OutPep):\n+ OutFasta.write(">sequence_"+str(i)+\'\\n\')\n+ OutFasta.write(O+\'\\n\')\n+\n+if __name__==\'__main__\':\n+\n+ parser = argparse.ArgumentParser(description=\'Deployment tool\')\n+ subparsers = parser.add_subparsers()\n+\n+ Ran = subparsers.add_parser(\'Random\')\n+ Ran.add_argument("-s","--seq_num", required=True, default=None, help="number of sequences to be generated")\n+ Ran.add_argument("-m","--lenmin_s", required=False, default=7, help="")\n+ Ran.add_ar'..b'Obl.add_argument("-O", "--OutFasta", required=True, default=None, help="Output Fasta")\n+\n+ Cen = subparsers.add_parser(\'Centrosymmetric\')\n+ Cen.add_argument("-s","--seq_num", required=True, default=None, help="number of sequences to be generated")\n+ Cen.add_argument("-m","--lenmin_s", required=False, default=7, help="")\n+ Cen.add_argument("-M","--lenmax_s", required=False, default=20, help="Len max")\n+ Cen.add_argument("-S","--symmetry_s", required=False, default="asymmetric", help="symmetric,asymmetric")\n+ Cen.add_argument("-O", "--OutFasta", required=True, default=None, help="Output Fasta")\n+\n+ Hel = subparsers.add_parser(\'HelicesACP\')\n+ Hel.add_argument("-s","--seq_num", required=True, default=None, help="number of sequences to be generated")\n+ Hel.add_argument("-m","--lenmin_s", required=False, default=7, help="")\n+ Hel.add_argument("-M","--lenmax_s", required=False, default=20, help="Len max")\n+ Hel.add_argument("-O", "--OutFasta", required=True, default=None, help="Output Fasta")\n+\n+ Hep = subparsers.add_parser(\'Hepahelices\')\n+ Hep.add_argument("-s","--seq_num", required=True, default=None, help="number of sequences to be generated")\n+ Hep.add_argument("-m","--lenmin_s", required=False, default=7, help="")\n+ Hep.add_argument("-M","--lenmax_s", required=False, default=20, help="Len max")\n+ Hep.add_argument("-O", "--OutFasta", required=True, default=None, help="Output Fasta")\n+\n+ AMP = subparsers.add_parser(\'AMPngrams\')\n+ AMP.add_argument("-s","--seq_num", required=True, default=None, help="number of sequences to be generated")\n+ AMP.add_argument("-m","--n_min", required=False, default=3, help="minimum number of ngrams to take for sequence assembly")\n+ AMP.add_argument("-M","--n_max", required=False, default=1, help="maximum number of ngrams to take for sequence assembly")\n+ AMP.add_argument("-O", "--OutFasta", required=True, default=None, help="Output Fasta")\n+ \n+ Arc = subparsers.add_parser(\'AmphipathicArc\')\n+ Arc.add_argument("-s","--seq_num", required=True, default=None, help="number of sequences to be generated")\n+ Arc.add_argument("-m","--lenmin_s", required=False, default=7, help="")\n+ Arc.add_argument("-M","--lenmax_s", required=False, default=20, help="Len max")\n+ Arc.add_argument("-a","--arcsize", help="Choose among 100, 140, 180, 220, 260, or choose mixed to generate a mixture")\n+ Arc.add_argument("-y","--hyd_gra", default=\'False\', help="Method to mutate the generated sequences to have a hydrophobic gradient by substituting the last third of the sequence amino acids to hydrophobic.")\n+ Arc.add_argument("-O", "--OutFasta", required=True, default=None, help="Output Fasta")\n+\n+ args = parser.parse_args()\n+\n+ if sys.argv[1] == \'Random\':\n+ Random_seq(args.seq_num, args.lenmin_s, args.lenmax_s, args.S_proba, args.OutFasta)\n+ elif sys.argv[1] == \'Helices\':\n+ Helices_seq(args.seq_num, args.lenmin_s, args.lenmax_s, args.OutFasta)\n+ elif sys.argv[1] == \'Kinked\':\n+ Kinked_seq(args.seq_num, args.lenmin_s, args.lenmax_s, args.OutFasta)\n+ elif sys.argv[1] == \'Oblique\':\n+ Oblique_seq(args.seq_num, args.lenmin_s, args.lenmax_s, args.OutFasta)\n+ elif sys.argv[1] == \'Centrosymmetric\':\n+ Centrosymmetric_seq(args.seq_num, args.lenmin_s, args.lenmax_s, args.symmetry_s, args.OutFasta)\n+ elif sys.argv[1] == \'HelicesACP\':\n+ HelicesACP_seq(args.seq_num, args.lenmin_s, args.lenmax_s, args.OutFasta)\n+ elif sys.argv[1] == \'Hepahelices\':\n+ Hepahelices_seq(args.seq_num, args.lenmin_s, args.lenmax_s, args.OutFasta)\n+ elif sys.argv[1] == \'AMPngrams\':\n+ AMPngrams_seq(args.seq_num, args.n_min, args.n_max, args.OutFasta)\n+ elif sys.argv[1] == \'AmphipathicArc\':\n+ AmphipathicArc_seq(int(args.seq_num), int(args.lenmin_s), int(args.lenmax_s), int(args.arcsize), args.hyd_gra, args.OutFasta)\n+ else:\n+ print("You entered Wrong Values: ")\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out1.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out1.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,6 @@ +sequence_0 +HVLNSPPTMWRCCMDVYCY +sequence_1 +MYHLHEHQKNQKHPKF +sequence_2 +AEAFADKGELKRNQ |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out2.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out2.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,10 @@ +sequence_0 +AGGKAGKLALKGGRLLAKI +sequence_1 +IIAKGIRGALK +sequence_2 +LVKAGRIL +sequence_3 +AVKGVKIGAKAI +sequence_4 +VGVKIVRIAVRLARA |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out3.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out3.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,10 @@ +sequence_0 +AIRGGPG +sequence_1 +KGVKVAIRILPLVVRLGRGGA +sequence_2 +KAIPGAVKG +sequence_3 +IGRGIPI +sequence_4 +AIARIAPLIAK |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out4.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out4.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,10 @@ +sequence_0 +GRGAKVVI +sequence_1 +ALRVLKAAGRLARLAVI +sequence_2 +LIRVGKLAVRALLAIA +sequence_3 +ALIRVLRVAAKIAI +sequence_4 +VIIKGGKLLVRGARAAIVV |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out5.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out5.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,10 @@ +sequence_0 +VKIWIKVARVYVRAIKLYLKI +sequence_1 +VKIWIKVAKVWVKAGRVFVRG +sequence_2 +LRVWVRLVRAWARV +sequence_3 +LRGFGRLVRAFARV +sequence_4 +GRAWARGLKVYVKL |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out6.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out6.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,10 @@ +sequence_0 +FIGDIAKKAAAVAGKLWC +sequence_1 +GLFDVIKKIAKVLPASFVGL +sequence_2 +VLPQIIGVAAGHMVKIIL +sequence_3 +GLFKIALFVAKHVASTAAGLP +sequence_4 +GLPSTILG |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out7.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out7.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,10 @@ +sequence_0 +TARKKITRAL +sequence_1 +GAKLIKTAKKKLSRALR +sequence_2 +GRGLRTIKKKIQRIVK +sequence_3 +AKIAKSAKKRANKLGRSGAK +sequence_4 +IGRILKAARKRLTRVIR |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out8.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out8.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,10 @@ +sequence_0 +PRP +sequence_1 +KAAGESC +sequence_2 +GKAAGGLG +sequence_3 +GGYYGGG +sequence_4 +CGEIG |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out9.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AA_Property_Based_Peptide_Generation/test-data/Out9.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,10 @@ +sequence_0 +KVIRPIK +sequence_1 +ALFRKLKRWVRSY +sequence_2 +RWYKGYA +sequence_3 +RLLQDVTAFLEHWWK +sequence_4 +NLIKAFDK |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AddClassLabel/PDAUG_AddClassLabel.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AddClassLabel/PDAUG_AddClassLabel.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,17 @@ +import pandas as pd +import argparse + +parser = argparse.ArgumentParser() + +parser.add_argument("-I", "--InFile", required=True, default=None, help="Input data file") +parser.add_argument("-C", "--ClassLabel", required=False, default=0, help="Class Label 0 or 1") +parser.add_argument("-t", "--ClassLabelTitle", required=False, default='Class_label', help="Title to use for class label column (Class_label)") +parser.add_argument("-O", "--OutFile", required=False, default='OutFile.tsv', help="Output file name") + +args = parser.parse_args() + +df1 = pd.read_csv(args.InFile, sep="\t") +df2 = pd.DataFrame([args.ClassLabel]*df1.shape[0], columns=[args.ClassLabelTitle]) + +df = pd.concat([df1, df2], axis=1) +df.to_csv(args.OutFile, sep="\t", index=False) \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AddClassLabel/test-data/new.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AddClassLabel/test-data/new.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,13 @@\n+_ChargeC1\t_ChargeC2\t_ChargeC3\t_ChargeD1001\t_ChargeD1025\t_ChargeD1050\t_ChargeD1075\t_ChargeD1100\t_ChargeD2001\t_ChargeD2025\t_ChargeD2050\t_ChargeD2075\t_ChargeD2100\t_ChargeD3001\t_ChargeD3025\t_ChargeD3050\t_ChargeD3075\t_ChargeD3100\t_ChargeT12\t_ChargeT13\t_ChargeT23\t_HydrophobicityC1\t_HydrophobicityC2\t_HydrophobicityC3\t_HydrophobicityD1001\t_HydrophobicityD1025\t_HydrophobicityD1050\t_HydrophobicityD1075\t_HydrophobicityD1100\t_HydrophobicityD2001\t_HydrophobicityD2025\t_HydrophobicityD2050\t_HydrophobicityD2075\t_HydrophobicityD2100\t_HydrophobicityD3001\t_HydrophobicityD3025\t_HydrophobicityD3050\t_HydrophobicityD3075\t_HydrophobicityD3100\t_HydrophobicityT12\t_HydrophobicityT13\t_HydrophobicityT23\t_NormalizedVDWVC1\t_NormalizedVDWVC2\t_NormalizedVDWVC3\t_NormalizedVDWVD1001\t_NormalizedVDWVD1025\t_NormalizedVDWVD1050\t_NormalizedVDWVD1075\t_NormalizedVDWVD1100\t_NormalizedVDWVD2001\t_NormalizedVDWVD2025\t_NormalizedVDWVD2050\t_NormalizedVDWVD2075\t_NormalizedVDWVD2100\t_NormalizedVDWVD3001\t_NormalizedVDWVD3025\t_NormalizedVDWVD3050\t_NormalizedVDWVD3075\t_NormalizedVDWVD3100\t_NormalizedVDWVT12\t_NormalizedVDWVT13\t_NormalizedVDWVT23\t_PolarityC1\t_PolarityC2\t_PolarityC3\t_PolarityD1001\t_PolarityD1025\t_PolarityD1050\t_PolarityD1075\t_PolarityD1100\t_PolarityD2001\t_PolarityD2025\t_PolarityD2050\t_PolarityD2075\t_PolarityD2100\t_PolarityD3001\t_PolarityD3025\t_PolarityD3050\t_PolarityD3075\t_PolarityD3100\t_PolarityT12\t_PolarityT13\t_PolarityT23\t_PolarizabilityC1\t_PolarizabilityC2\t_PolarizabilityC3\t_PolarizabilityD1001\t_PolarizabilityD1025\t_PolarizabilityD1050\t_PolarizabilityD1075\t_PolarizabilityD1100\t_PolarizabilityD2001\t_PolarizabilityD2025\t_PolarizabilityD2050\t_PolarizabilityD2075\t_PolarizabilityD2100\t_PolarizabilityD3001\t_PolarizabilityD3025\t_PolarizabilityD3050\t_PolarizabilityD3075\t_PolarizabilityD3100\t_PolarizabilityT12\t_PolarizabilityT13\t_PolarizabilityT23\t_SecondaryStrC1\t_SecondaryStrC2\t_SecondaryStrC3\t_SecondaryStrD1001\t_SecondaryStrD1025\t_SecondaryStrD1050\t_SecondaryStrD1075\t_SecondaryStrD1100\t_SecondaryStrD2001\t_SecondaryStrD2025\t_SecondaryStrD2050\t_SecondaryStrD2075\t_SecondaryStrD2100\t_SecondaryStrD3001\t_SecondaryStrD3025\t_SecondaryStrD3050\t_SecondaryStrD3075\t_SecondaryStrD3100\t_SecondaryStrT12\t_SecondaryStrT13\t_SecondaryStrT23\t_SolventAccessibilityC1\t_SolventAccessibilityC2\t_SolventAccessibilityC3\t_SolventAccessibilityD1001\t_SolventAccessibilityD1025\t_SolventAccessibilityD1050\t_SolventAccessibilityD1075\t_SolventAccessibilityD1100\t_SolventAccessibilityD2001\t_SolventAccessibilityD2025\t_SolventAccessibilityD2050\t_SolventAccessibilityD2075\t_SolventAccessibilityD2100\t_SolventAccessibilityD3001\t_SolventAccessibilityD3025\t_SolventAccessibilityD3050\t_SolventAccessibilityD3075\t_SolventAccessibilityD3100\t_SolventAccessibilityT12\t_SolventAccessibilityT13\t_SolventAccessibilityT23\n+0.143\t0.786\t0.071\t50.0\t57.143\t50.0\t50.0\t57.143\t7.143\t14.286\t42.857\t78.571\t100.0\t28.571\t28.571\t28.571\t28.571\t28.571\t0.154\t0.0\t0.154\t0.214\t0.286\t0.5\t28.571\t57.143\t28.571\t50.0\t57.143\t7.143\t7.143\t78.571\t85.714\t100.0\t14.286\t14.286\t35.714\t64.286\t92.857\t0.0\t0.308\t0.308\t0.357\t0.429\t0.214\t7.143\t7.143\t28.571\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.857\t21.429\t57.143\t21.429\t50.0\t57.143\t0.385\t0.077\t0.231\t0.5\t0.0\t0.143\t14.286\t14.286\t35.714\t64.286\t92.857\t0\t0\t0\t0\t0\t50.0\t57.143\t50.0\t50.0\t57.143\t0.0\t0.154\t0.0\t0.357\t0.429\t0.214\t7.143\t7.143\t28.571\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.857\t21.429\t57.143\t21.429\t50.0\t57.143\t0.385\t0.077\t0.231\t0.357\t0.357\t0.286\t14.286\t14.286\t50.0\t57.143\t92.857\t21.429\t21.429\t35.714\t42.857\t71.429\t7.143\t7.143\t28.571\t78.571\t100.0\t0.231\t0.231\t0.231\t0.786\t0.214\t0.0\t7.143\t14.286\t42.857\t78.571\t100.0\t28.571\t57.143\t28.571\t50.0\t57.143\t0\t0\t0\t0\t0\t0.308\t0.0\t0.0\n+0.5\t0.5\t0.0\t8.333\t8.333\t58.333\t66.667\t100.0\t16.667\t16.667\t41.667\t50.0\t91.667\t0.0\t0.0\t0.0\t0.0\t0.0\t0.545\t0.0\t0.0\t0.5\t0.0\t0.5\t8.333\t8.333\t58.333\t66.667\t100.0\t0.0\t0.0\t0.0\t0.0\t0.0\t16.667\t16.667\t41.667\t50.0\t91.667\t0.0\t0.545\t0.0\t0.0\t0.5\t0.5\t0.0\t0.0\t0.0\t0.0\t0.0\t16.667\t16.667\t41.667\t50.0\t91.667\t8.333\t8.333\t58.333\t66.667\t100.0\t0.0\t0.0\t0'..b'\t57.143\t28.571\t50.0\t57.143\t7.143\t7.143\t78.571\t85.714\t100.0\t14.286\t14.286\t35.714\t64.286\t92.857\t0.0\t0.308\t0.308\t0.357\t0.429\t0.214\t7.143\t7.143\t28.571\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.857\t21.429\t57.143\t21.429\t50.0\t57.143\t0.385\t0.077\t0.231\t0.5\t0.0\t0.143\t14.286\t14.286\t35.714\t64.286\t92.857\t0\t0\t0\t0\t0\t50.0\t57.143\t50.0\t50.0\t57.143\t0.0\t0.154\t0.0\t0.357\t0.429\t0.214\t7.143\t7.143\t28.571\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.857\t21.429\t57.143\t21.429\t50.0\t57.143\t0.385\t0.077\t0.231\t0.357\t0.357\t0.286\t14.286\t14.286\t50.0\t57.143\t92.857\t21.429\t21.429\t35.714\t42.857\t71.429\t7.143\t7.143\t28.571\t78.571\t100.0\t0.231\t0.231\t0.231\t0.786\t0.214\t0.0\t7.143\t14.286\t42.857\t78.571\t100.0\t28.571\t57.143\t28.571\t50.0\t57.143\t0\t0\t0\t0\t0\t0.308\t0.0\t0.0\n+0.143\t0.786\t0.071\t50.0\t57.143\t50.0\t50.0\t57.143\t7.143\t14.286\t42.857\t78.571\t100.0\t28.571\t28.571\t28.571\t28.571\t28.571\t0.154\t0.0\t0.154\t0.214\t0.286\t0.5\t28.571\t57.143\t28.571\t50.0\t57.143\t7.143\t7.143\t78.571\t85.714\t100.0\t14.286\t14.286\t35.714\t64.286\t92.857\t0.0\t0.308\t0.308\t0.357\t0.429\t0.214\t7.143\t7.143\t28.571\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.857\t21.429\t57.143\t21.429\t50.0\t57.143\t0.385\t0.077\t0.231\t0.5\t0.0\t0.143\t14.286\t14.286\t35.714\t64.286\t92.857\t0\t0\t0\t0\t0\t50.0\t57.143\t50.0\t50.0\t57.143\t0.0\t0.154\t0.0\t0.357\t0.429\t0.214\t7.143\t7.143\t28.571\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.857\t21.429\t57.143\t21.429\t50.0\t57.143\t0.385\t0.077\t0.231\t0.357\t0.357\t0.286\t14.286\t14.286\t50.0\t57.143\t92.857\t21.429\t21.429\t35.714\t42.857\t71.429\t7.143\t7.143\t28.571\t78.571\t100.0\t0.231\t0.231\t0.231\t0.786\t0.214\t0.0\t7.143\t14.286\t42.857\t78.571\t100.0\t28.571\t57.143\t28.571\t50.0\t57.143\t0\t0\t0\t0\t0\t0.308\t0.0\t0.0\n+0.5\t0.5\t0.0\t8.333\t8.333\t58.333\t66.667\t100.0\t16.667\t16.667\t41.667\t50.0\t91.667\t0.0\t0.0\t0.0\t0.0\t0.0\t0.545\t0.0\t0.0\t0.5\t0.0\t0.5\t8.333\t8.333\t58.333\t66.667\t100.0\t0.0\t0.0\t0.0\t0.0\t0.0\t16.667\t16.667\t41.667\t50.0\t91.667\t0.0\t0.545\t0.0\t0.0\t0.5\t0.5\t0.0\t0.0\t0.0\t0.0\t0.0\t16.667\t16.667\t41.667\t50.0\t91.667\t8.333\t8.333\t58.333\t66.667\t100.0\t0.0\t0.0\t0.545\t0.5\t0.0\t0.5\t16.667\t16.667\t41.667\t50.0\t91.667\t0\t0\t0\t0\t0\t8.333\t8.333\t58.333\t66.667\t100.0\t0.0\t0.545\t0.0\t0.0\t0.5\t0.5\t0.0\t0.0\t0.0\t0.0\t0.0\t16.667\t16.667\t41.667\t50.0\t91.667\t8.333\t8.333\t58.333\t66.667\t100.0\t0.0\t0.0\t0.545\t1.0\t0.0\t0.0\t8.333\t25.0\t50.0\t75.0\t100.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.5\t0.5\t0.0\t16.667\t16.667\t41.667\t50.0\t91.667\t8.333\t8.333\t58.333\t66.667\t100.0\t0\t0\t0\t0\t0\t0.545\t0.0\t0.0\n+0.333\t0.667\t0.0\t11.111\t100.0\t11.111\t66.667\t100.0\t22.222\t22.222\t44.444\t55.556\t88.889\t0.0\t0.0\t0.0\t0.0\t0.0\t0.5\t0.0\t0.0\t0.333\t0.0\t0.667\t11.111\t100.0\t11.111\t66.667\t100.0\t0.0\t0.0\t0.0\t0.0\t0.0\t22.222\t22.222\t44.444\t55.556\t88.889\t0.0\t0.5\t0.0\t0.0\t0.667\t0.333\t0.0\t0.0\t0.0\t0.0\t0.0\t22.222\t22.222\t44.444\t55.556\t88.889\t11.111\t100.0\t11.111\t66.667\t100.0\t0.0\t0.0\t0.5\t0.667\t0.0\t0.333\t22.222\t22.222\t44.444\t55.556\t88.889\t0\t0\t0\t0\t0\t11.111\t100.0\t11.111\t66.667\t100.0\t0.0\t0.5\t0.0\t0.0\t0.667\t0.333\t0.0\t0.0\t0.0\t0.0\t0.0\t22.222\t22.222\t44.444\t55.556\t88.889\t11.111\t100.0\t11.111\t66.667\t100.0\t0.0\t0.0\t0.5\t1.0\t0.0\t0.0\t11.111\t22.222\t44.444\t66.667\t100.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.667\t0.333\t0.0\t22.222\t22.222\t44.444\t55.556\t88.889\t11.111\t100.0\t11.111\t66.667\t100.0\t0\t0\t0\t0\t0\t0.5\t0.0\t0.0\n+0.143\t0.786\t0.071\t50.0\t57.143\t50.0\t50.0\t57.143\t7.143\t14.286\t42.857\t78.571\t100.0\t28.571\t28.571\t28.571\t28.571\t28.571\t0.154\t0.0\t0.154\t0.214\t0.286\t0.5\t28.571\t57.143\t28.571\t50.0\t57.143\t7.143\t7.143\t78.571\t85.714\t100.0\t14.286\t14.286\t35.714\t64.286\t92.857\t0.0\t0.308\t0.308\t0.357\t0.429\t0.214\t7.143\t7.143\t28.571\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.857\t21.429\t57.143\t21.429\t50.0\t57.143\t0.385\t0.077\t0.231\t0.5\t0.0\t0.143\t14.286\t14.286\t35.714\t64.286\t92.857\t0\t0\t0\t0\t0\t50.0\t57.143\t50.0\t50.0\t57.143\t0.0\t0.154\t0.0\t0.357\t0.429\t0.214\t7.143\t7.143\t28.571\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.857\t21.429\t57.143\t21.429\t50.0\t57.143\t0.385\t0.077\t0.231\t0.357\t0.357\t0.286\t14.286\t14.286\t50.0\t57.143\t92.857\t21.429\t21.429\t35.714\t42.857\t71.429\t7.143\t7.143\t28.571\t78.571\t100.0\t0.231\t0.231\t0.231\t0.786\t0.214\t0.0\t7.143\t14.286\t42.857\t78.571\t100.0\t28.571\t57.143\t28.571\t50.0\t57.143\t0\t0\t0\t0\t0\t0.308\t0.0\t0.0\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_AddClassLabel/test-data/out.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AddClassLabel/test-data/out.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,13 @@\n+_ChargeC1\t_ChargeC2\t_ChargeC3\t_ChargeD1001\t_ChargeD1025\t_ChargeD1050\t_ChargeD1075\t_ChargeD1100\t_ChargeD2001\t_ChargeD2025\t_ChargeD2050\t_ChargeD2075\t_ChargeD2100\t_ChargeD3001\t_ChargeD3025\t_ChargeD3050\t_ChargeD3075\t_ChargeD3100\t_ChargeT12\t_ChargeT13\t_ChargeT23\t_HydrophobicityC1\t_HydrophobicityC2\t_HydrophobicityC3\t_HydrophobicityD1001\t_HydrophobicityD1025\t_HydrophobicityD1050\t_HydrophobicityD1075\t_HydrophobicityD1100\t_HydrophobicityD2001\t_HydrophobicityD2025\t_HydrophobicityD2050\t_HydrophobicityD2075\t_HydrophobicityD2100\t_HydrophobicityD3001\t_HydrophobicityD3025\t_HydrophobicityD3050\t_HydrophobicityD3075\t_HydrophobicityD3100\t_HydrophobicityT12\t_HydrophobicityT13\t_HydrophobicityT23\t_NormalizedVDWVC1\t_NormalizedVDWVC2\t_NormalizedVDWVC3\t_NormalizedVDWVD1001\t_NormalizedVDWVD1025\t_NormalizedVDWVD1050\t_NormalizedVDWVD1075\t_NormalizedVDWVD1100\t_NormalizedVDWVD2001\t_NormalizedVDWVD2025\t_NormalizedVDWVD2050\t_NormalizedVDWVD2075\t_NormalizedVDWVD2100\t_NormalizedVDWVD3001\t_NormalizedVDWVD3025\t_NormalizedVDWVD3050\t_NormalizedVDWVD3075\t_NormalizedVDWVD3100\t_NormalizedVDWVT12\t_NormalizedVDWVT13\t_NormalizedVDWVT23\t_PolarityC1\t_PolarityC2\t_PolarityC3\t_PolarityD1001\t_PolarityD1025\t_PolarityD1050\t_PolarityD1075\t_PolarityD1100\t_PolarityD2001\t_PolarityD2025\t_PolarityD2050\t_PolarityD2075\t_PolarityD2100\t_PolarityD3001\t_PolarityD3025\t_PolarityD3050\t_PolarityD3075\t_PolarityD3100\t_PolarityT12\t_PolarityT13\t_PolarityT23\t_PolarizabilityC1\t_PolarizabilityC2\t_PolarizabilityC3\t_PolarizabilityD1001\t_PolarizabilityD1025\t_PolarizabilityD1050\t_PolarizabilityD1075\t_PolarizabilityD1100\t_PolarizabilityD2001\t_PolarizabilityD2025\t_PolarizabilityD2050\t_PolarizabilityD2075\t_PolarizabilityD2100\t_PolarizabilityD3001\t_PolarizabilityD3025\t_PolarizabilityD3050\t_PolarizabilityD3075\t_PolarizabilityD3100\t_PolarizabilityT12\t_PolarizabilityT13\t_PolarizabilityT23\t_SecondaryStrC1\t_SecondaryStrC2\t_SecondaryStrC3\t_SecondaryStrD1001\t_SecondaryStrD1025\t_SecondaryStrD1050\t_SecondaryStrD1075\t_SecondaryStrD1100\t_SecondaryStrD2001\t_SecondaryStrD2025\t_SecondaryStrD2050\t_SecondaryStrD2075\t_SecondaryStrD2100\t_SecondaryStrD3001\t_SecondaryStrD3025\t_SecondaryStrD3050\t_SecondaryStrD3075\t_SecondaryStrD3100\t_SecondaryStrT12\t_SecondaryStrT13\t_SecondaryStrT23\t_SolventAccessibilityC1\t_SolventAccessibilityC2\t_SolventAccessibilityC3\t_SolventAccessibilityD1001\t_SolventAccessibilityD1025\t_SolventAccessibilityD1050\t_SolventAccessibilityD1075\t_SolventAccessibilityD1100\t_SolventAccessibilityD2001\t_SolventAccessibilityD2025\t_SolventAccessibilityD2050\t_SolventAccessibilityD2075\t_SolventAccessibilityD2100\t_SolventAccessibilityD3001\t_SolventAccessibilityD3025\t_SolventAccessibilityD3050\t_SolventAccessibilityD3075\t_SolventAccessibilityD3100\t_SolventAccessibilityT12\t_SolventAccessibilityT13\t_SolventAccessibilityT23\tClass_label\n+0.14300000000000002\t0.7859999999999999\t0.071\t50.0\t57.143\t50.0\t50.0\t57.143\t7.143\t14.286\t42.857\t78.571\t100.0\t28.570999999999998\t28.570999999999998\t28.570999999999998\t28.570999999999998\t28.570999999999998\t0.154\t0.0\t0.154\t0.214\t0.28600000000000003\t0.5\t28.570999999999998\t57.143\t28.570999999999998\t50.0\t57.143\t7.143\t7.143\t78.571\t85.714\t100.0\t14.286\t14.286\t35.714\t64.286\t92.85700000000001\t0.0\t0.308\t0.308\t0.35700000000000004\t0.429\t0.214\t7.143\t7.143\t28.570999999999998\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.85700000000001\t21.429000000000002\t57.143\t21.429000000000002\t50.0\t57.143\t0.385\t0.077\t0.231\t0.5\t0.0\t0.14300000000000002\t14.286\t14.286\t35.714\t64.286\t92.85700000000001\t0\t0\t0\t0\t0\t50.0\t57.143\t50.0\t50.0\t57.143\t0.0\t0.154\t0.0\t0.35700000000000004\t0.429\t0.214\t7.143\t7.143\t28.570999999999998\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.85700000000001\t21.429000000000002\t57.143\t21.429000000000002\t50.0\t57.143\t0.385\t0.077\t0.231\t0.35700000000000004\t0.35700000000000004\t0.28600000000000003\t14.286\t14.286\t50.0\t57.143\t92.85700000000001\t21.429000000000002\t21.429000000000002\t35.714\t42.857\t71.429\t7.143\t7.143\t28.570999999999998\t78.571\t100.0\t0.231\t0.231\t0.231\t0.7859999999999999\t0.214\t0.0\t7.143\t14.286\t42.857\t78'..b'\t92.85700000000001\t0\t0\t0\t0\t0\t50.0\t57.143\t50.0\t50.0\t57.143\t0.0\t0.154\t0.0\t0.35700000000000004\t0.429\t0.214\t7.143\t7.143\t28.570999999999998\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.85700000000001\t21.429000000000002\t57.143\t21.429000000000002\t50.0\t57.143\t0.385\t0.077\t0.231\t0.35700000000000004\t0.35700000000000004\t0.28600000000000003\t14.286\t14.286\t50.0\t57.143\t92.85700000000001\t21.429000000000002\t21.429000000000002\t35.714\t42.857\t71.429\t7.143\t7.143\t28.570999999999998\t78.571\t100.0\t0.231\t0.231\t0.231\t0.7859999999999999\t0.214\t0.0\t7.143\t14.286\t42.857\t78.571\t100.0\t28.570999999999998\t57.143\t28.570999999999998\t50.0\t57.143\t0\t0\t0\t0\t0\t0.308\t0.0\t0.0\t0\n+0.5\t0.5\t0.0\t8.333\t8.333\t58.333\t66.667\t100.0\t16.667\t16.667\t41.667\t50.0\t91.667\t0.0\t0.0\t0.0\t0.0\t0.0\t0.545\t0.0\t0.0\t0.5\t0.0\t0.5\t8.333\t8.333\t58.333\t66.667\t100.0\t0.0\t0.0\t0.0\t0.0\t0.0\t16.667\t16.667\t41.667\t50.0\t91.667\t0.0\t0.545\t0.0\t0.0\t0.5\t0.5\t0.0\t0.0\t0.0\t0.0\t0.0\t16.667\t16.667\t41.667\t50.0\t91.667\t8.333\t8.333\t58.333\t66.667\t100.0\t0.0\t0.0\t0.545\t0.5\t0.0\t0.5\t16.667\t16.667\t41.667\t50.0\t91.667\t0\t0\t0\t0\t0\t8.333\t8.333\t58.333\t66.667\t100.0\t0.0\t0.545\t0.0\t0.0\t0.5\t0.5\t0.0\t0.0\t0.0\t0.0\t0.0\t16.667\t16.667\t41.667\t50.0\t91.667\t8.333\t8.333\t58.333\t66.667\t100.0\t0.0\t0.0\t0.545\t1.0\t0.0\t0.0\t8.333\t25.0\t50.0\t75.0\t100.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.5\t0.5\t0.0\t16.667\t16.667\t41.667\t50.0\t91.667\t8.333\t8.333\t58.333\t66.667\t100.0\t0\t0\t0\t0\t0\t0.545\t0.0\t0.0\t0\n+0.33299999999999996\t0.667\t0.0\t11.110999999999999\t100.0\t11.110999999999999\t66.667\t100.0\t22.221999999999998\t22.221999999999998\t44.443999999999996\t55.556000000000004\t88.889\t0.0\t0.0\t0.0\t0.0\t0.0\t0.5\t0.0\t0.0\t0.33299999999999996\t0.0\t0.667\t11.110999999999999\t100.0\t11.110999999999999\t66.667\t100.0\t0.0\t0.0\t0.0\t0.0\t0.0\t22.221999999999998\t22.221999999999998\t44.443999999999996\t55.556000000000004\t88.889\t0.0\t0.5\t0.0\t0.0\t0.667\t0.33299999999999996\t0.0\t0.0\t0.0\t0.0\t0.0\t22.221999999999998\t22.221999999999998\t44.443999999999996\t55.556000000000004\t88.889\t11.110999999999999\t100.0\t11.110999999999999\t66.667\t100.0\t0.0\t0.0\t0.5\t0.667\t0.0\t0.33299999999999996\t22.221999999999998\t22.221999999999998\t44.443999999999996\t55.556000000000004\t88.889\t0\t0\t0\t0\t0\t11.110999999999999\t100.0\t11.110999999999999\t66.667\t100.0\t0.0\t0.5\t0.0\t0.0\t0.667\t0.33299999999999996\t0.0\t0.0\t0.0\t0.0\t0.0\t22.221999999999998\t22.221999999999998\t44.443999999999996\t55.556000000000004\t88.889\t11.110999999999999\t100.0\t11.110999999999999\t66.667\t100.0\t0.0\t0.0\t0.5\t1.0\t0.0\t0.0\t11.110999999999999\t22.221999999999998\t44.443999999999996\t66.667\t100.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.667\t0.33299999999999996\t0.0\t22.221999999999998\t22.221999999999998\t44.443999999999996\t55.556000000000004\t88.889\t11.110999999999999\t100.0\t11.110999999999999\t66.667\t100.0\t0\t0\t0\t0\t0\t0.5\t0.0\t0.0\t0\n+0.14300000000000002\t0.7859999999999999\t0.071\t50.0\t57.143\t50.0\t50.0\t57.143\t7.143\t14.286\t42.857\t78.571\t100.0\t28.570999999999998\t28.570999999999998\t28.570999999999998\t28.570999999999998\t28.570999999999998\t0.154\t0.0\t0.154\t0.214\t0.28600000000000003\t0.5\t28.570999999999998\t57.143\t28.570999999999998\t50.0\t57.143\t7.143\t7.143\t78.571\t85.714\t100.0\t14.286\t14.286\t35.714\t64.286\t92.85700000000001\t0.0\t0.308\t0.308\t0.35700000000000004\t0.429\t0.214\t7.143\t7.143\t28.570999999999998\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.85700000000001\t21.429000000000002\t57.143\t21.429000000000002\t50.0\t57.143\t0.385\t0.077\t0.231\t0.5\t0.0\t0.14300000000000002\t14.286\t14.286\t35.714\t64.286\t92.85700000000001\t0\t0\t0\t0\t0\t50.0\t57.143\t50.0\t50.0\t57.143\t0.0\t0.154\t0.0\t0.35700000000000004\t0.429\t0.214\t7.143\t7.143\t28.570999999999998\t78.571\t100.0\t14.286\t14.286\t42.857\t64.286\t92.85700000000001\t21.429000000000002\t57.143\t21.429000000000002\t50.0\t57.143\t0.385\t0.077\t0.231\t0.35700000000000004\t0.35700000000000004\t0.28600000000000003\t14.286\t14.286\t50.0\t57.143\t92.85700000000001\t21.429000000000002\t21.429000000000002\t35.714\t42.857\t71.429\t7.143\t7.143\t28.570999999999998\t78.571\t100.0\t0.231\t0.231\t0.231\t0.7859999999999999\t0.214\t0.0\t7.143\t14.286\t42.857\t78.571\t100.0\t28.570999999999998\t57.143\t28.570999999999998\t50.0\t57.143\t0\t0\t0\t0\t0\t0.308\t0.0\t0.0\t0\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/PDAUG_Basic_Plots.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/PDAUG_Basic_Plots.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,185 @@ +from wordcloud import WordCloud, STOPWORDS +import matplotlib.pyplot as plt +import glob, os, sys +import pandas as pd +import plotly.express as px +################################### +from wordcloud import WordCloud, STOPWORDS +import matplotlib.pyplot as plt + + +def ReturnPeptide(Infile): + + file = open(Infile) + lines = file.readlines() + + Index = [] + Pep = [] + + for line in lines: + if '>' in line: + line = line.strip('\n') + line = line.strip('\r') + Index.append(line.strip('\n')) + else: + line = line.strip('\n') + line = line.strip('\r') + Pep.append(line) + return Pep, Index + + +def FragReturn(Seq, d): + + tokens = [] + for seq in Seq: + + for l in range(d): + if l < d: + for x in range(int(len(seq)/d)): + s = (x*d)+l + e = s+d + if len(seq[s:e]) == d: + tokens.append(seq[s:e]) + + else: + pass + else: + pass + return tokens + +def PlotWordCloud(TokenList, OutFile): + + comment_words = '' + stopwords = set(STOPWORDS) + comment_words += " ".join(TokenList)+" " + + wordcloud = WordCloud(width = 800, height = 800, + background_color ='white', + stopwords = stopwords, + min_font_size = 10).generate(comment_words) + + plt.figure(figsize = (8, 8), facecolor = None) + plt.imshow(wordcloud) + plt.axis("off") + plt.tight_layout(pad = 0) + plt.savefig(OutFile,dpi=600) + + +def HeatMapPlot(Infile, IndexColumn, x_label, y_label, Workdirpath, htmlOutDir, htmlFname): + + if not os.path.exists(htmlOutDir): + os.makedirs(htmlOutDir) + + df = pd.read_csv(Infile, sep="\t") + y_ticks = list(df[IndexColumn]) + + fig = px.imshow(df[df.columns.tolist()[1:]], labels=dict(x=x_label, y=y_label), y=y_ticks) + fig.update_xaxes(side="top") + + fig.write_html(os.path.join(Workdirpath, htmlOutDir, htmlFname)) + + +def BoxPlot(InFile, Feature, label, Workdirpath, htmlOutDir, htmlFname): + + Workdirpath = os.path.join(os.getcwd(),'report_dir') + + if not os.path.exists(htmlOutDir): + os.makedirs(htmlOutDir) + + df = pd.read_csv(InFile, sep="\t") + fig = px.box(df, y=Feature, color=label, notched=True, title="Box plot of "+Feature ) + fig.write_html(os.path.join(Workdirpath, htmlOutDir, htmlFname)) + + +def ScatterPlot(InFile, Feature1, Feature2, Feature3, Label, PlotType, Workdirpath, htmlOutDir, htmlFname): + + Workdirpath = os.path.join(os.getcwd(),'report_dir') + + if not os.path.exists(htmlOutDir): + os.makedirs(htmlOutDir) + + df = pd.read_csv(InFile, sep="\t") + + + if PlotType == "3D": + fig = px.scatter_3d(df, x=Feature1, y=Feature2, z=Feature3, color=Label) + fig.write_html(os.path.join(Workdirpath, htmlOutDir, htmlFname)) + + elif PlotType == "2D": + fig = px.scatter(df, x=Feature1, y=Feature2, color=Label) + fig.write_html(os.path.join(Workdirpath, htmlOutDir, htmlFname)) + + +def WordCloudPlot(InFile, d, Workdirpath, htmlOutDir, htmlFname): + + Workdirpath = os.path.join(os.getcwd(),'report_dir') + if not os.path.exists(htmlOutDir): + os.makedirs(htmlOutDir) + + Peps,_ = ReturnPeptide(InFile) + Frags = FragReturn(Peps, int(d)) + + PlotWordCloud(Frags, "out.png") + #HTML_Gen(os.path.join(Workdirpath, htmlOutDir, htmlFname)) + + +if __name__=="__main__": + + + import argparse + + parser = argparse.ArgumentParser(description='Deployment tool') + subparsers = parser.add_subparsers() + + HM = subparsers.add_parser('HeatMap') + HM.add_argument("-I", "--InFile", required=True, default=None, help="Path to target tsv file") + HM.add_argument("-C", "--IndexColumn", required=True, help="") + HM.add_argument("-x", "--x_label", required=True, help="") + HM.add_argument("-y","--y_label", required=True, help="") + HM.add_argument("--htmlOutDir", required=False, default=os.path.join(os.getcwd(),'report_dir'), help="Path to html directory") + HM.add_argument("--htmlFname", required=False, help="HTML out file", default="report.html") + HM.add_argument("--Workdirpath", required=False, default=os.getcwd(), help="Path to working directory") + + BP = subparsers.add_parser('BoxPlot') + BP.add_argument("-I", "--InFile", required=True, default=None, help="Input file") + BP.add_argument("-F", "--Feature", required=True, default=None, help="Feature list") + BP.add_argument("-O", "--htmlOutDir", required=False, default=os.path.join(os.getcwd(),'report_dir'), help="Path to html dir") + BP.add_argument("-Hf", "--htmlFname", required=False, help="HTML out file", default="report.html") + BP.add_argument("-Wp", "--Workdirpath", required=False, default=os.getcwd(), help="Path to Working Directory") + BP.add_argument("-L", "--Label", required=False, default=False, help="Working Directory Path") + + SP = subparsers.add_parser('ScatterPlot') + SP.add_argument("-I", "--InFile", required=True, default=None, help="Path to target tsv file") + SP.add_argument("-F1", "--Feature1", required=True, default=True, help="Path to target tsv file") + SP.add_argument("-F2", "--Feature2", required=True, default=True, help="Roatate ticks") + SP.add_argument("-F3", "--Feature3", required=False, help="Roatate ticks") + SP.add_argument("-O","--htmlOutDir", required=False, default=os.path.join(os.getcwd(),'report_dir'), help="HTML Out Dir") + SP.add_argument("-Hf","--htmlFname", required=False, help="HTML out file", default="jai.html") + SP.add_argument("-Wp","--Workdirpath", required=False, default=os.getcwd(), help="Working Directory Path") + SP.add_argument("-T", "--PlotType", required=True, help="") + SP.add_argument("-L","--Label", required=False, default=False, help="Working Directory Path") + + WC = subparsers.add_parser('WordCloud') + WC.add_argument("-I", "--InFile", required=True, default=None, help="Path to target tsv file") + WC.add_argument("-D", "--FragSize", required=True, default=None, help="Path to target tsv file") + WC.add_argument("-O","--htmlOutDir", required=False, default=os.path.join(os.getcwd(),'report_dir'), help="HTML Out Dir") + WC.add_argument("-Hf","--htmlFname", required=False, help="HTML out file", default="report.html") + WC.add_argument("-Wp","--Workdirpath", required=False, default=os.getcwd(), help="Working Directory Path") + + + args = parser.parse_args() + + if sys.argv[1] == "HeatMap": + HeatMapPlot(args.InFile, args.IndexColumn, args.x_label, args.y_label, args.Workdirpath, args.htmlOutDir, args.htmlFname) + + elif sys.argv[1] == "ScatterPlot": + ScatterPlot(args.InFile, args.Feature1, args.Feature2, args.Feature3, args.Label, args.PlotType, args.Workdirpath, args.htmlOutDir, args.htmlFname) + + elif sys.argv[1] == "BoxPlot": + BoxPlot(args.InFile, args.Feature, args.Label, args.Workdirpath, args.htmlOutDir, args.htmlFname) + + elif sys.argv[1] == "WordCloud": + WordCloudPlot(args.InFile, args.FragSize, args.Workdirpath, args.htmlOutDir, args.htmlFname) + + else: + print("In Correct Option:") |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/positive.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/test-data/positive.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLFDIIKKIAESI +>ACP4 +GLLDIVKKVVGAFGSL +>ACP6 +GLFDIVKKVVGALGSL +>ACP8 +GLFDIVKKVVGTLAGL +>ACP10 +GLFDIAKKVIGVIGSL +>ACP12 +GLFDIVKKIAGHIAGSI +>ACP14 +GLFDIVKKIAGHIVSSI +>ACP16 +AACARFIDDFCDTLTPNIYRPRDNGQRCYAVNGHRCDFTVFNTNNGGNPIRASTPNCKTVLRTAANRCPTG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LESLESLAKGIVSGIQA +>ACP78 +TRSSRAGLQFPVGRVHRLLRK +>ACP80 +FFGWLIKGAIHAGKAIHGLIHRRRH +>ACP82 +GLFDVIKKVASVIGGL +>ACP84 +GLFDIIKKVASVVGGL +>ACP86 +GRFKRFRKKFKKLFKKLSPVIPLLHLG +>ACP88 +GGLRSLGRKILRAWKKYGPIIVPIIRIG +>ACP90 +RRRPRPPYLPRPRPPPFFPPRLPPRIPPGFPPRFPPRFP +>ACP92 +GLLGPLLKIAAKVGSNLL +>ACP94 +GLICESCRKIIQKLEDMVGPQPNEDTVTQAASQVCDKLKILRGLCKKIMRSFLRRISWDILTGKKPQAICVDIKICKEKTGLI +>ACP96 +DHYNCVSSGGQCLYSACPIFTKIQGTCYRGKAKCCK +>ACP98 +FFHHIFRGIVHVGKTIHRLVTG +>ACP100 +KLAKLAKKLAKLAK +>ACP102 +KTCENLADTFRGPCFATSNC +>ACP104 +IDWKKLLDAAKQIL +>ACP106 +FLIGMTQGLICLITRKC +>ACP108 +ILPILSLIGGLLGK +>ACP110 +GLLGLLGSVVSHVVPAIVGHF +>ACP112 +GLLGLLGSVVSHVLPAITQHL +>ACP114 +GIKCRFCCGCCTPGICGVCCRF +>ACP116 +QSHLSLCRWCCNCCRSNKGC +>ACP118 +ILGPVISTIGGVLGGLLKNL +>ACP120 +FLPILASLAAKFGPKLFCLVTKKC +>ACP122 +GLWSKIKEAAKAAGKAALNAVTGLVNQGDQPS +>ACP124 +LLGMIPLAISAISALSKL +>ACP126 +GLPVCGETCVGGTCNTPGCSCSWPVCTRN +>ACP128 +GVPICGETCTLGTCYTAGCSCSWPVCTRN +>ACP130 +GIPCGESCVWIPCISSAIGCSCKSKVCYRN +>ACP132 +GIPCAESCVWIPCTVTALIGCGCSNKVCYN +>ACP134 +GTFPCGESCVFIPCLTSAIGCSCKSKVCYKN +>ACP136 +GLLPCAESCVYIPCLTTVIGCSCKSKVCYKN +>ACP138 +GRDYRTCLTIVQKLKKMVDKPTQRSVSNAATRVCRTGRSRWRDVCRNFMRRYQSRVTQGLVAGETAQQICEDLRLCIPSTGPL +>ACP140 +GETDPNTQLLNDLGNNMAWGAALGAPGGLGSAALGAAGGALQTVGQGLIDHGPVNVFIPVLIGPSWNGSGSGYNSATSSSGSGS +>ACP142 +GFKDLLKGAAKALVKTVLF +>ACP144 +KSCCPNTTGRNIYNACRLTGAPRPTCAKLSGCKIISGSTCPSDYPK +>ACP146 +KSCCPNTTGRNIYNTCRFGGGSREVCARISGCKIISASTCPSDYPK +>ACP148 +KSCCPNTTGRNIYNTCRLTGSSRETCAKLSGCKIISASTCPSNYPK +>ACP150 +MRKEFHNVLSSGQLLADKRPARDYNRK +>ACP152 +KSCCKNTTGRNIYNTCRFAGGSRERCAKLSGCKIISASTCPSDYPK +>ACP154 +FIFHIIKGLFHAGKMIHGLVTRRRH +>ACP156 +FLPAIVGAAAKFLPKIFCAISKKC +>ACP158 +FLPIIAGVAAKVLPKIFCAISKKC +>ACP160 +FLPIIAGIAAKFLPKIFCTISKKC +>ACP162 +FLPVIAGVAANFLPKLFCAISKKC +>ACP164 +FLPIIAGAAAKVVQKIFCAISKKC +>ACP166 +GLMDTIKGVAKTVAASWLDKLKCKITGC +>ACP168 +VNWKKVLGKIIKVAK +>ACP170 +VNWKKILGKIIKVAK +>ACP172 +FFSLLPSLIGGLVSAIK +>ACP174 +RFRLPFRRPPIRIHPPPFYPPFRRFL +>ACP176 +KWKLFKKIPKFLHLAKKF +>ACP178 +YKQCHKKGGHCFPKEKICLPPSSDFGKMDCRWRWKCCKKGSG +>ACP180 +GIPCGESCVFIPCITGAIGCSCKSKVCYRN +>ACP182 +GEFLKCGESCVQGECYTPGCSCDWPICKKN +>ACP184 +GLPTCGETCTLGTCYVPDCSCSWPICMKN +>ACP186 +GLPVCGETCFGGTCNTPGCTCDPWPVCTRN +>ACP188 +FVDLKKIANIINSIFGK +>ACP190 +GSIPCGESCVFIPCISSVIGCACKSKVCYKN +>ACP192 +GIPCGESCVFIPCISSVIGCSCSSKVCYRN +>ACP194 +GSIPCGESCVFIPCISAVIGCSCSNKVCYKN +>ACP196 +GSIPCEGSCVFIPCISAIIGCSCSNKVCYKN +>ACP198 +GIPCGESCVFIPCLTSAIDCSCKSKVCYRN +>ACP200 +GMWSKILGHLIR +>ACP202 +GKWMSLLKHILK +>ACP204 +GFGMALKLLKKVL +>ACP206 +GTGLPMSERRKIMLMMR +>ACP208 +GIACGESCVFLGCFIPGCSCKSKVCYFN +>ACP210 +GVIPCGESCVFIPCISSVLGCSCKNKVCYRD +>ACP212 +KLCGETCFKFKCYTPGCSCSYPFCK +>ACP214 +GDACGETCFTGICFTAGCSCNPWPTCTRN +>ACP216 +GIPCAESCVWIPPCTITALMGCSCKNNVCYNN +>ACP218 +IPCGESCVWIPCITAIAGCSCKNKVCYT +>ACP220 +AIPCGESCVWIPCISTVIGCSCSNKVCYR +>ACP222 +GEYCGESCYLIPCFTPGCYCVSRQCVNKN +>ACP224 +IPCGESCVWIPCISGMFGCSCKDKVCYS +>ACP226 +FLGWLFKWASK +>ACP228 +FLKWLFKWAKK +>ACP230 +KWKSFLKTFKSAKKTVLHTALKAISS +>ACP232 +KWKSFLKTFKSLKKTVLHTLLKAISS +>ACP234 +MPFLFCNVNDVCNFASRNDYSCNYYSNSYSFWLASLNPER +>ACP236 +KWKLFKKIGAVLKVL +>ACP238 +GACFSIAHECGA +>ACP240 +TCCATGACGTTCCTGACGTT +>ACP242 +KRFKQDGGASHASPASS +>ACP244 +KRAKAAGGWSHWSPWSSC +>ACP246 +LLGDFFRKSKEKIGKEFKRIVQRIKDFLRNLVPRTES +>ACP248 +FLGALFKVASKVLPSVKCAITKKC +>ACP250 +GIGKFLKKAKKFGKAFVKILKK +>ACP252 +GIGKFLKKAKKGIGAVLKVLTTGL +>ACP254 +VECYGPNRPQF +>ACP256 +KRFKQDGGWSHWSPWSSC +>ACP258 +RQVFQVAYIIIKA +>ACP260 +KAFDITYVRLKF +>ACP262 +DFKLFAVTIKYR +>ACP264 +DFKLFAVYIKYR +>ACP266 +WHSDMEWWYLLG +>ACP268 +HTMYYHHYQHHL +>ACP270 +RLVSYNGIIFFLK +>ACP272 +GRENYHGCTTHWGFTLC +>ACP274 +ASSSYPLIHWRPWAR |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test1.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/test-data/test1.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,9 @@ +Algo accuracy presision recall f1 mean_auc +SVMC 0.608 0.7809999999999999 0.608 0.537 0.608 +SGDC 0.5 0.35 0.5 0.33399999999999996 0.608 +DTC 0.608 0.7809999999999999 0.608 0.537 0.608 +GBC 0.608 0.7809999999999999 0.608 0.537 0.608 +RFC 0.5 0.25 0.5 0.33299999999999996 0.5 +LRC 0.608 0.7809999999999999 0.608 0.537 0.608 +KNC 0.5 0.25 0.5 0.33299999999999996 0.608 +GNBC 0.608 0.7809999999999999 0.608 0.537 0.608 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test1/report_dir/report.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/test-data/test1/report_dir/report.html Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+<html>\n+<head><meta charset="utf-8" /></head>\n+<body>\n+ <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: \'local\'};</script>\n+ <script type="text/javascript">/**\n+* plotly.js v1.55.2\n+* Copyright 2012-2020, Plotly, Inc.\n+* All rights reserved.\n+* Licensed under the MIT license\n+*/\n+!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module \'"+o+"\'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return a(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),a={"X,X div":"direction:ltr;font-family:\'Open Sans\', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:\'Open Sans\', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none'..b'rker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolar"}], "scatterpolargl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolargl"}], "scatterternary": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]], "sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}, "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "geo": {"bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white"}, "hoverlabel": {"align": "left"}, "hovermode": "closest", "mapbox": {"style": "light"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "ternary": {"aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "title": {"x": 0.05}, "xaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}, "yaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}}}, "xaxis": {"constrain": "domain", "scaleanchor": "y", "side": "top", "title": {"text": "Performance"}}, "yaxis": {"autorange": "reversed", "constrain": "domain", "title": {"text": "Algorithms"}}}, {"responsive": true} ) }; </script> </div>\n+</body>\n+</html>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test1/report_dir/report.html.re --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/test-data/test1/report_dir/report.html.re Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+\\<html\\>\\\n+\\<head\\>\\<meta\\ charset\\=\\"utf\\-8\\"\\ \\/\\>\\<\\/head\\>\\\n+\\<body\\>\\\n+\\ \\ \\ \\ \\<div\\>\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\<script\\ type\\=\\"text\\/javascript\\"\\>window\\.PlotlyConfig\\ \\=\\ \\{MathJaxConfig\\:\\ \\\'local\\\'\\}\\;\\<\\/script\\>\\\n+\\ \\ \\ \\ \\ \\ \\ \\ \\<script\\ type\\=\\"text\\/javascript\\"\\>\\/\\*\\*\\\n+\\*\\ plotly\\.js\\ v1\\.55\\.2\\\n+\\*\\ Copyright\\ 2012\\-2020\\,\\ Plotly\\,\\ Inc\\.\\\n+\\*\\ All\\ rights\\ reserved\\.\\\n+\\*\\ Licensed\\ under\\ the\\ MIT\\ license\\\n+\\*\\/\\\n+\\!function\\(t\\)\\{if\\(\\"object\\"\\=\\=typeof\\ exports\\&\\&\\"undefined\\"\\!\\=typeof\\ module\\)module\\.exports\\=t\\(\\)\\;else\\ if\\(\\"function\\"\\=\\=typeof\\ define\\&\\&define\\.amd\\)define\\(\\[\\]\\,t\\)\\;else\\{\\(\\"undefined\\"\\!\\=typeof\\ window\\?window\\:\\"undefined\\"\\!\\=typeof\\ global\\?global\\:\\"undefined\\"\\!\\=typeof\\ self\\?self\\:this\\)\\.Plotly\\=t\\(\\)\\}\\}\\(\\(function\\(\\)\\{return\\ function\\ t\\(e\\,r\\,n\\)\\{function\\ a\\(o\\,s\\)\\{if\\(\\!r\\[o\\]\\)\\{if\\(\\!e\\[o\\]\\)\\{var\\ l\\=\\"function\\"\\=\\=typeof\\ require\\&\\&require\\;if\\(\\!s\\&\\&l\\)return\\ l\\(o\\,\\!0\\)\\;if\\(i\\)return\\ i\\(o\\,\\!0\\)\\;var\\ c\\=new\\ Error\\(\\"Cannot\\ find\\ module\\ \\\'\\"\\+o\\+\\"\\\'\\"\\)\\;throw\\ c\\.code\\=\\"MODULE\\_NOT\\_FOUND\\"\\,c\\}var\\ u\\=r\\[o\\]\\=\\{exports\\:\\{\\}\\}\\;e\\[o\\]\\[0\\]\\.call\\(u\\.exports\\,\\(function\\(t\\)\\{return\\ a\\(e\\[o\\]\\[1\\]\\[t\\]\\|\\|t\\)\\}\\)\\,u\\,u\\.exports\\,t\\,e\\,r\\,n\\)\\}return\\ r\\[o\\]\\.exports\\}for\\(var\\ i\\=\\"function\\"\\=\\=typeof\\ require\\&\\&require\\,o\\=0\\;o\\<n\\.length\\;o\\+\\+\\)a\\(n\\[o\\]\\)\\;return\\ a\\}\\(\\{1\\:\\[function\\(t\\,e\\,r\\)\\{\\"use\\ strict\\"\\;var\\ n\\=t\\(\\"\\.\\.\\/src\\/lib\\"\\)\\,a\\=\\{\\"X\\,X\\ div\\"\\:\\"direction\\:ltr\\;font\\-family\\:\\\'Open\\ Sans\\\'\\,\\ verdana\\,\\ arial\\,\\ sans\\-serif\\;margin\\:0\\;padding\\:0\\;\\"\\,\\"X\\ input\\,X\\ button\\"\\:\\"font\\-family\\:\\\'Open\\ Sans\\\'\\,\\ verdana\\,\\ arial\\,\\ sans\\-serif\\;\\"\\,\\"X\\ input\\:focus\\,X\\ button\\:focus\\"\\:\\"outline\\:none\\;\\"\\,\\"X\\ a\\"\\:\\"text\\-decoration\\:none\\;\\"\\,\\"X\\ a\\:hover\\"\\:\\"text\\-decoration\\:none\\;\\"\\,\\"X\\ \\.crisp\\"\\:\\"shape\\-rendering\\:crispEdges\\;\\"\\,\\"X\\ \\.user\\-select\\-none\\"\\:\\"\\-webkit\\-user\\-select\\:none\\;\\-moz\\-user\\-select\\:none\\;\\-ms\\-user\\-select\\:none\\;\\-o\\-user\\-select\\:none\\;user\\-select\\:none\\;\\"\\,\\"X\\ svg\\"\\:\\"overflow\\:hidden\\;\\"\\,\\"X\\ svg\\ a\\"\\:\\"fill\\:\\#447adb\\;\\"\\,\\"X\\ svg\\ a\\:hover\\"\\:\\"fill\\:\\#3c6dc5\\;\\"\\,\\"X\\ \\.main\\-svg\\"\\:\\"position\\:absolute\\;top\\:0\\;left\\:0\\;pointer\\-events\\:none\\;\\"\\,\\"X\\ \\.main\\-svg\\ \\.draglayer\\"\\:\\"pointer\\-events\\:all\\;\\"\\,\\"X\\ \\.cursor\\-default\\"\\:\\"cursor\\:default\\;\\"\\,\\"X\\ \\.cursor\\-pointer\\"\\:\\"cursor\\:pointer\\;\\"\\,\\"X\\ \\.cursor\\-crosshair\\"\\:\\"cursor\\:crosshair\\;\\"\\,\\"X\\ \\.cursor\\-move\\"\\:\\"cursor\\:move\\;\\"\\,\\"X\\ \\.cursor\\-col\\-resize\\"\\:\\"cursor\\:col\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-row\\-resize\\"\\:\\"cursor\\:row\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ns\\-resize\\"\\:\\"cursor\\:ns\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ew\\-resize\\"\\:\\"cursor\\:ew\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-sw\\-resize\\"\\:\\"cursor\\:sw\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-s\\-resize\\"\\:\\"cursor\\:s\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-se\\-resize\\"\\:\\"cursor\\:se\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-w\\-resize\\"\\:\\"cursor\\:w\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-e\\-resize\\"\\:\\"cursor\\:e\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-nw\\-resize\\"\\:\\"cursor\\:nw\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-n\\-resize\\"\\:\\"cursor\\:n\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ne\\-resize\\"\\:\\"cursor\\:ne\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-grab\\"\\:\\"cursor\\:\\-webkit\\-grab\\;cursor\\:grab\\;\\"\\,\\"X\\ \\.modebar\\"\\:\\"position\\:absolute\\;top\\:2px\\;right\\:2px\\;\\"\\,\\"X\\ \\.ease\\-bg\\"\\:\\"\\-webkit\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-moz\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-ms\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-o\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\"\\,\\"X\\ \\.modebar\\-\\-hover\\>\\:not\\(\\.watermark\\)\\"\\:\\"opacity\\:0\\;\\-webkit\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-moz\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-ms\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-o\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\"\\,\\"X\\:hover\\ \\.modebar\\-\\-hover\\ \\.modebar\\-group\\"\\:\\"opacity\\:1\\;\\"\\,\\"X\\'..b'e6f5d0\\"\\]\\,\\ \\[0\\.7\\,\\ \\"\\#b8e186\\"\\]\\,\\ \\[0\\.8\\,\\ \\"\\#7fbc41\\"\\]\\,\\ \\[0\\.9\\,\\ \\"\\#4d9221\\"\\]\\,\\ \\[1\\,\\ \\"\\#276419\\"\\]\\]\\,\\ \\"sequential\\"\\:\\ \\[\\[0\\.0\\,\\ \\"\\#0d0887\\"\\]\\,\\ \\[0\\.1111111111111111\\,\\ \\"\\#46039f\\"\\]\\,\\ \\[0\\.2222222222222222\\,\\ \\"\\#7201a8\\"\\]\\,\\ \\[0\\.3333333333333333\\,\\ \\"\\#9c179e\\"\\]\\,\\ \\[0\\.4444444444444444\\,\\ \\"\\#bd3786\\"\\]\\,\\ \\[0\\.5555555555555556\\,\\ \\"\\#d8576b\\"\\]\\,\\ \\[0\\.6666666666666666\\,\\ \\"\\#ed7953\\"\\]\\,\\ \\[0\\.7777777777777778\\,\\ \\"\\#fb9f3a\\"\\]\\,\\ \\[0\\.8888888888888888\\,\\ \\"\\#fdca26\\"\\]\\,\\ \\[1\\.0\\,\\ \\"\\#f0f921\\"\\]\\]\\,\\ \\"sequentialminus\\"\\:\\ \\[\\[0\\.0\\,\\ \\"\\#0d0887\\"\\]\\,\\ \\[0\\.1111111111111111\\,\\ \\"\\#46039f\\"\\]\\,\\ \\[0\\.2222222222222222\\,\\ \\"\\#7201a8\\"\\]\\,\\ \\[0\\.3333333333333333\\,\\ \\"\\#9c179e\\"\\]\\,\\ \\[0\\.4444444444444444\\,\\ \\"\\#bd3786\\"\\]\\,\\ \\[0\\.5555555555555556\\,\\ \\"\\#d8576b\\"\\]\\,\\ \\[0\\.6666666666666666\\,\\ \\"\\#ed7953\\"\\]\\,\\ \\[0\\.7777777777777778\\,\\ \\"\\#fb9f3a\\"\\]\\,\\ \\[0\\.8888888888888888\\,\\ \\"\\#fdca26\\"\\]\\,\\ \\[1\\.0\\,\\ \\"\\#f0f921\\"\\]\\]\\}\\,\\ \\"colorway\\"\\:\\ \\[\\"\\#636efa\\"\\,\\ \\"\\#EF553B\\"\\,\\ \\"\\#00cc96\\"\\,\\ \\"\\#ab63fa\\"\\,\\ \\"\\#FFA15A\\"\\,\\ \\"\\#19d3f3\\"\\,\\ \\"\\#FF6692\\"\\,\\ \\"\\#B6E880\\"\\,\\ \\"\\#FF97FF\\"\\,\\ \\"\\#FECB52\\"\\]\\,\\ \\"font\\"\\:\\ \\{\\"color\\"\\:\\ \\"\\#2a3f5f\\"\\}\\,\\ \\"geo\\"\\:\\ \\{\\"bgcolor\\"\\:\\ \\"white\\"\\,\\ \\"lakecolor\\"\\:\\ \\"white\\"\\,\\ \\"landcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"showlakes\\"\\:\\ true\\,\\ \\"showland\\"\\:\\ true\\,\\ \\"subunitcolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"hoverlabel\\"\\:\\ \\{\\"align\\"\\:\\ \\"left\\"\\}\\,\\ \\"hovermode\\"\\:\\ \\"closest\\"\\,\\ \\"mapbox\\"\\:\\ \\{\\"style\\"\\:\\ \\"light\\"\\}\\,\\ \\"paper\\_bgcolor\\"\\:\\ \\"white\\"\\,\\ \\"plot\\_bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"polar\\"\\:\\ \\{\\"angularaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"radialaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"scene\\"\\:\\ \\{\\"xaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"zaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\}\\,\\ \\"shapedefaults\\"\\:\\ \\{\\"line\\"\\:\\ \\{\\"color\\"\\:\\ \\"\\#2a3f5f\\"\\}\\}\\,\\ \\"ternary\\"\\:\\ \\{\\"aaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"baxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"caxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"title\\"\\:\\ \\{\\"x\\"\\:\\ 0\\.05\\}\\,\\ \\"xaxis\\"\\:\\ \\{\\"automargin\\"\\:\\ true\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"title\\"\\:\\ \\{\\"standoff\\"\\:\\ 15\\}\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\,\\ \\"zerolinewidth\\"\\:\\ 2\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"automargin\\"\\:\\ true\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"title\\"\\:\\ \\{\\"standoff\\"\\:\\ 15\\}\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\,\\ \\"zerolinewidth\\"\\:\\ 2\\}\\}\\}\\,\\ \\"xaxis\\"\\:\\ \\{\\"constrain\\"\\:\\ \\"domain\\"\\,\\ \\"scaleanchor\\"\\:\\ \\"y\\"\\,\\ \\"side\\"\\:\\ \\"top\\"\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Performance\\"\\}\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"autorange\\"\\:\\ \\"reversed\\"\\,\\ \\"constrain\\"\\:\\ \\"domain\\"\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Algorithms\\"\\}\\}\\}\\,\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\{\\"responsive\\"\\:\\ true\\}\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\)\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\}\\;\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\<\\/script\\>\\ \\ \\ \\ \\ \\ \\ \\ \\<\\/div\\>\\\n+\\<\\/body\\>\\\n+\\<\\/html\\>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test2.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/test-data/test2.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,101 @@ +a1 a2 a3 a4 class +0.745792458 0.426207561 0.191600108 0.288065693 1 +0.119121966 0.115445564 0.495149009 0.819996523 1 +0.628359245 0.368612085 0.313798062 0.969106796 1 +0.573629151 0.360519016 0.999051405 0.936534337 1 +0.462045131 0.172713201 0.761584018 0.242427539 1 +0.154977302 0.425989857 0.780108849 0.052249918 1 +0.527507264 0.1866903 0.65345531 0.802989578 1 +0.42858627 0.122042111 0.633510759 0.087143255 1 +0.047182285 0.421388314 0.50932383 0.763195243 1 +0.629380952 0.001340805 0.739114882 0.269308244 1 +0.987061141 0.799254738 0.901687538 0.656436273 1 +0.936583739 0.338280342 0.727834801 0.845588744 1 +0.347702759 0.218512242 0.393355121 0.282700471 1 +0.708462562 0.182322916 0.075067056 0.154535304 1 +0.031962605 0.834054969 0.443203056 0.605506742 1 +0.2516154 0.568625642 0.479204872 0.304473254 1 +0.246588214 0.187047247 0.897110788 0.840227568 1 +0.427269514 0.479435526 0.258422749 0.222123443 1 +0.215754123 0.525950577 0.713890537 0.495648492 1 +0.932152954 0.654948255 0.372893902 0.615501753 1 +0.351689916 0.827839095 0.522944351 0.465154497 1 +0.925330411 0.508964286 0.095589132 0.613712774 1 +0.137614409 0.629087037 0.935689928 0.623991869 1 +0.813491704 0.000703575 0.783167918 0.487037841 1 +0.104226142 0.537824923 0.933278727 0.166183696 1 +0.073337192 0.992133313 0.509472962 0.682740497 1 +0.627707404 0.898613103 0.156591863 0.622261299 1 +0.329486305 0.375591222 0.304682326 0.655848013 1 +0.110486992 0.290530143 0.255124855 0.634990919 1 +0.275291949 0.194459685 0.268426044 0.654473063 1 +0.233220328 0.112029917 0.37078748 0.97166323 1 +0.314451122 0.330636273 0.269023487 0.763284737 1 +0.265847428 0.387065472 0.726600643 0.252219697 0 +0.718298601 0.077158255 0.645813253 0.816329572 0 +0.563730113 0.136047824 0.100768505 0.303031644 0 +0.617958575 0.164905989 0.453431563 0.524422925 0 +0.41354011 0.52473961 0.475084025 0.303107265 0 +0.749124381 0.256872706 0.748359338 0.273619791 0 +0.200751294 0.507869993 0.793013918 0.473557793 0 +0.934313271 0.303966375 0.496018676 0.745939867 0 +0.629065837 0.646175022 0.264800345 0.345616452 0 +0.999201791 0.938164784 0.075450582 0.751293085 0 +0.811345997 0.773959459 0.537977267 0.887780069 0 +0.73014887 0.116153796 0.401779181 0.142750864 0 +0.316412809 0.296641249 0.194923333 0.322812736 0 +0.253321305 0.029505926 0.310074166 0.286275081 0 +0.460931324 0.832313386 0.288878672 0.961118285 0 +0.194660478 0.338456528 0.436292712 0.707946655 0 +0.250323815 0.933766443 0.567800781 0.959303871 0 +0.763434212 0.741054541 0.393553006 0.108639289 0 +0.398799228 0.138088511 0.520065954 0.337864127 0 +0.847964754 0.707585579 0.642158169 0.721410466 0 +0.197856057 0.557585425 0.242178782 0.031067095 0 +0.789156701 0.724817308 0.212905518 0.732229439 0 +0.653062916 0.69802324 0.371087721 0.812521686 0 +0.557018058 0.015417778 0.924425312 0.564992609 0 +0.683917228 0.812967346 0.805218325 0.090445976 0 +0.729215824 0.833920507 0.813483127 0.466212765 0 +0.50703016 0.847820014 0.535951261 0.403414609 0 +0.348196848 0.26612654 0.750863407 0.059600228 0 +0.407955259 0.646822128 0.392778611 0.302086428 0 +0.289155332 0.514212572 0.085230166 0.577059459 0 +0.377874943 0.847679317 0.069163608 0.659379352 0 +0.527784036 0.254340122 0.24564507 0.908387221 0 +0.027649153 0.447877978 0.371266887 0.029255723 0 +0.412234776 0.901050259 0.198930689 0.204383864 0 +0.569414154 0.86027195 0.902993862 0.501390688 0 +0.324914112 0.787037736 0.424599591 0.395829461 0 +0.407819893 0.719264806 0.433071452 0.737237946 0 +0.091298897 0.927128733 0.192649268 0.112098422 0 +0.57504123 0.445446712 0.30430986 0.152065004 0 +0.459055526 0.602212713 0.151279006 0.744378521 0 +0.570342853 0.515984429 0.962524652 0.19038725 0 +0.186271297 0.104734179 0.679665446 0.493099388 0 +0.748179324 0.806386584 0.966129179 0.387296795 0 +0.729128384 0.700093071 0.75306467 0.468428144 0 +0.492939177 0.211289765 0.21074853 0.296695896 0 +0.303888489 0.147228407 0.70225464 0.57834747 0 +0.391140606 0.16050698 0.891988824 0.061349839 0 +0.889854415 0.870810995 0.606592978 0.371103099 0 +0.461984382 0.802335854 0.838415011 0.615008345 0 +0.619363394 0.588129184 0.423175859 0.087722334 0 +0.076430947 0.284047639 0.405098389 0.8873916 0 +0.16555821 0.549779996 0.948540209 0.824057146 0 +0.406911869 0.438514051 0.342765161 0.559194539 0 +0.249951701 0.82535038 0.370739859 0.488756257 0 +0.637222565 0.386786928 0.344638168 0.251815984 0 +0.019156959 0.84704296 0.335567032 0.154780918 0 +0.075609858 0.51431985 0.727246432 0.332902805 0 +0.164804993 0.603896979 0.850516901 0.962002993 0 +0.84525116 0.680175976 0.962583938 0.217200155 0 +0.156883055 0.385392566 0.109759872 0.511795968 0 +0.609111546 0.56041133 0.547987611 0.1618788 0 +0.206992974 0.193940874 0.70473968 0.004751317 0 +0.797979642 0.412089356 0.31248546 0.502674138 0 +0.268159011 0.34412433 0.578408647 0.753535127 0 +0.552779187 0.758828624 0.323890867 0.875579518 0 +0.861723718 0.388827759 0.710670276 0.960584853 0 +0.237325063 0.110749999 0.275516594 0.655295659 0 +0.055801154 0.271174213 0.123738447 0.573208337 0 \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test2/report_dir/.re --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/test-data/test2/report_dir/.re Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+\\<html\\>\\\n+\\<head\\>\\<meta\\ charset\\=\\"utf\\-8\\"\\ \\/\\>\\<\\/head\\>\\\n+\\<body\\>\\\n+\\ \\ \\ \\ \\<div\\>\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\<script\\ type\\=\\"text\\/javascript\\"\\>window\\.PlotlyConfig\\ \\=\\ \\{MathJaxConfig\\:\\ \\\'local\\\'\\}\\;\\<\\/script\\>\\\n+\\ \\ \\ \\ \\ \\ \\ \\ \\<script\\ type\\=\\"text\\/javascript\\"\\>\\/\\*\\*\\\n+\\*\\ plotly\\.js\\ v1\\.55\\.2\\\n+\\*\\ Copyright\\ 2012\\-2020\\,\\ Plotly\\,\\ Inc\\.\\\n+\\*\\ All\\ rights\\ reserved\\.\\\n+\\*\\ Licensed\\ under\\ the\\ MIT\\ license\\\n+\\*\\/\\\n+\\!function\\(t\\)\\{if\\(\\"object\\"\\=\\=typeof\\ exports\\&\\&\\"undefined\\"\\!\\=typeof\\ module\\)module\\.exports\\=t\\(\\)\\;else\\ if\\(\\"function\\"\\=\\=typeof\\ define\\&\\&define\\.amd\\)define\\(\\[\\]\\,t\\)\\;else\\{\\(\\"undefined\\"\\!\\=typeof\\ window\\?window\\:\\"undefined\\"\\!\\=typeof\\ global\\?global\\:\\"undefined\\"\\!\\=typeof\\ self\\?self\\:this\\)\\.Plotly\\=t\\(\\)\\}\\}\\(\\(function\\(\\)\\{return\\ function\\ t\\(e\\,r\\,n\\)\\{function\\ a\\(o\\,s\\)\\{if\\(\\!r\\[o\\]\\)\\{if\\(\\!e\\[o\\]\\)\\{var\\ l\\=\\"function\\"\\=\\=typeof\\ require\\&\\&require\\;if\\(\\!s\\&\\&l\\)return\\ l\\(o\\,\\!0\\)\\;if\\(i\\)return\\ i\\(o\\,\\!0\\)\\;var\\ c\\=new\\ Error\\(\\"Cannot\\ find\\ module\\ \\\'\\"\\+o\\+\\"\\\'\\"\\)\\;throw\\ c\\.code\\=\\"MODULE\\_NOT\\_FOUND\\"\\,c\\}var\\ u\\=r\\[o\\]\\=\\{exports\\:\\{\\}\\}\\;e\\[o\\]\\[0\\]\\.call\\(u\\.exports\\,\\(function\\(t\\)\\{return\\ a\\(e\\[o\\]\\[1\\]\\[t\\]\\|\\|t\\)\\}\\)\\,u\\,u\\.exports\\,t\\,e\\,r\\,n\\)\\}return\\ r\\[o\\]\\.exports\\}for\\(var\\ i\\=\\"function\\"\\=\\=typeof\\ require\\&\\&require\\,o\\=0\\;o\\<n\\.length\\;o\\+\\+\\)a\\(n\\[o\\]\\)\\;return\\ a\\}\\(\\{1\\:\\[function\\(t\\,e\\,r\\)\\{\\"use\\ strict\\"\\;var\\ n\\=t\\(\\"\\.\\.\\/src\\/lib\\"\\)\\,a\\=\\{\\"X\\,X\\ div\\"\\:\\"direction\\:ltr\\;font\\-family\\:\\\'Open\\ Sans\\\'\\,\\ verdana\\,\\ arial\\,\\ sans\\-serif\\;margin\\:0\\;padding\\:0\\;\\"\\,\\"X\\ input\\,X\\ button\\"\\:\\"font\\-family\\:\\\'Open\\ Sans\\\'\\,\\ verdana\\,\\ arial\\,\\ sans\\-serif\\;\\"\\,\\"X\\ input\\:focus\\,X\\ button\\:focus\\"\\:\\"outline\\:none\\;\\"\\,\\"X\\ a\\"\\:\\"text\\-decoration\\:none\\;\\"\\,\\"X\\ a\\:hover\\"\\:\\"text\\-decoration\\:none\\;\\"\\,\\"X\\ \\.crisp\\"\\:\\"shape\\-rendering\\:crispEdges\\;\\"\\,\\"X\\ \\.user\\-select\\-none\\"\\:\\"\\-webkit\\-user\\-select\\:none\\;\\-moz\\-user\\-select\\:none\\;\\-ms\\-user\\-select\\:none\\;\\-o\\-user\\-select\\:none\\;user\\-select\\:none\\;\\"\\,\\"X\\ svg\\"\\:\\"overflow\\:hidden\\;\\"\\,\\"X\\ svg\\ a\\"\\:\\"fill\\:\\#447adb\\;\\"\\,\\"X\\ svg\\ a\\:hover\\"\\:\\"fill\\:\\#3c6dc5\\;\\"\\,\\"X\\ \\.main\\-svg\\"\\:\\"position\\:absolute\\;top\\:0\\;left\\:0\\;pointer\\-events\\:none\\;\\"\\,\\"X\\ \\.main\\-svg\\ \\.draglayer\\"\\:\\"pointer\\-events\\:all\\;\\"\\,\\"X\\ \\.cursor\\-default\\"\\:\\"cursor\\:default\\;\\"\\,\\"X\\ \\.cursor\\-pointer\\"\\:\\"cursor\\:pointer\\;\\"\\,\\"X\\ \\.cursor\\-crosshair\\"\\:\\"cursor\\:crosshair\\;\\"\\,\\"X\\ \\.cursor\\-move\\"\\:\\"cursor\\:move\\;\\"\\,\\"X\\ \\.cursor\\-col\\-resize\\"\\:\\"cursor\\:col\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-row\\-resize\\"\\:\\"cursor\\:row\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ns\\-resize\\"\\:\\"cursor\\:ns\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ew\\-resize\\"\\:\\"cursor\\:ew\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-sw\\-resize\\"\\:\\"cursor\\:sw\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-s\\-resize\\"\\:\\"cursor\\:s\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-se\\-resize\\"\\:\\"cursor\\:se\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-w\\-resize\\"\\:\\"cursor\\:w\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-e\\-resize\\"\\:\\"cursor\\:e\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-nw\\-resize\\"\\:\\"cursor\\:nw\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-n\\-resize\\"\\:\\"cursor\\:n\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ne\\-resize\\"\\:\\"cursor\\:ne\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-grab\\"\\:\\"cursor\\:\\-webkit\\-grab\\;cursor\\:grab\\;\\"\\,\\"X\\ \\.modebar\\"\\:\\"position\\:absolute\\;top\\:2px\\;right\\:2px\\;\\"\\,\\"X\\ \\.ease\\-bg\\"\\:\\"\\-webkit\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-moz\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-ms\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-o\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\"\\,\\"X\\ \\.modebar\\-\\-hover\\>\\:not\\(\\.watermark\\)\\"\\:\\"opacity\\:0\\;\\-webkit\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-moz\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-ms\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-o\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\"\\,\\"X\\:hover\\ \\.modebar\\-\\-hover\\ \\.modebar\\-group\\"\\:\\"opacity\\:1\\;\\"\\,\\"X\\'..b'\\ \\"\\#f7f7f7\\"\\]\\,\\ \\[0\\.6\\,\\ \\"\\#e6f5d0\\"\\]\\,\\ \\[0\\.7\\,\\ \\"\\#b8e186\\"\\]\\,\\ \\[0\\.8\\,\\ \\"\\#7fbc41\\"\\]\\,\\ \\[0\\.9\\,\\ \\"\\#4d9221\\"\\]\\,\\ \\[1\\,\\ \\"\\#276419\\"\\]\\]\\,\\ \\"sequential\\"\\:\\ \\[\\[0\\.0\\,\\ \\"\\#0d0887\\"\\]\\,\\ \\[0\\.1111111111111111\\,\\ \\"\\#46039f\\"\\]\\,\\ \\[0\\.2222222222222222\\,\\ \\"\\#7201a8\\"\\]\\,\\ \\[0\\.3333333333333333\\,\\ \\"\\#9c179e\\"\\]\\,\\ \\[0\\.4444444444444444\\,\\ \\"\\#bd3786\\"\\]\\,\\ \\[0\\.5555555555555556\\,\\ \\"\\#d8576b\\"\\]\\,\\ \\[0\\.6666666666666666\\,\\ \\"\\#ed7953\\"\\]\\,\\ \\[0\\.7777777777777778\\,\\ \\"\\#fb9f3a\\"\\]\\,\\ \\[0\\.8888888888888888\\,\\ \\"\\#fdca26\\"\\]\\,\\ \\[1\\.0\\,\\ \\"\\#f0f921\\"\\]\\]\\,\\ \\"sequentialminus\\"\\:\\ \\[\\[0\\.0\\,\\ \\"\\#0d0887\\"\\]\\,\\ \\[0\\.1111111111111111\\,\\ \\"\\#46039f\\"\\]\\,\\ \\[0\\.2222222222222222\\,\\ \\"\\#7201a8\\"\\]\\,\\ \\[0\\.3333333333333333\\,\\ \\"\\#9c179e\\"\\]\\,\\ \\[0\\.4444444444444444\\,\\ \\"\\#bd3786\\"\\]\\,\\ \\[0\\.5555555555555556\\,\\ \\"\\#d8576b\\"\\]\\,\\ \\[0\\.6666666666666666\\,\\ \\"\\#ed7953\\"\\]\\,\\ \\[0\\.7777777777777778\\,\\ \\"\\#fb9f3a\\"\\]\\,\\ \\[0\\.8888888888888888\\,\\ \\"\\#fdca26\\"\\]\\,\\ \\[1\\.0\\,\\ \\"\\#f0f921\\"\\]\\]\\}\\,\\ \\"colorway\\"\\:\\ \\[\\"\\#636efa\\"\\,\\ \\"\\#EF553B\\"\\,\\ \\"\\#00cc96\\"\\,\\ \\"\\#ab63fa\\"\\,\\ \\"\\#FFA15A\\"\\,\\ \\"\\#19d3f3\\"\\,\\ \\"\\#FF6692\\"\\,\\ \\"\\#B6E880\\"\\,\\ \\"\\#FF97FF\\"\\,\\ \\"\\#FECB52\\"\\]\\,\\ \\"font\\"\\:\\ \\{\\"color\\"\\:\\ \\"\\#2a3f5f\\"\\}\\,\\ \\"geo\\"\\:\\ \\{\\"bgcolor\\"\\:\\ \\"white\\"\\,\\ \\"lakecolor\\"\\:\\ \\"white\\"\\,\\ \\"landcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"showlakes\\"\\:\\ true\\,\\ \\"showland\\"\\:\\ true\\,\\ \\"subunitcolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"hoverlabel\\"\\:\\ \\{\\"align\\"\\:\\ \\"left\\"\\}\\,\\ \\"hovermode\\"\\:\\ \\"closest\\"\\,\\ \\"mapbox\\"\\:\\ \\{\\"style\\"\\:\\ \\"light\\"\\}\\,\\ \\"paper\\_bgcolor\\"\\:\\ \\"white\\"\\,\\ \\"plot\\_bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"polar\\"\\:\\ \\{\\"angularaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"radialaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"scene\\"\\:\\ \\{\\"xaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"zaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\}\\,\\ \\"shapedefaults\\"\\:\\ \\{\\"line\\"\\:\\ \\{\\"color\\"\\:\\ \\"\\#2a3f5f\\"\\}\\}\\,\\ \\"ternary\\"\\:\\ \\{\\"aaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"baxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"caxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"title\\"\\:\\ \\{\\"x\\"\\:\\ 0\\.05\\}\\,\\ \\"xaxis\\"\\:\\ \\{\\"automargin\\"\\:\\ true\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"title\\"\\:\\ \\{\\"standoff\\"\\:\\ 15\\}\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\,\\ \\"zerolinewidth\\"\\:\\ 2\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"automargin\\"\\:\\ true\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"title\\"\\:\\ \\{\\"standoff\\"\\:\\ 15\\}\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\,\\ \\"zerolinewidth\\"\\:\\ 2\\}\\}\\}\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Box\\ plot\\ of\\ a1\\"\\}\\,\\ \\"xaxis\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"y\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.0\\,\\ 1\\.0\\]\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"x\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.0\\,\\ 1\\.0\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"a1\\"\\}\\}\\}\\,\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\{\\"responsive\\"\\:\\ true\\}\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\)\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\}\\;\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\<\\/script\\>\\ \\ \\ \\ \\ \\ \\ \\ \\<\\/div\\>\\\n+\\<\\/body\\>\\\n+\\<\\/html\\>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test2/report_dir/report.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/test-data/test2/report_dir/report.html Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+<html>\n+<head><meta charset="utf-8" /></head>\n+<body>\n+ <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: \'local\'};</script>\n+ <script type="text/javascript">/**\n+* plotly.js v1.55.2\n+* Copyright 2012-2020, Plotly, Inc.\n+* All rights reserved.\n+* Licensed under the MIT license\n+*/\n+!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module \'"+o+"\'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return a(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),a={"X,X div":"direction:ltr;font-family:\'Open Sans\', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:\'Open Sans\', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none'..b'attermapbox"}], "scatterpolar": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolar"}], "scatterpolargl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolargl"}], "scatterternary": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]], "sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}, "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "geo": {"bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white"}, "hoverlabel": {"align": "left"}, "hovermode": "closest", "mapbox": {"style": "light"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "ternary": {"aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "title": {"x": 0.05}, "xaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}, "yaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}}}, "title": {"text": "Box plot of a1"}, "xaxis": {"anchor": "y", "domain": [0.0, 1.0]}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "title": {"text": "a1"}}}, {"responsive": true} ) }; </script> </div>\n+</body>\n+</html>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test2/report_dir/report.html.re --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/test-data/test2/report_dir/report.html.re Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+\\<html\\>\\\n+\\<head\\>\\<meta\\ charset\\=\\"utf\\-8\\"\\ \\/\\>\\<\\/head\\>\\\n+\\<body\\>\\\n+\\ \\ \\ \\ \\<div\\>\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\<script\\ type\\=\\"text\\/javascript\\"\\>window\\.PlotlyConfig\\ \\=\\ \\{MathJaxConfig\\:\\ \\\'local\\\'\\}\\;\\<\\/script\\>\\\n+\\ \\ \\ \\ \\ \\ \\ \\ \\<script\\ type\\=\\"text\\/javascript\\"\\>\\/\\*\\*\\\n+\\*\\ plotly\\.js\\ v1\\.55\\.2\\\n+\\*\\ Copyright\\ 2012\\-2020\\,\\ Plotly\\,\\ Inc\\.\\\n+\\*\\ All\\ rights\\ reserved\\.\\\n+\\*\\ Licensed\\ under\\ the\\ MIT\\ license\\\n+\\*\\/\\\n+\\!function\\(t\\)\\{if\\(\\"object\\"\\=\\=typeof\\ exports\\&\\&\\"undefined\\"\\!\\=typeof\\ module\\)module\\.exports\\=t\\(\\)\\;else\\ if\\(\\"function\\"\\=\\=typeof\\ define\\&\\&define\\.amd\\)define\\(\\[\\]\\,t\\)\\;else\\{\\(\\"undefined\\"\\!\\=typeof\\ window\\?window\\:\\"undefined\\"\\!\\=typeof\\ global\\?global\\:\\"undefined\\"\\!\\=typeof\\ self\\?self\\:this\\)\\.Plotly\\=t\\(\\)\\}\\}\\(\\(function\\(\\)\\{return\\ function\\ t\\(e\\,r\\,n\\)\\{function\\ a\\(o\\,s\\)\\{if\\(\\!r\\[o\\]\\)\\{if\\(\\!e\\[o\\]\\)\\{var\\ l\\=\\"function\\"\\=\\=typeof\\ require\\&\\&require\\;if\\(\\!s\\&\\&l\\)return\\ l\\(o\\,\\!0\\)\\;if\\(i\\)return\\ i\\(o\\,\\!0\\)\\;var\\ c\\=new\\ Error\\(\\"Cannot\\ find\\ module\\ \\\'\\"\\+o\\+\\"\\\'\\"\\)\\;throw\\ c\\.code\\=\\"MODULE\\_NOT\\_FOUND\\"\\,c\\}var\\ u\\=r\\[o\\]\\=\\{exports\\:\\{\\}\\}\\;e\\[o\\]\\[0\\]\\.call\\(u\\.exports\\,\\(function\\(t\\)\\{return\\ a\\(e\\[o\\]\\[1\\]\\[t\\]\\|\\|t\\)\\}\\)\\,u\\,u\\.exports\\,t\\,e\\,r\\,n\\)\\}return\\ r\\[o\\]\\.exports\\}for\\(var\\ i\\=\\"function\\"\\=\\=typeof\\ require\\&\\&require\\,o\\=0\\;o\\<n\\.length\\;o\\+\\+\\)a\\(n\\[o\\]\\)\\;return\\ a\\}\\(\\{1\\:\\[function\\(t\\,e\\,r\\)\\{\\"use\\ strict\\"\\;var\\ n\\=t\\(\\"\\.\\.\\/src\\/lib\\"\\)\\,a\\=\\{\\"X\\,X\\ div\\"\\:\\"direction\\:ltr\\;font\\-family\\:\\\'Open\\ Sans\\\'\\,\\ verdana\\,\\ arial\\,\\ sans\\-serif\\;margin\\:0\\;padding\\:0\\;\\"\\,\\"X\\ input\\,X\\ button\\"\\:\\"font\\-family\\:\\\'Open\\ Sans\\\'\\,\\ verdana\\,\\ arial\\,\\ sans\\-serif\\;\\"\\,\\"X\\ input\\:focus\\,X\\ button\\:focus\\"\\:\\"outline\\:none\\;\\"\\,\\"X\\ a\\"\\:\\"text\\-decoration\\:none\\;\\"\\,\\"X\\ a\\:hover\\"\\:\\"text\\-decoration\\:none\\;\\"\\,\\"X\\ \\.crisp\\"\\:\\"shape\\-rendering\\:crispEdges\\;\\"\\,\\"X\\ \\.user\\-select\\-none\\"\\:\\"\\-webkit\\-user\\-select\\:none\\;\\-moz\\-user\\-select\\:none\\;\\-ms\\-user\\-select\\:none\\;\\-o\\-user\\-select\\:none\\;user\\-select\\:none\\;\\"\\,\\"X\\ svg\\"\\:\\"overflow\\:hidden\\;\\"\\,\\"X\\ svg\\ a\\"\\:\\"fill\\:\\#447adb\\;\\"\\,\\"X\\ svg\\ a\\:hover\\"\\:\\"fill\\:\\#3c6dc5\\;\\"\\,\\"X\\ \\.main\\-svg\\"\\:\\"position\\:absolute\\;top\\:0\\;left\\:0\\;pointer\\-events\\:none\\;\\"\\,\\"X\\ \\.main\\-svg\\ \\.draglayer\\"\\:\\"pointer\\-events\\:all\\;\\"\\,\\"X\\ \\.cursor\\-default\\"\\:\\"cursor\\:default\\;\\"\\,\\"X\\ \\.cursor\\-pointer\\"\\:\\"cursor\\:pointer\\;\\"\\,\\"X\\ \\.cursor\\-crosshair\\"\\:\\"cursor\\:crosshair\\;\\"\\,\\"X\\ \\.cursor\\-move\\"\\:\\"cursor\\:move\\;\\"\\,\\"X\\ \\.cursor\\-col\\-resize\\"\\:\\"cursor\\:col\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-row\\-resize\\"\\:\\"cursor\\:row\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ns\\-resize\\"\\:\\"cursor\\:ns\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ew\\-resize\\"\\:\\"cursor\\:ew\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-sw\\-resize\\"\\:\\"cursor\\:sw\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-s\\-resize\\"\\:\\"cursor\\:s\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-se\\-resize\\"\\:\\"cursor\\:se\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-w\\-resize\\"\\:\\"cursor\\:w\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-e\\-resize\\"\\:\\"cursor\\:e\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-nw\\-resize\\"\\:\\"cursor\\:nw\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-n\\-resize\\"\\:\\"cursor\\:n\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ne\\-resize\\"\\:\\"cursor\\:ne\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-grab\\"\\:\\"cursor\\:\\-webkit\\-grab\\;cursor\\:grab\\;\\"\\,\\"X\\ \\.modebar\\"\\:\\"position\\:absolute\\;top\\:2px\\;right\\:2px\\;\\"\\,\\"X\\ \\.ease\\-bg\\"\\:\\"\\-webkit\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-moz\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-ms\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-o\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\"\\,\\"X\\ \\.modebar\\-\\-hover\\>\\:not\\(\\.watermark\\)\\"\\:\\"opacity\\:0\\;\\-webkit\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-moz\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-ms\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-o\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\"\\,\\"X\\:hover\\ \\.modebar\\-\\-hover\\ \\.modebar\\-group\\"\\:\\"opacity\\:1\\;\\"\\,\\"X\\'..b'\\ \\"\\#f7f7f7\\"\\]\\,\\ \\[0\\.6\\,\\ \\"\\#e6f5d0\\"\\]\\,\\ \\[0\\.7\\,\\ \\"\\#b8e186\\"\\]\\,\\ \\[0\\.8\\,\\ \\"\\#7fbc41\\"\\]\\,\\ \\[0\\.9\\,\\ \\"\\#4d9221\\"\\]\\,\\ \\[1\\,\\ \\"\\#276419\\"\\]\\]\\,\\ \\"sequential\\"\\:\\ \\[\\[0\\.0\\,\\ \\"\\#0d0887\\"\\]\\,\\ \\[0\\.1111111111111111\\,\\ \\"\\#46039f\\"\\]\\,\\ \\[0\\.2222222222222222\\,\\ \\"\\#7201a8\\"\\]\\,\\ \\[0\\.3333333333333333\\,\\ \\"\\#9c179e\\"\\]\\,\\ \\[0\\.4444444444444444\\,\\ \\"\\#bd3786\\"\\]\\,\\ \\[0\\.5555555555555556\\,\\ \\"\\#d8576b\\"\\]\\,\\ \\[0\\.6666666666666666\\,\\ \\"\\#ed7953\\"\\]\\,\\ \\[0\\.7777777777777778\\,\\ \\"\\#fb9f3a\\"\\]\\,\\ \\[0\\.8888888888888888\\,\\ \\"\\#fdca26\\"\\]\\,\\ \\[1\\.0\\,\\ \\"\\#f0f921\\"\\]\\]\\,\\ \\"sequentialminus\\"\\:\\ \\[\\[0\\.0\\,\\ \\"\\#0d0887\\"\\]\\,\\ \\[0\\.1111111111111111\\,\\ \\"\\#46039f\\"\\]\\,\\ \\[0\\.2222222222222222\\,\\ \\"\\#7201a8\\"\\]\\,\\ \\[0\\.3333333333333333\\,\\ \\"\\#9c179e\\"\\]\\,\\ \\[0\\.4444444444444444\\,\\ \\"\\#bd3786\\"\\]\\,\\ \\[0\\.5555555555555556\\,\\ \\"\\#d8576b\\"\\]\\,\\ \\[0\\.6666666666666666\\,\\ \\"\\#ed7953\\"\\]\\,\\ \\[0\\.7777777777777778\\,\\ \\"\\#fb9f3a\\"\\]\\,\\ \\[0\\.8888888888888888\\,\\ \\"\\#fdca26\\"\\]\\,\\ \\[1\\.0\\,\\ \\"\\#f0f921\\"\\]\\]\\}\\,\\ \\"colorway\\"\\:\\ \\[\\"\\#636efa\\"\\,\\ \\"\\#EF553B\\"\\,\\ \\"\\#00cc96\\"\\,\\ \\"\\#ab63fa\\"\\,\\ \\"\\#FFA15A\\"\\,\\ \\"\\#19d3f3\\"\\,\\ \\"\\#FF6692\\"\\,\\ \\"\\#B6E880\\"\\,\\ \\"\\#FF97FF\\"\\,\\ \\"\\#FECB52\\"\\]\\,\\ \\"font\\"\\:\\ \\{\\"color\\"\\:\\ \\"\\#2a3f5f\\"\\}\\,\\ \\"geo\\"\\:\\ \\{\\"bgcolor\\"\\:\\ \\"white\\"\\,\\ \\"lakecolor\\"\\:\\ \\"white\\"\\,\\ \\"landcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"showlakes\\"\\:\\ true\\,\\ \\"showland\\"\\:\\ true\\,\\ \\"subunitcolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"hoverlabel\\"\\:\\ \\{\\"align\\"\\:\\ \\"left\\"\\}\\,\\ \\"hovermode\\"\\:\\ \\"closest\\"\\,\\ \\"mapbox\\"\\:\\ \\{\\"style\\"\\:\\ \\"light\\"\\}\\,\\ \\"paper\\_bgcolor\\"\\:\\ \\"white\\"\\,\\ \\"plot\\_bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"polar\\"\\:\\ \\{\\"angularaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"radialaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"scene\\"\\:\\ \\{\\"xaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"zaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\}\\,\\ \\"shapedefaults\\"\\:\\ \\{\\"line\\"\\:\\ \\{\\"color\\"\\:\\ \\"\\#2a3f5f\\"\\}\\}\\,\\ \\"ternary\\"\\:\\ \\{\\"aaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"baxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"caxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"title\\"\\:\\ \\{\\"x\\"\\:\\ 0\\.05\\}\\,\\ \\"xaxis\\"\\:\\ \\{\\"automargin\\"\\:\\ true\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"title\\"\\:\\ \\{\\"standoff\\"\\:\\ 15\\}\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\,\\ \\"zerolinewidth\\"\\:\\ 2\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"automargin\\"\\:\\ true\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"title\\"\\:\\ \\{\\"standoff\\"\\:\\ 15\\}\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\,\\ \\"zerolinewidth\\"\\:\\ 2\\}\\}\\}\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Box\\ plot\\ of\\ a1\\"\\}\\,\\ \\"xaxis\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"y\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.0\\,\\ 1\\.0\\]\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"x\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.0\\,\\ 1\\.0\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"a1\\"\\}\\}\\}\\,\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\{\\"responsive\\"\\:\\ true\\}\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\)\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\}\\;\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\<\\/script\\>\\ \\ \\ \\ \\ \\ \\ \\ \\<\\/div\\>\\\n+\\<\\/body\\>\\\n+\\<\\/html\\>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test3/report_dir/report.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/test-data/test3/report_dir/report.html Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+<html>\n+<head><meta charset="utf-8" /></head>\n+<body>\n+ <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: \'local\'};</script>\n+ <script type="text/javascript">/**\n+* plotly.js v1.55.2\n+* Copyright 2012-2020, Plotly, Inc.\n+* All rights reserved.\n+* Licensed under the MIT license\n+*/\n+!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module \'"+o+"\'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return a(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),a={"X,X div":"direction:ltr;font-family:\'Open Sans\', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:\'Open Sans\', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none'..b' "type": "scattermapbox"}], "scatterpolar": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolar"}], "scatterpolargl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolargl"}], "scatterternary": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]], "sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}, "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "geo": {"bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white"}, "hoverlabel": {"align": "left"}, "hovermode": "closest", "mapbox": {"style": "light"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "ternary": {"aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "title": {"x": 0.05}, "xaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}, "yaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}}}, "xaxis": {"anchor": "y", "domain": [0.0, 1.0], "title": {"text": "a1"}}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "title": {"text": "a2"}}}, {"responsive": true} ) }; </script> </div>\n+</body>\n+</html>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test3/report_dir/report.html.re --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/test-data/test3/report_dir/report.html.re Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+\\<html\\>\\\n+\\<head\\>\\<meta\\ charset\\=\\"utf\\-8\\"\\ \\/\\>\\<\\/head\\>\\\n+\\<body\\>\\\n+\\ \\ \\ \\ \\<div\\>\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\<script\\ type\\=\\"text\\/javascript\\"\\>window\\.PlotlyConfig\\ \\=\\ \\{MathJaxConfig\\:\\ \\\'local\\\'\\}\\;\\<\\/script\\>\\\n+\\ \\ \\ \\ \\ \\ \\ \\ \\<script\\ type\\=\\"text\\/javascript\\"\\>\\/\\*\\*\\\n+\\*\\ plotly\\.js\\ v1\\.55\\.2\\\n+\\*\\ Copyright\\ 2012\\-2020\\,\\ Plotly\\,\\ Inc\\.\\\n+\\*\\ All\\ rights\\ reserved\\.\\\n+\\*\\ Licensed\\ under\\ the\\ MIT\\ license\\\n+\\*\\/\\\n+\\!function\\(t\\)\\{if\\(\\"object\\"\\=\\=typeof\\ exports\\&\\&\\"undefined\\"\\!\\=typeof\\ module\\)module\\.exports\\=t\\(\\)\\;else\\ if\\(\\"function\\"\\=\\=typeof\\ define\\&\\&define\\.amd\\)define\\(\\[\\]\\,t\\)\\;else\\{\\(\\"undefined\\"\\!\\=typeof\\ window\\?window\\:\\"undefined\\"\\!\\=typeof\\ global\\?global\\:\\"undefined\\"\\!\\=typeof\\ self\\?self\\:this\\)\\.Plotly\\=t\\(\\)\\}\\}\\(\\(function\\(\\)\\{return\\ function\\ t\\(e\\,r\\,n\\)\\{function\\ a\\(o\\,s\\)\\{if\\(\\!r\\[o\\]\\)\\{if\\(\\!e\\[o\\]\\)\\{var\\ l\\=\\"function\\"\\=\\=typeof\\ require\\&\\&require\\;if\\(\\!s\\&\\&l\\)return\\ l\\(o\\,\\!0\\)\\;if\\(i\\)return\\ i\\(o\\,\\!0\\)\\;var\\ c\\=new\\ Error\\(\\"Cannot\\ find\\ module\\ \\\'\\"\\+o\\+\\"\\\'\\"\\)\\;throw\\ c\\.code\\=\\"MODULE\\_NOT\\_FOUND\\"\\,c\\}var\\ u\\=r\\[o\\]\\=\\{exports\\:\\{\\}\\}\\;e\\[o\\]\\[0\\]\\.call\\(u\\.exports\\,\\(function\\(t\\)\\{return\\ a\\(e\\[o\\]\\[1\\]\\[t\\]\\|\\|t\\)\\}\\)\\,u\\,u\\.exports\\,t\\,e\\,r\\,n\\)\\}return\\ r\\[o\\]\\.exports\\}for\\(var\\ i\\=\\"function\\"\\=\\=typeof\\ require\\&\\&require\\,o\\=0\\;o\\<n\\.length\\;o\\+\\+\\)a\\(n\\[o\\]\\)\\;return\\ a\\}\\(\\{1\\:\\[function\\(t\\,e\\,r\\)\\{\\"use\\ strict\\"\\;var\\ n\\=t\\(\\"\\.\\.\\/src\\/lib\\"\\)\\,a\\=\\{\\"X\\,X\\ div\\"\\:\\"direction\\:ltr\\;font\\-family\\:\\\'Open\\ Sans\\\'\\,\\ verdana\\,\\ arial\\,\\ sans\\-serif\\;margin\\:0\\;padding\\:0\\;\\"\\,\\"X\\ input\\,X\\ button\\"\\:\\"font\\-family\\:\\\'Open\\ Sans\\\'\\,\\ verdana\\,\\ arial\\,\\ sans\\-serif\\;\\"\\,\\"X\\ input\\:focus\\,X\\ button\\:focus\\"\\:\\"outline\\:none\\;\\"\\,\\"X\\ a\\"\\:\\"text\\-decoration\\:none\\;\\"\\,\\"X\\ a\\:hover\\"\\:\\"text\\-decoration\\:none\\;\\"\\,\\"X\\ \\.crisp\\"\\:\\"shape\\-rendering\\:crispEdges\\;\\"\\,\\"X\\ \\.user\\-select\\-none\\"\\:\\"\\-webkit\\-user\\-select\\:none\\;\\-moz\\-user\\-select\\:none\\;\\-ms\\-user\\-select\\:none\\;\\-o\\-user\\-select\\:none\\;user\\-select\\:none\\;\\"\\,\\"X\\ svg\\"\\:\\"overflow\\:hidden\\;\\"\\,\\"X\\ svg\\ a\\"\\:\\"fill\\:\\#447adb\\;\\"\\,\\"X\\ svg\\ a\\:hover\\"\\:\\"fill\\:\\#3c6dc5\\;\\"\\,\\"X\\ \\.main\\-svg\\"\\:\\"position\\:absolute\\;top\\:0\\;left\\:0\\;pointer\\-events\\:none\\;\\"\\,\\"X\\ \\.main\\-svg\\ \\.draglayer\\"\\:\\"pointer\\-events\\:all\\;\\"\\,\\"X\\ \\.cursor\\-default\\"\\:\\"cursor\\:default\\;\\"\\,\\"X\\ \\.cursor\\-pointer\\"\\:\\"cursor\\:pointer\\;\\"\\,\\"X\\ \\.cursor\\-crosshair\\"\\:\\"cursor\\:crosshair\\;\\"\\,\\"X\\ \\.cursor\\-move\\"\\:\\"cursor\\:move\\;\\"\\,\\"X\\ \\.cursor\\-col\\-resize\\"\\:\\"cursor\\:col\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-row\\-resize\\"\\:\\"cursor\\:row\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ns\\-resize\\"\\:\\"cursor\\:ns\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ew\\-resize\\"\\:\\"cursor\\:ew\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-sw\\-resize\\"\\:\\"cursor\\:sw\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-s\\-resize\\"\\:\\"cursor\\:s\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-se\\-resize\\"\\:\\"cursor\\:se\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-w\\-resize\\"\\:\\"cursor\\:w\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-e\\-resize\\"\\:\\"cursor\\:e\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-nw\\-resize\\"\\:\\"cursor\\:nw\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-n\\-resize\\"\\:\\"cursor\\:n\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ne\\-resize\\"\\:\\"cursor\\:ne\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-grab\\"\\:\\"cursor\\:\\-webkit\\-grab\\;cursor\\:grab\\;\\"\\,\\"X\\ \\.modebar\\"\\:\\"position\\:absolute\\;top\\:2px\\;right\\:2px\\;\\"\\,\\"X\\ \\.ease\\-bg\\"\\:\\"\\-webkit\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-moz\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-ms\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-o\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\"\\,\\"X\\ \\.modebar\\-\\-hover\\>\\:not\\(\\.watermark\\)\\"\\:\\"opacity\\:0\\;\\-webkit\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-moz\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-ms\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-o\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\"\\,\\"X\\:hover\\ \\.modebar\\-\\-hover\\ \\.modebar\\-group\\"\\:\\"opacity\\:1\\;\\"\\,\\"X\\'..b'"\\]\\,\\ \\[0\\.5\\,\\ \\"\\#f7f7f7\\"\\]\\,\\ \\[0\\.6\\,\\ \\"\\#e6f5d0\\"\\]\\,\\ \\[0\\.7\\,\\ \\"\\#b8e186\\"\\]\\,\\ \\[0\\.8\\,\\ \\"\\#7fbc41\\"\\]\\,\\ \\[0\\.9\\,\\ \\"\\#4d9221\\"\\]\\,\\ \\[1\\,\\ \\"\\#276419\\"\\]\\]\\,\\ \\"sequential\\"\\:\\ \\[\\[0\\.0\\,\\ \\"\\#0d0887\\"\\]\\,\\ \\[0\\.1111111111111111\\,\\ \\"\\#46039f\\"\\]\\,\\ \\[0\\.2222222222222222\\,\\ \\"\\#7201a8\\"\\]\\,\\ \\[0\\.3333333333333333\\,\\ \\"\\#9c179e\\"\\]\\,\\ \\[0\\.4444444444444444\\,\\ \\"\\#bd3786\\"\\]\\,\\ \\[0\\.5555555555555556\\,\\ \\"\\#d8576b\\"\\]\\,\\ \\[0\\.6666666666666666\\,\\ \\"\\#ed7953\\"\\]\\,\\ \\[0\\.7777777777777778\\,\\ \\"\\#fb9f3a\\"\\]\\,\\ \\[0\\.8888888888888888\\,\\ \\"\\#fdca26\\"\\]\\,\\ \\[1\\.0\\,\\ \\"\\#f0f921\\"\\]\\]\\,\\ \\"sequentialminus\\"\\:\\ \\[\\[0\\.0\\,\\ \\"\\#0d0887\\"\\]\\,\\ \\[0\\.1111111111111111\\,\\ \\"\\#46039f\\"\\]\\,\\ \\[0\\.2222222222222222\\,\\ \\"\\#7201a8\\"\\]\\,\\ \\[0\\.3333333333333333\\,\\ \\"\\#9c179e\\"\\]\\,\\ \\[0\\.4444444444444444\\,\\ \\"\\#bd3786\\"\\]\\,\\ \\[0\\.5555555555555556\\,\\ \\"\\#d8576b\\"\\]\\,\\ \\[0\\.6666666666666666\\,\\ \\"\\#ed7953\\"\\]\\,\\ \\[0\\.7777777777777778\\,\\ \\"\\#fb9f3a\\"\\]\\,\\ \\[0\\.8888888888888888\\,\\ \\"\\#fdca26\\"\\]\\,\\ \\[1\\.0\\,\\ \\"\\#f0f921\\"\\]\\]\\}\\,\\ \\"colorway\\"\\:\\ \\[\\"\\#636efa\\"\\,\\ \\"\\#EF553B\\"\\,\\ \\"\\#00cc96\\"\\,\\ \\"\\#ab63fa\\"\\,\\ \\"\\#FFA15A\\"\\,\\ \\"\\#19d3f3\\"\\,\\ \\"\\#FF6692\\"\\,\\ \\"\\#B6E880\\"\\,\\ \\"\\#FF97FF\\"\\,\\ \\"\\#FECB52\\"\\]\\,\\ \\"font\\"\\:\\ \\{\\"color\\"\\:\\ \\"\\#2a3f5f\\"\\}\\,\\ \\"geo\\"\\:\\ \\{\\"bgcolor\\"\\:\\ \\"white\\"\\,\\ \\"lakecolor\\"\\:\\ \\"white\\"\\,\\ \\"landcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"showlakes\\"\\:\\ true\\,\\ \\"showland\\"\\:\\ true\\,\\ \\"subunitcolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"hoverlabel\\"\\:\\ \\{\\"align\\"\\:\\ \\"left\\"\\}\\,\\ \\"hovermode\\"\\:\\ \\"closest\\"\\,\\ \\"mapbox\\"\\:\\ \\{\\"style\\"\\:\\ \\"light\\"\\}\\,\\ \\"paper\\_bgcolor\\"\\:\\ \\"white\\"\\,\\ \\"plot\\_bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"polar\\"\\:\\ \\{\\"angularaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"radialaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"scene\\"\\:\\ \\{\\"xaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"zaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\}\\,\\ \\"shapedefaults\\"\\:\\ \\{\\"line\\"\\:\\ \\{\\"color\\"\\:\\ \\"\\#2a3f5f\\"\\}\\}\\,\\ \\"ternary\\"\\:\\ \\{\\"aaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"baxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"caxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"title\\"\\:\\ \\{\\"x\\"\\:\\ 0\\.05\\}\\,\\ \\"xaxis\\"\\:\\ \\{\\"automargin\\"\\:\\ true\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"title\\"\\:\\ \\{\\"standoff\\"\\:\\ 15\\}\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\,\\ \\"zerolinewidth\\"\\:\\ 2\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"automargin\\"\\:\\ true\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"title\\"\\:\\ \\{\\"standoff\\"\\:\\ 15\\}\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\,\\ \\"zerolinewidth\\"\\:\\ 2\\}\\}\\}\\,\\ \\"xaxis\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"y\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.0\\,\\ 1\\.0\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"a1\\"\\}\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"x\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.0\\,\\ 1\\.0\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"a2\\"\\}\\}\\}\\,\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\{\\"responsive\\"\\:\\ true\\}\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\)\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\}\\;\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\<\\/script\\>\\ \\ \\ \\ \\ \\ \\ \\ \\<\\/div\\>\\\n+\\<\\/body\\>\\\n+\\<\\/html\\>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test4/report_dir/report.html.re --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/test-data/test4/report_dir/report.html.re Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+\\<html\\>\\\n+\\<head\\>\\<meta\\ charset\\=\\"utf\\-8\\"\\ \\/\\>\\<\\/head\\>\\\n+\\<body\\>\\\n+\\ \\ \\ \\ \\<div\\>\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\<script\\ type\\=\\"text\\/javascript\\"\\>window\\.PlotlyConfig\\ \\=\\ \\{MathJaxConfig\\:\\ \\\'local\\\'\\}\\;\\<\\/script\\>\\\n+\\ \\ \\ \\ \\ \\ \\ \\ \\<script\\ type\\=\\"text\\/javascript\\"\\>\\/\\*\\*\\\n+\\*\\ plotly\\.js\\ v1\\.55\\.2\\\n+\\*\\ Copyright\\ 2012\\-2020\\,\\ Plotly\\,\\ Inc\\.\\\n+\\*\\ All\\ rights\\ reserved\\.\\\n+\\*\\ Licensed\\ under\\ the\\ MIT\\ license\\\n+\\*\\/\\\n+\\!function\\(t\\)\\{if\\(\\"object\\"\\=\\=typeof\\ exports\\&\\&\\"undefined\\"\\!\\=typeof\\ module\\)module\\.exports\\=t\\(\\)\\;else\\ if\\(\\"function\\"\\=\\=typeof\\ define\\&\\&define\\.amd\\)define\\(\\[\\]\\,t\\)\\;else\\{\\(\\"undefined\\"\\!\\=typeof\\ window\\?window\\:\\"undefined\\"\\!\\=typeof\\ global\\?global\\:\\"undefined\\"\\!\\=typeof\\ self\\?self\\:this\\)\\.Plotly\\=t\\(\\)\\}\\}\\(\\(function\\(\\)\\{return\\ function\\ t\\(e\\,r\\,n\\)\\{function\\ a\\(o\\,s\\)\\{if\\(\\!r\\[o\\]\\)\\{if\\(\\!e\\[o\\]\\)\\{var\\ l\\=\\"function\\"\\=\\=typeof\\ require\\&\\&require\\;if\\(\\!s\\&\\&l\\)return\\ l\\(o\\,\\!0\\)\\;if\\(i\\)return\\ i\\(o\\,\\!0\\)\\;var\\ c\\=new\\ Error\\(\\"Cannot\\ find\\ module\\ \\\'\\"\\+o\\+\\"\\\'\\"\\)\\;throw\\ c\\.code\\=\\"MODULE\\_NOT\\_FOUND\\"\\,c\\}var\\ u\\=r\\[o\\]\\=\\{exports\\:\\{\\}\\}\\;e\\[o\\]\\[0\\]\\.call\\(u\\.exports\\,\\(function\\(t\\)\\{return\\ a\\(e\\[o\\]\\[1\\]\\[t\\]\\|\\|t\\)\\}\\)\\,u\\,u\\.exports\\,t\\,e\\,r\\,n\\)\\}return\\ r\\[o\\]\\.exports\\}for\\(var\\ i\\=\\"function\\"\\=\\=typeof\\ require\\&\\&require\\,o\\=0\\;o\\<n\\.length\\;o\\+\\+\\)a\\(n\\[o\\]\\)\\;return\\ a\\}\\(\\{1\\:\\[function\\(t\\,e\\,r\\)\\{\\"use\\ strict\\"\\;var\\ n\\=t\\(\\"\\.\\.\\/src\\/lib\\"\\)\\,a\\=\\{\\"X\\,X\\ div\\"\\:\\"direction\\:ltr\\;font\\-family\\:\\\'Open\\ Sans\\\'\\,\\ verdana\\,\\ arial\\,\\ sans\\-serif\\;margin\\:0\\;padding\\:0\\;\\"\\,\\"X\\ input\\,X\\ button\\"\\:\\"font\\-family\\:\\\'Open\\ Sans\\\'\\,\\ verdana\\,\\ arial\\,\\ sans\\-serif\\;\\"\\,\\"X\\ input\\:focus\\,X\\ button\\:focus\\"\\:\\"outline\\:none\\;\\"\\,\\"X\\ a\\"\\:\\"text\\-decoration\\:none\\;\\"\\,\\"X\\ a\\:hover\\"\\:\\"text\\-decoration\\:none\\;\\"\\,\\"X\\ \\.crisp\\"\\:\\"shape\\-rendering\\:crispEdges\\;\\"\\,\\"X\\ \\.user\\-select\\-none\\"\\:\\"\\-webkit\\-user\\-select\\:none\\;\\-moz\\-user\\-select\\:none\\;\\-ms\\-user\\-select\\:none\\;\\-o\\-user\\-select\\:none\\;user\\-select\\:none\\;\\"\\,\\"X\\ svg\\"\\:\\"overflow\\:hidden\\;\\"\\,\\"X\\ svg\\ a\\"\\:\\"fill\\:\\#447adb\\;\\"\\,\\"X\\ svg\\ a\\:hover\\"\\:\\"fill\\:\\#3c6dc5\\;\\"\\,\\"X\\ \\.main\\-svg\\"\\:\\"position\\:absolute\\;top\\:0\\;left\\:0\\;pointer\\-events\\:none\\;\\"\\,\\"X\\ \\.main\\-svg\\ \\.draglayer\\"\\:\\"pointer\\-events\\:all\\;\\"\\,\\"X\\ \\.cursor\\-default\\"\\:\\"cursor\\:default\\;\\"\\,\\"X\\ \\.cursor\\-pointer\\"\\:\\"cursor\\:pointer\\;\\"\\,\\"X\\ \\.cursor\\-crosshair\\"\\:\\"cursor\\:crosshair\\;\\"\\,\\"X\\ \\.cursor\\-move\\"\\:\\"cursor\\:move\\;\\"\\,\\"X\\ \\.cursor\\-col\\-resize\\"\\:\\"cursor\\:col\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-row\\-resize\\"\\:\\"cursor\\:row\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ns\\-resize\\"\\:\\"cursor\\:ns\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ew\\-resize\\"\\:\\"cursor\\:ew\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-sw\\-resize\\"\\:\\"cursor\\:sw\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-s\\-resize\\"\\:\\"cursor\\:s\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-se\\-resize\\"\\:\\"cursor\\:se\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-w\\-resize\\"\\:\\"cursor\\:w\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-e\\-resize\\"\\:\\"cursor\\:e\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-nw\\-resize\\"\\:\\"cursor\\:nw\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-n\\-resize\\"\\:\\"cursor\\:n\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ne\\-resize\\"\\:\\"cursor\\:ne\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-grab\\"\\:\\"cursor\\:\\-webkit\\-grab\\;cursor\\:grab\\;\\"\\,\\"X\\ \\.modebar\\"\\:\\"position\\:absolute\\;top\\:2px\\;right\\:2px\\;\\"\\,\\"X\\ \\.ease\\-bg\\"\\:\\"\\-webkit\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-moz\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-ms\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-o\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\"\\,\\"X\\ \\.modebar\\-\\-hover\\>\\:not\\(\\.watermark\\)\\"\\:\\"opacity\\:0\\;\\-webkit\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-moz\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-ms\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-o\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\"\\,\\"X\\:hover\\ \\.modebar\\-\\-hover\\ \\.modebar\\-group\\"\\:\\"opacity\\:1\\;\\"\\,\\"X\\'..b'"\\:\\ \\{\\"outlinewidth\\"\\:\\ 0\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"colorscale\\"\\:\\ \\{\\"diverging\\"\\:\\ \\[\\[0\\,\\ \\"\\#8e0152\\"\\]\\,\\ \\[0\\.1\\,\\ \\"\\#c51b7d\\"\\]\\,\\ \\[0\\.2\\,\\ \\"\\#de77ae\\"\\]\\,\\ \\[0\\.3\\,\\ \\"\\#f1b6da\\"\\]\\,\\ \\[0\\.4\\,\\ \\"\\#fde0ef\\"\\]\\,\\ \\[0\\.5\\,\\ \\"\\#f7f7f7\\"\\]\\,\\ \\[0\\.6\\,\\ \\"\\#e6f5d0\\"\\]\\,\\ \\[0\\.7\\,\\ \\"\\#b8e186\\"\\]\\,\\ \\[0\\.8\\,\\ \\"\\#7fbc41\\"\\]\\,\\ \\[0\\.9\\,\\ \\"\\#4d9221\\"\\]\\,\\ \\[1\\,\\ \\"\\#276419\\"\\]\\]\\,\\ \\"sequential\\"\\:\\ \\[\\[0\\.0\\,\\ \\"\\#0d0887\\"\\]\\,\\ \\[0\\.1111111111111111\\,\\ \\"\\#46039f\\"\\]\\,\\ \\[0\\.2222222222222222\\,\\ \\"\\#7201a8\\"\\]\\,\\ \\[0\\.3333333333333333\\,\\ \\"\\#9c179e\\"\\]\\,\\ \\[0\\.4444444444444444\\,\\ \\"\\#bd3786\\"\\]\\,\\ \\[0\\.5555555555555556\\,\\ \\"\\#d8576b\\"\\]\\,\\ \\[0\\.6666666666666666\\,\\ \\"\\#ed7953\\"\\]\\,\\ \\[0\\.7777777777777778\\,\\ \\"\\#fb9f3a\\"\\]\\,\\ \\[0\\.8888888888888888\\,\\ \\"\\#fdca26\\"\\]\\,\\ \\[1\\.0\\,\\ \\"\\#f0f921\\"\\]\\]\\,\\ \\"sequentialminus\\"\\:\\ \\[\\[0\\.0\\,\\ \\"\\#0d0887\\"\\]\\,\\ \\[0\\.1111111111111111\\,\\ \\"\\#46039f\\"\\]\\,\\ \\[0\\.2222222222222222\\,\\ \\"\\#7201a8\\"\\]\\,\\ \\[0\\.3333333333333333\\,\\ \\"\\#9c179e\\"\\]\\,\\ \\[0\\.4444444444444444\\,\\ \\"\\#bd3786\\"\\]\\,\\ \\[0\\.5555555555555556\\,\\ \\"\\#d8576b\\"\\]\\,\\ \\[0\\.6666666666666666\\,\\ \\"\\#ed7953\\"\\]\\,\\ \\[0\\.7777777777777778\\,\\ \\"\\#fb9f3a\\"\\]\\,\\ \\[0\\.8888888888888888\\,\\ \\"\\#fdca26\\"\\]\\,\\ \\[1\\.0\\,\\ \\"\\#f0f921\\"\\]\\]\\}\\,\\ \\"colorway\\"\\:\\ \\[\\"\\#636efa\\"\\,\\ \\"\\#EF553B\\"\\,\\ \\"\\#00cc96\\"\\,\\ \\"\\#ab63fa\\"\\,\\ \\"\\#FFA15A\\"\\,\\ \\"\\#19d3f3\\"\\,\\ \\"\\#FF6692\\"\\,\\ \\"\\#B6E880\\"\\,\\ \\"\\#FF97FF\\"\\,\\ \\"\\#FECB52\\"\\]\\,\\ \\"font\\"\\:\\ \\{\\"color\\"\\:\\ \\"\\#2a3f5f\\"\\}\\,\\ \\"geo\\"\\:\\ \\{\\"bgcolor\\"\\:\\ \\"white\\"\\,\\ \\"lakecolor\\"\\:\\ \\"white\\"\\,\\ \\"landcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"showlakes\\"\\:\\ true\\,\\ \\"showland\\"\\:\\ true\\,\\ \\"subunitcolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"hoverlabel\\"\\:\\ \\{\\"align\\"\\:\\ \\"left\\"\\}\\,\\ \\"hovermode\\"\\:\\ \\"closest\\"\\,\\ \\"mapbox\\"\\:\\ \\{\\"style\\"\\:\\ \\"light\\"\\}\\,\\ \\"paper\\_bgcolor\\"\\:\\ \\"white\\"\\,\\ \\"plot\\_bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"polar\\"\\:\\ \\{\\"angularaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"radialaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"scene\\"\\:\\ \\{\\"xaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"zaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\}\\,\\ \\"shapedefaults\\"\\:\\ \\{\\"line\\"\\:\\ \\{\\"color\\"\\:\\ \\"\\#2a3f5f\\"\\}\\}\\,\\ \\"ternary\\"\\:\\ \\{\\"aaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"baxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"caxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"title\\"\\:\\ \\{\\"x\\"\\:\\ 0\\.05\\}\\,\\ \\"xaxis\\"\\:\\ \\{\\"automargin\\"\\:\\ true\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"title\\"\\:\\ \\{\\"standoff\\"\\:\\ 15\\}\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\,\\ \\"zerolinewidth\\"\\:\\ 2\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"automargin\\"\\:\\ true\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"title\\"\\:\\ \\{\\"standoff\\"\\:\\ 15\\}\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\,\\ \\"zerolinewidth\\"\\:\\ 2\\}\\}\\}\\}\\,\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\{\\"responsive\\"\\:\\ true\\}\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\)\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\}\\;\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\<\\/script\\>\\ \\ \\ \\ \\ \\ \\ \\ \\<\\/div\\>\\\n+\\<\\/body\\>\\\n+\\<\\/html\\>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test5/out.png |
b |
Binary file PDAUG_Basic_Plots/test-data/test5/out.png has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test5/report_dir/Out.png |
b |
Binary file PDAUG_Basic_Plots/test-data/test5/report_dir/Out.png has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Basic_Plots/test-data/test5/report_dir/report.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Basic_Plots/test-data/test5/report_dir/report.html Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,39 @@ + + + <!DOCTYPE html> + <html lang="en"> + <head> + <title>Bootstrap Example</title> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css"> + <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script> + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script> + <body> + <style> + div.container_1 { + width:600px; + margin: auto; + padding-right: 10; + } + div.table { + width:600px; + margin: auto; + padding-right: 10; + } + </style> + </head> + <div class="jumbotron text-center"> + <h1> Word Cloud </h1> + </div> + <div class="container"> + <div class="row"> + <div class="col-sm-4"> + <img src="Out.png" alt="Smiley face" height="1000" width="800"> + </div> + + </div> + </div> + </body> + </html> + \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Fishers_Plot/PDAUG_Fishers_Plot.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Fishers_Plot/PDAUG_Fishers_Plot.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,420 @@\n+import matplotlib\n+matplotlib.use(\'Agg\')\n+import os\n+import sys\n+sys.path.insert(0, os.path.abspath(\'..\'))\n+\n+import quantiprot\n+from quantiprot.utils.io import load_fasta_file\n+from quantiprot.utils.feature import Feature, FeatureSet\n+from quantiprot.metrics.aaindex import get_aa2volume, get_aa2hydropathy\n+from quantiprot.metrics.basic import average\n+\n+from matplotlib import pyplot as plt\n+\n+\n+from math import log10, floor\n+import numpy as np\n+from matplotlib import pyplot as plt\n+from scipy.stats import fisher_exact\n+from quantiprot.utils.sequence import SequenceSet, compact\n+\n+\n+def _count_frame(data, frame_range, num_bins):\n+ """\n+ Count instances in a 2D frame\n+\n+ The function discretizes the feature space into a grid of cells.\n+ Then it counts the number of instances that fall into each cell.\n+ An efficient method for counting instances is used. It performs parallel\n+ logical comparisons of data instances to vectors that hold information on\n+ grid lines.\n+\n+ Args:\n+ data (numpy.matrix): a Nx2 data matrix\n+ frame_range (numpy.matrix): a 2x2 matrix which defines feature ranges\n+ num_bins (list): a pair defining the resolution of the 2D grid\n+ Returns:\n+ cell_counts (numpy.matrix): a matrix holding counts of instances in\n+ each grid cell\n+ bin_ranges (tuple): a pair of numpy matrices holding information on\n+ bin(grid_cell) ranges\n+ """\n+ grid_x = np.linspace(start=frame_range[0, 0], stop=frame_range[1, 0],\\\n+ num=num_bins[0]+1, endpoint=True)\n+ grid_y = np.linspace(start=frame_range[0, 1], stop=frame_range[1, 1],\\\n+ num=num_bins[1]+1, endpoint=True)\n+ # copy because we add ones in the next lines\n+ bin_ranges = (np.copy(grid_x), np.copy(grid_y))\n+\n+\n+ #Count points in each grid cell\n+ grid_x[-1] += 1 # the last cell has to contain data at the border\n+ grid_y[-1] += 1 # the last cell has to contain data at the border\n+\n+ gte_x = np.matrix(data[:, 0] >= grid_x, dtype=\'float64\')\n+ lt_x = np.matrix(data[:, 0] < grid_x, dtype=\'float64\')\n+ gte_y = np.matrix(data[:, 1] >= grid_y, dtype=\'float64\')\n+ lt_y = np.matrix(data[:, 1] < grid_y, dtype=\'float64\')\n+\n+ dif_x = gte_x - lt_x\n+ dif_y = gte_y - lt_y\n+\n+ bins_x = dif_x.argmin(axis=1) - 1\n+ bins_y = dif_y.argmin(axis=1) - 1\n+\n+ coords = np.concatenate((bins_x, bins_y), axis=1)\n+\n+ cell_counts = np.zeros(shape=(len(grid_x)-1, len(grid_y)-1))\n+\n+ for i in range(coords.shape[0]):\n+ cell_counts[coords[i, 0], coords[i, 1]] += 1\n+\n+ return cell_counts, bin_ranges\n+\n+\n+def local_fisher_2d(set1, set2, features=None, \\\n+ windows_per_frame=10, overlap_factor=1, frame_range=None):\n+ """\n+ Compare local and global distribution of samples from two populations\n+ in the 2d feature space using the Fisher\'s exact test.\n+\n+ The function performs the Fisher Exact Test for comparing local and global\n+ ratia of instance counts from two different populations. It uses the\n+ \'_count_frame\' function to discretize the feature space and get instance\n+ counts. Then it scans the 2d feature space with a sliding window and\n+ performs the Fisher Exact test.\n+\n+ Args:\n+ set1 (SequenceSet or numpy.matrix): the first set with at least\n+ 2 sequence features.\n+ set2 (SequenceSet or numpy.matrix): the second set with at least\n+ 2 sequence features.\n+ features (tuple or list): strings with feature names for running\n+ the 2d Fisher test. If None then the first two features are\n+ used. Relevant only if \'set1\' or \'set2\' are SequenceSets.\n+ windows_per_frame (int): ratio between the whole feature space and\n+ the sliding window (default 10).\n+ overlap_factor (int):ratio between the size of a sliding window\n+ and a dis'..b'iewport" content="width=device-width, initial-scale=1">\n+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">\n+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>\n+ <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>\n+ <body>\n+ <style>\n+ div.container_1 {\n+ width:600px;\n+ margin: auto;\n+ padding-right: 10; \n+ }\n+ div.table {\n+ width:600px;\n+ margin: auto;\n+ padding-right: 10; \n+ }\n+ </style>\n+ </head>\n+ <div class="jumbotron text-center">\n+ <h1> Fisher\'s Plot </h1>\n+ </div>\n+ <div class="container">\n+ <div class="row">\n+ <div class="col-sm-4">\n+ <img src="1.png" alt="Smiley face" height="800" width="800">\n+ </div>\n+\n+ </div>\n+ </div>\n+ </body>\n+ </html>\n+ """ \n+ out_html.write(part_1)\n+ out_html.close()\n+# Load sets of amyloidogenic and non-amyloidogenic peptides:\n+\n+def run(Fasta1, Fasta2, windows_per_frame, overlap_factor, xlabel, ylabel, pop1_label, pop2_label, htmlOutDir, htmlFname, Workdirpath):\n+\n+ if not os.path.exists(htmlOutDir):\n+ os.makedirs(htmlOutDir)\n+\n+ amyload_pos_seq = load_fasta_file(Fasta1)\n+ amyload_neg_seq = load_fasta_file(Fasta2)\n+\n+ # Calculate quantitive features: volume and hydropathy\n+ mean_volume = Feature(get_aa2volume()).then(average)\n+ mean_hydropathy = Feature(get_aa2hydropathy()).then(average)\n+\n+ fs = FeatureSet("volume\'n\'hydropathy")\n+ fs.add(mean_volume)\n+ fs.add(mean_hydropathy)\n+\n+ amyload_pos_conv_seq = fs(amyload_pos_seq)\n+ amyload_neg_conv_seq = fs(amyload_neg_seq)\n+\n+ # Do local Fisher:\n+ result = local_fisher_2d(amyload_pos_conv_seq, amyload_neg_conv_seq,\n+ windows_per_frame=int(windows_per_frame), overlap_factor=int(overlap_factor))\n+\n+ # Plot local Fisher:\n+ _plot_local_fisher_2d(result, xlabel=xlabel,\n+ ylabel=ylabel,\n+ pop1_label=pop1_label,\n+ pop2_label=pop2_label,\n+ out_file_path =os.path.join(os.getcwd(), "out.png") \n+ )\n+\n+ \n+ # plt.savefig(os.path.join(Workdirpath, htmlOutDir, "1.png"))\n+\n+ HTML_Gen(os.path.join(Workdirpath, htmlOutDir, htmlFname))\n+\n+if __name__=="__main__":\n+ \n+ \n+ import argparse\n+ \n+ parser = argparse.ArgumentParser()\n+ \n+ parser.add_argument("-f1", "--Fasta1", required=True, default=None, help="First fasta file ") \n+ parser.add_argument("-f2", "--Fasta2", required=True, default=None, help="Second fasta file") \n+ parser.add_argument("-o", "--overlap_factor", required=False, default=5, help="Overlap factor") \n+ parser.add_argument("-w", "--windows_per_frame", required=False, default=5, help="Windows per frame") \n+ parser.add_argument("-x", "--xlabel", required=True, default=None, help="X label") \n+ parser.add_argument("-y", "--ylabel", required=True, default=None, help="Y label") \n+ parser.add_argument("-p1", "--pop1_label", required=True, default=None, help="First population label") \n+ parser.add_argument("-p2", "--pop2_label", required=True, default=None, help="Second population label") \n+ parser.add_argument("--htmlOutDir", required=False, default=os.path.join(os.getcwd(),\'report_dir\'), help="Path to html dir")\n+ parser.add_argument("--htmlFname", required=False, help="html output file", default="report.html")\n+ parser.add_argument("--Workdirpath", required=False, default=os.getcwd(), help="Path to output Working Directory") \n+ args = parser.parse_args()\n+\n+ run(args.Fasta1, args.Fasta2, args.windows_per_frame, args.overlap_factor, args.xlabel, args.ylabel, args.pop1_label, args.pop2_label, args.htmlOutDir, args.htmlFname, args.Workdirpath)\n+\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Fishers_Plot/test-data/negative.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Fishers_Plot/test-data/negative.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>non-ACP0 +MTISLIWGIAMVVCCCIWVIFDRRRRKAGEPPL +>non-ACP2 +MFATPLRQPTNASGARPAVSMDGQETPFQYEITD +>non-ACP4 +LLWRKVAGATVGPGPVPA +>non-ACP6 +DSPDPMNGASSNALIAKMNSAKLLYQHY +>non-ACP8 +NNQEVIDAISQAISQTPGCVL +>non-ACP10 +KKVVEKNADPETTLLVYLRRKLGLCGTKLGCGEG +>non-ACP12 +CSRLLPSLAQEEG +>non-ACP14 +KNDFAALQAKLDADAAEIEKWWSDSR +>non-ACP16 +VDREQLVQKARLAEQAERYDD +>non-ACP18 +RPLRRVVLFYQGKLCSMAGNFWQSSHYLQW +>non-ACP20 +GAAGERKLCLLSLLLIGA +>non-ACP22 +MFRKLLKMWILLRPTHWLILIALCAVTCAGYWLLWSE +>non-ACP24 +HLRGPADSGWMPQAAPCLSGAPQAS +>non-ACP26 +NNPNNSNSHLRPHAYNNSRRDDSD +>non-ACP28 +VVILASLSVMFLVSLWQQKIRERLPPGPTPLPFIGNY +>non-ACP30 +ICLSCLISFFLWNQNRAKGKLPPG +>non-ACP32 +VVMNSLRVILQAS +>non-ACP34 +ARPRLDLQLVQRFVRIQKVF +>non-ACP36 +MLAKGLSLRSVLAKGCQPFLSPTWQSSVLATGGGANIS +>non-ACP38 +AAGLPGAALPLRKRPLRAPSPEPAAPRGAAGLVV +>non-ACP40 +PPMPSAPPVHPPP +>non-ACP42 +SCPIDKRRPLIAFLRRLRD +>non-ACP44 +RLGLWASGLILILGFLKLLRLLLRRQRLARAMD +>non-ACP46 +FSPQRDRFQAEGS +>non-ACP48 +GTLWALVFLGILVGMVVPSPAGTRANNTLLDSRG +>non-ACP50 +MNRLLQKGTSLVPSWRTR +>non-ACP52 +MTTSLIWGIAIAACCCLWLILGIRRRQT +>non-ACP54 +ATLANGMSLQPPLEEVS +>non-ACP56 +PLTATNSGLAVNN +>non-ACP58 +VRACHKVCRCLLSGFGGRVDAGQPELLTER +>non-ACP60 +TAGILLLLLLGTLEGS +>non-ACP62 +MEPSILLLLALLVGFLLLLVRGH +>non-ACP64 +MKNCFQLLCNLKVPAAGFKNTVKS +>non-ACP66 +SVIHTQAHASGLQQVPQLVPAGPGGGGKAVAPSKQSK +>non-ACP68 +KPLGLLKPSSLMKVSGRFKAHQDA +>non-ACP70 +ARTLNNKLSLSKPKFSGFT +>non-ACP72 +LLLVIIWTLFGPSGLGEELLSLSLASLLPAPASPGPP +>non-ACP74 +WPGILVGGARVASCRYPALGPRLA +>non-ACP76 +RSVKGLVALITGGASGL +>non-ACP78 +AAAALRARILQVSSKVN +>non-ACP80 +TGCCIAGRLANLDDQNLTVAL +>non-ACP82 +GSILGFLQIATVLTVLLLLLK +>non-ACP84 +AARQIGSCLMRCRTLDTTSP +>non-ACP86 +WGCRGRRWAFARVDGGSCHRRGAPTGSTSNQIR +>non-ACP88 +YAKPGAVRSPAQILQWQVLPNTVPAKS +>non-ACP90 +RMAGPWLSLHEARLLGTRGAAAPKAV +>non-ACP92 +SISNRAAVPEHGVAPDAERL +>non-ACP94 +PNFSMETWLLLV +>non-ACP96 +PRPPSKTYRGAFQN +>non-ACP98 +SVLVKGCQPFLSAPRECPGHPRVGT +>non-ACP100 +LVTPPKALLKPLSIPNQ +>non-ACP102 +KMQGSRMDEQRCS +>non-ACP104 +VIADDLPPTCIRP +>non-ACP106 +LPGGLRVLVQTGH +>non-ACP108 +GWIWRWGWGRRCLGRPGLPGPGPGPATPLFLLLL +>non-ACP110 +RGIRGSSAARPSGRRRDPAGRTTETGFNIFTQHD +>non-ACP112 +QQEKEFLESYPQNCPPDALPGTPGNLD +>non-ACP114 +APARRVLQVKRVMQESSLSPAHL +>non-ACP116 +KVAPGGPTGYPGNLTAEQEQKLGELKMILL +>non-ACP118 +FLASYPQKCPAGSLPGTPGNTDE +>non-ACP120 +MDAKARNCLLQHREALEKDIKTSY +>non-ACP122 +ASRQLLVAPPEAL +>non-ACP124 +MISNGIGTVTTGKRSMCLFPLLLIGLWGC +>non-ACP126 +MTLRNFGMGKRSIEDRVQEEARCLVEELRKTNASPC +>non-ACP128 +AVFGLGGVGLSVIMGCKAAGASRIIAVDIN +>non-ACP130 +PNAKQSILQKNPDDVVIVAAYRTA +>non-ACP132 +AMELLLTATIFYLVLWVVKAFRLQVPKGLKSPPGP +>non-ACP134 +LLAAGFCPAVLCH +>non-ACP136 +AASVNDEQHQRIIKYGRALVLDIVEQ +>non-ACP138 +IARLREDGIQKRVIQEGRGELPDFQDG +>non-ACP140 +FIVVMNILALTLPFLAAEVQN +>non-ACP142 +CQNGRRANRTVRFARTA +>non-ACP144 +WVTVRSQQRGLFPAI +>non-ACP146 +LLRSCPLQGSPGRPRSV +>non-ACP148 +LNDGHFMPVLGFGTYAPPEVPRNRAVEV +>non-ACP150 +HLGRPSAPTIVAQPVSGLASPASFQPEQFQYTLDNNVLT +>non-ACP152 +RPEPGGCCCRRTVRANGC +>non-ACP154 +SWVEENRASFQPPVCNKLMHR +>non-ACP156 +VFHRVRWAPELGASLG +>non-ACP158 +RAKVLTLDGMNPRVRRVEYAVRGPIVQRALELEQELRQ +>non-ACP160 +LLQRARLAEQAERYDDMASAMKAVTELNEPLS +>non-ACP162 +ALIQKLNSDPQFVLAQNVGTTHDLLDICLKRATVQRA +>non-ACP164 +AALPMLWTGLVLLGLLGFPQTPAQGHDTVQPNFQQ +>non-ACP166 +QRRQNDSSVFLAIMVAAAVES +>non-ACP168 +CNAPGCGQRFTNEDHLAVHKHKHEMTLKFGPARTDS +>non-ACP170 +LVLLTVQNSALILTLNYSRIMPGYD +>non-ACP172 +TVLSPPQRFKRILQAMMLAVAVV +>non-ACP174 +ISRGLLLLAALCCLAPSFL +>non-ACP176 +VAGTESAQGPPGPAASLELWLNKATDPS +>non-ACP178 +QYLRIRTVQPEPDYGAAV +>non-ACP180 +ASPTQTPPTTSTIRVARRSRVALVAM +>non-ACP182 +TIWRNQHTYKMATSASANLSKIVKKNYMELPQDGKVQ +>non-ACP184 +LSITRGLLLLAALCCLAPIS +>non-ACP186 +ILLSIWRQSSGRGKLPPGPIPLPIIGNIFQ +>non-ACP188 +LLLLSWVALGPRSLEGADPGTPGEAEGPACP +>non-ACP190 +LRVKRAMQEASFMPPLLPPAAHQRFSTVPAVP +>non-ACP192 +GLLLLAGLCCLVFGIMAEDAQVAQGPSQQI +>non-ACP194 +RHVGLLCATGPQRWRF +>non-ACP196 +AAVALARPKPPLRHQEHLQNEPDS +>non-ACP198 +SRVNDQSQASRNGLKGKVLTLDTMNPCV +>non-ACP200 +AAALGPGVLQATRAFHTGQPRLAPLPPLPEYGGK +>non-ACP202 +LCTSGLWTAQASTNESSNSHRGLAPTNV +>non-ACP204 +PAIQPVLSGLSRIVNGEEA +>non-ACP206 +GCQASLSTAQERLGHPGVPTREGVR +>non-ACP208 +RKVLILTLVVAACGFVLWSSNGR +>non-ACP210 +GRVRSRCPGPALLLLLALAARPALAGPPAAALQ +>non-ACP212 +CRITKPALLVLNQETAKVVQT +>non-ACP214 +KAEVCMAVPWLSLQ +>non-ACP216 +SHLELNNGTKMPTLGLGT +>non-ACP218 +LLLPEAAAERDAREKLALWDRRPDTTAPL +>non-ACP220 +LLALSLVLLYRYATYSHGFFKKLGIPGPKPLPLFGNVLS +>non-ACP222 +LLSLWRQSSGRGKLPPGPTPLPVIGNILQIGIKD +>non-ACP224 +AFKSMEVANFYYEADCLAAAYGGKAAPAAPPADRPGPR +>non-ACP226 +SLFWAARPLQRCGQLVRMAIRAQH +>non-ACP228 +MRPPRTLTSTATMSALSTSMPMEIDDVMDEDAVNGQA +>non-ACP230 +LLSLIGFCWAQYDP +>non-ACP232 +LWARSKNDQLRISFPPGLCWG +>non-ACP234 +PQGFDVDRDAKKLNKACKGMGTNEAAIIEILSG +>non-ACP236 +IFCLILWVVKAWQPRLPKGLKSPPGPWGWPLLG +>non-ACP238 +LDAASPGPLALLGLLFAATLLLSALFLL +>non-ACP240 +VTLLFKLYCLA +>non-ACP242 +ATRAAAARLVGTAASRTPAAARH +>non-ACP244 +RNKLDLETLTDILEHQIR +>non-ACP246 +RRLVLQARTYAQAAASPAPAAGPGQMSFTFASPTQVFF +>non-ACP248 +PGRSRSAADDINPAPANM +>non-ACP250 +LLSALTLETWVLLAVILVLLYRLG +>non-ACP252 +VMGHGLCPQGARAKAAIPAALRDHEST +>non-ACP254 +FLVSIAGLLYALVQLGQPCDCLPPLRAAA +>non-ACP256 +VRSVRAAVGGLRAISAPSAPCLPRPWGLRAG +>non-ACP258 +RGGCWPRGLQQLLVPGG +>non-ACP260 +APATPPRPLKRKKLQFTDVTPESSP +>non-ACP262 +EQAERYDDMAAAMKAVTEQGHELSNEERNL +>non-ACP264 +MPNDPSDNQLK +>non-ACP266 +TELLLAITVFCLGFWVVRALRTQVP +>non-ACP268 +LTADLLGAPFFTLPKELQLALLERQTVFL +>non-ACP270 +GHGRLVEIQGRLGVRIER +>non-ACP272 +LPFKLLLFVLLDGWTRLTH +>non-ACP274 +QALWLVLVLSMPPVLVAAVVGTLVSLVQ |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Fishers_Plot/test-data/out.png |
b |
Binary file PDAUG_Fishers_Plot/test-data/out.png has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Fishers_Plot/test-data/positive.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Fishers_Plot/test-data/positive.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLFDIIKKIAESI +>ACP4 +GLLDIVKKVVGAFGSL +>ACP6 +GLFDIVKKVVGALGSL +>ACP8 +GLFDIVKKVVGTLAGL +>ACP10 +GLFDIAKKVIGVIGSL +>ACP12 +GLFDIVKKIAGHIAGSI +>ACP14 +GLFDIVKKIAGHIVSSI +>ACP16 +AACARFIDDFCDTLTPNIYRPRDNGQRCYAVNGHRCDFTVFNTNNGGNPIRASTPNCKTVLRTAANRCPTGGRGKINPNAPFLFAIDPNDGDCSTNF +>ACP18 +HGVSGHGQHGVHG +>ACP20 +FKCRRWQWRMKKLGAPSITCVRRAF +>ACP22 +KWKLFKKIKFLHSAKKF +>ACP24 +KSSAYSLQMGATAIKQVKKLFKKWGW +>ACP26 +GIGTKILGGVKTALKGALKELASTYAN +>ACP28 +GIGGKILSGLKTALKGAAKELASTYLH +>ACP30 +GIGGVLLSAGKAALKGLAKVLAEKYAN +>ACP32 +SIGAKILGGVKTFFKGALKELASTYLQ +>ACP34 +FLPLLAGLAANFLPTIICKISYKC +>ACP36 +FVQWFSKFLGRIL +>ACP38 +KWKIFKKIEKVGRNIRNGIIKAGPAVAVLGEAKAL +>ACP40 +GWLKKIGKKIERVGQHTRDATIQTIGVAQQAANVAATLK +>ACP42 +KWKLFKKIEKVGQNIRDGIIKAGPAVAVVGQATQIAK +>ACP44 +SQLGDLGSGAGQGGGGGGSIRAAGGAFGKLEAAREEEFFYKK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>ACP106 +FLIGMTQGLICLITRKC +>ACP108 +ILPILSLIGGLLGK +>ACP110 +GLLGLLGSVVSHVVPAIVGHF +>ACP112 +GLLGLLGSVVSHVLPAITQHL +>ACP114 +GIKCRFCCGCCTPGICGVCCRF +>ACP116 +QSHLSLCRWCCNCCRSNKGC +>ACP118 +ILGPVISTIGGVLGGLLKNL +>ACP120 +FLPILASLAAKFGPKLFCLVTKKC +>ACP122 +GLWSKIKEAAKAAGKAALNAVTGLVNQGDQPS +>ACP124 +LLGMIPLAISAISALSKL +>ACP126 +GLPVCGETCVGGTCNTPGCSCSWPVCTRN +>ACP128 +GVPICGETCTLGTCYTAGCSCSWPVCTRN +>ACP130 +GIPCGESCVWIPCISSAIGCSCKSKVCYRN +>ACP132 +GIPCAESCVWIPCTVTALIGCGCSNKVCYN +>ACP134 +GTFPCGESCVFIPCLTSAIGCSCKSKVCYKN +>ACP136 +GLLPCAESCVYIPCLTTVIGCSCKSKVCYKN +>ACP138 +GRDYRTCLTIVQKLKKMVDKPTQRSVSNAATRVCRTGRSRWRDVCRNFMRRYQSRVTQGLVAGETAQQICEDLRLCIPSTGPL +>ACP140 +GETDPNTQLLNDLGNNMAWGAALGAPGGLGSAALGAAGGALQTVGQGLIDHGPVNVFIPVLIGPSWNGSGSGYNSATSSSGSGS +>ACP142 +GFKDLLKGAAKALVKTVLF +>ACP144 +KSCCPNTTGRNIYNACRLTGAPRPTCAKLSGCKIISGSTCPSDYPK +>ACP146 +KSCCPNTTGRNIYNTCRFGGGSREVCARISGCKIISASTCPSDYPK +>ACP148 +KSCCPNTTGRNIYNTCRLTGSSRETCAKLSGCKIISASTCPSNYPK +>ACP150 +MRKEFHNVLSSGQLLADKRPARDYNRK +>ACP152 +KSCCKNTTGRNIYNTCRFAGGSRERCAKLSGCKIISASTCPSDYPK +>ACP154 +FIFHIIKGLFHAGKMIHGLVTRRRH +>ACP156 +FLPAIVGAAAKFLPKIFCAISKKC +>ACP158 +FLPIIAGVAAKVLPKIFCAISKKC +>ACP160 +FLPIIAGIAAKFLPKIFCTISKKC +>ACP162 +FLPVIAGVAANFLPKLFCAISKKC +>ACP164 +FLPIIAGAAAKVVQKIFCAISKKC +>ACP166 +GLMDTIKGVAKTVAASWLDKLKCKITGC +>ACP168 +VNWKKVLGKIIKVAK +>ACP170 +VNWKKILGKIIKVAK +>ACP172 +FFSLLPSLIGGLVSAIK +>ACP174 +RFRLPFRRPPIRIHPPPFYPPFRRFL +>ACP176 +KWKLFKKIPKFLHLAKKF +>ACP178 +YKQCHKKGGHCFPKEKICLPPSSDFGKMDCRWRWKCCKKGSG +>ACP180 +GIPCGESCVFIPCITGAIGCSCKSKVCYRN +>ACP182 +GEFLKCGESCVQGECYTPGCSCDWPICKKN +>ACP184 +GLPTCGETCTLGTCYVPDCSCSWPICMKN +>ACP186 +GLPVCGETCFGGTCNTPGCTCDPWPVCTRN +>ACP188 +FVDLKKIANIINSIFGK +>ACP190 +GSIPCGESCVFIPCISSVIGCACKSKVCYKN +>ACP192 +GIPCGESCVFIPCISSVIGCSCSSKVCYRN +>ACP194 +GSIPCGESCVFIPCISAVIGCSCSNKVCYKN +>ACP196 +GSIPCEGSCVFIPCISAIIGCSCSNKVCYKN +>ACP198 +GIPCGESCVFIPCLTSAIDCSCKSKVCYRN +>ACP200 +GMWSKILGHLIR +>ACP202 +GKWMSLLKHILK +>ACP204 +GFGMALKLLKKVL +>ACP206 +GTGLPMSERRKIMLMMR +>ACP208 +GIACGESCVFLGCFIPGCSCKSKVCYFN +>ACP210 +GVIPCGESCVFIPCISSVLGCSCKNKVCYRD +>ACP212 +KLCGETCFKFKCYTPGCSCSYPFCK +>ACP214 +GDACGETCFTGICFTAGCSCNPWPTCTRN +>ACP216 +GIPCAESCVWIPPCTITALMGCSCKNNVCYNN +>ACP218 +IPCGESCVWIPCITAIAGCSCKNKVCYT +>ACP220 +AIPCGESCVWIPCISTVIGCSCSNKVCYR +>ACP222 +GEYCGESCYLIPCFTPGCYCVSRQCVNKN +>ACP224 +IPCGESCVWIPCISGMFGCSCKDKVCYS +>ACP226 +FLGWLFKWASK +>ACP228 +FLKWLFKWAKK +>ACP230 +KWKSFLKTFKSAKKTVLHTALKAISS +>ACP232 +KWKSFLKTFKSLKKTVLHTLLKAISS +>ACP234 +MPFLFCNVNDVCNFASRNDYSCNYYSNSYSFWLASLNPER +>ACP236 +KWKLFKKIGAVLKVL +>ACP238 +GACFSIAHECGA +>ACP240 +TCCATGACGTTCCTGACGTT +>ACP242 +KRFKQDGGASHASPASS +>ACP244 +KRAKAAGGWSHWSPWSSC +>ACP246 +LLGDFFRKSKEKIGKEFKRIVQRIKDFLRNLVPRTES +>ACP248 +FLGALFKVASKVLPSVKCAITKKC +>ACP250 +GIGKFLKKAKKFGKAFVKILKK +>ACP252 +GIGKFLKKAKKGIGAVLKVLTTGL +>ACP254 +VECYGPNRPQF +>ACP256 +KRFKQDGGWSHWSPWSSC +>ACP258 +RQVFQVAYIIIKA +>ACP260 +KAFDITYVRLKF +>ACP262 +DFKLFAVTIKYR +>ACP264 +DFKLFAVYIKYR +>ACP266 +WHSDMEWWYLLG +>ACP268 +HTMYYHHYQHHL +>ACP270 +RLVSYNGIIFFLK +>ACP272 +GRENYHGCTTHWGFTLC +>ACP274 +ASSSYPLIHWRPWAR |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/PDAUG_ML_Models.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/PDAUG_ML_Models.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
b"@@ -0,0 +1,1088 @@\n+\n+import numpy as np\n+import sys,os\n+from scipy import interp\n+import pandas as pd\n+\n+###############################################################\n+from sklearn.metrics import *\n+from sklearn import preprocessing\n+from sklearn.metrics import accuracy_score\n+from sklearn.metrics import precision_recall_fscore_support\n+from sklearn.metrics import roc_curve, auc\n+from sklearn.model_selection import StratifiedKFold\n+from sklearn.preprocessing import StandardScaler\n+from sklearn.preprocessing import MinMaxScaler\n+###############################################################\n+from sklearn.linear_model import LogisticRegression\n+from sklearn.naive_bayes import GaussianNB\n+from sklearn.neighbors import KNeighborsClassifier\n+from sklearn.tree import DecisionTreeClassifier\n+from sklearn.svm import SVC\n+from sklearn.ensemble import RandomForestClassifier\n+from sklearn.linear_model import SGDClassifier\n+from sklearn.ensemble import GradientBoostingClassifier\n+from sklearn.neural_network import MLPClassifier\n+###############################################################\n+from itertools import cycle\n+################################################################\n+from sklearn.model_selection import train_test_split\n+\n+\n+\n+def ReturnData(TrainFile, TestMethod, TestFile=None):\n+ \n+ if (TestFile == None) and (TestMethod == 'Internal' or 'CrossVal'):\n+\n+ df = pd.read_csv(TrainFile, sep='\\t')\n+ clm_list = df.columns.tolist()\n+ X_train = df[clm_list[0:len(clm_list)-1]].values\n+ y_train = df[clm_list[len(clm_list)-1]].values\n+ X_test = None \n+ y_test = None\n+ return X_train, y_train, X_test, y_test\n+\n+ elif (TestFile is not None) and (TestMethod == 'External'):\n+\n+ df = pd.read_csv(TrainFile, sep='\\t')\n+ clm_list = df.columns.tolist()\n+ X_train = df[clm_list[0:len(clm_list)-1]].values\n+ y_train = df[clm_list[len(clm_list)-1]].values\n+ df1 = pd.read_csv(TestFile, sep='\\t')\n+ clm_list = df1.columns.tolist()\n+ X_test = df1[clm_list[0:len(clm_list)-1]].values\n+ y_test = df1[clm_list[len(clm_list)-1]].values\n+ return X_train, y_train, X_test, y_test\n+\n+ elif (TestFile is not None) and (TestMethod == 'Predict'):\n+\n+ df = pd.read_csv(TrainFile, sep='\\t')\n+ clm_list = df.columns.tolist()\n+ X_train = df[clm_list[0:len(clm_list)-1]].values\n+ y_train = df[clm_list[len(clm_list)-1]].values\n+\n+ df = pd.read_csv(TestFile, sep='\\t')\n+ X_test = df\n+ y_test = None\n+ return X_train, y_train, X_train, y_train\n+\n+def Fit_Model(TrainData, Test_Method, Algo, Selected_Sclaer, Workdirpath, htmlOutDir, OutFile, htmlFname, NoOfFolds=None, TestSize=None, TestData=None ):\n+\n+ if not os.path.exists(htmlOutDir):\n+ os.makedirs(htmlOutDir)\n+\n+ if Test_Method == 'Internal':\n+ X,y,_,_ = ReturnData(TrainData, Test_Method)\n+\n+ mean_tpr = 0.0\n+ mean_fpr = np.linspace(0, 1, 100)\n+\n+ specificity_list = []\n+ sensitivity_list = []\n+ precison_list = []\n+ mcc_list = []\n+ f1_list = []\n+ \n+ folds = StratifiedKFold(n_splits=5)\n+ mean_tpr = 0.0\n+ mean_fpr = np.linspace(0, 1, 100)\n+\n+ ##########################\n+ accuracy_score_l = []\n+ cohen_kappa_score_l = []\n+ matthews_corrcoef_l = []\n+ precision_l = []\n+ recall_l = []\n+ f_score_l = []\n+ ##########################\n+\n+ folds = StratifiedKFold(n_splits=5)\n+\n+ for i, (train, test) in enumerate(folds.split(X, y)):\n+\n+ if Selected_Sclaer=='Min_Max':\n+ scaler = MinMaxScaler().fit(X[train])\n+ x_train = scaler.transform(X[train])\n+ x_test = scaler.transform(X[test])\n+\n+ elif Selected_Sclaer=='Standard_Scaler':\n+ scaler = preprocessing.StandardScaler().fit(X[train])\n+ x_train = "..b' args.cache_size, args.verbose, args.max_iter, args.decision_function_shape, args.randomState, args.breakties, args.TrainFile, args.TestMethod, args.SelectedSclaer, args.NFolds, args.TestFile, args.OutFile, args.htmlOutDir, args.htmlFname, args.Workdirpath)\n+elif sys.argv[1] == \'SGDC\': \n+ SGD_Classifier( args.loss, args.penalty, args.alpha, args.l1_ratio, args.fit_intercept, args.max_iter, args.tol, args.shuffle, args.verbose, args.epsilon, args.n_jobs, args.random_state, args.learning_rate, args.eta0, args.power_t, args.early_stopping, args.validation_fraction, args.n_iter_no_change, args.warm_start, args.average, args.TrainFile, args.TestMethod, args.SelectedSclaer, args.NFolds, args.TestFile, args.OutFile, args.htmlOutDir, args.htmlFname, args.Workdirpath)\n+elif sys.argv[1] == \'DTC\':\n+ DT_Classifier(args.criterion, args.splitter, args.max_depth, args.min_samples_split, args.min_samples_leaf, args.min_weight_fraction_leaf, args.random_state, args.max_leaf_nodes, args.min_impurity_decrease, args.min_impurity_split, args.presort, args.ccpalpha, args.max_features, args.TrainFile, args.TestMethod, args.SelectedSclaer, args.NFolds, args.TestFile, args.OutFile, args.htmlOutDir, args.htmlFname, args.Workdirpath)\n+elif sys.argv[1] == \'GBC\':\n+ GB_Classifier(args.loss, args.learning_rate, args.n_estimators, args.subsample, args.criterion, args.min_samples_split, args.min_samples_leaf, args.min_weight_fraction_leaf, args.max_depth, args.min_impurity_decrease, args.min_impurity_split, args.init, args.random_state, args.verbose, args.max_leaf_nodes, args.warm_start, args.presort, args.validation_fraction, args.n_iter_no_change, args.tol, args.ccpalpha, args.max_features, args.TrainFile, args.TestMethod, args.SelectedSclaer, args.NFolds, args.TestFile, args.OutFile, args.htmlOutDir, args.htmlFname, args.Workdirpath)\n+elif sys.argv[1] == \'RFC\':\n+ RF_Classifier( args.n_estimators, args.criterion, args.max_depth, args.min_samples_split, args.min_samples_leaf, args.min_weight_fraction_leaf, args.max_features, args.max_leaf_nodes, args.min_impurity_decrease, args.min_impurity_split, args.bootstrap, args.oob_score, args.n_jobs, args.random_state, args.verbose, args.warm_start, args.ccp_alpha, args.max_samples, args.TrainFile, args.TestMethod, args.SelectedSclaer, args.NFolds, args.TestFile, args.OutFile, args.htmlOutDir, args.htmlFname, args.Workdirpath)\n+elif sys.argv[1] == \'LRC\':\n+ LR_Classifier(args.penalty, args.dual, args.tol, args.C, args.fit_intercept, args.intercept_scaling, args.random_state, args.solver, args.max_iter, args.multi_class, args.verbose, args.warm_start, args.n_jobs, args.l1_ratio, args.TrainFile, args.TestMethod, args.SelectedSclaer, args.NFolds, args.TestFile, args.OutFile, args.htmlOutDir, args.htmlFname, args.Workdirpath)\n+elif sys.argv[1] == \'KNC\':\n+ KN_Classifier(args.n_neighbors, args.weights, args.algorithm, args.leaf_size, args.p, args.metric, args.metric_params, args.n_jobs, args.TrainFile, args.TestMethod, args.SelectedSclaer, args.NFolds, args.TestFile, args.OutFile, args.htmlOutDir, args.htmlFname, args.Workdirpath)\n+elif sys.argv[1] == \'GNBC\':\n+ GNB_Classifier( args.var_smoothing, args.TrainFile, args.TestMethod, args.SelectedSclaer, args.NFolds, args.TestFile, args.OutFile, args.htmlOutDir, args.htmlFname, args.Workdirpath) \n+elif sys.argv[1] == \'MLP\' :\n+ MLP_Classifier(args.hidden_layer_sizes, args.activation, args.solver, args.alpha, args.batch_size, args.learning_rate, args.learning_rate_init, args.power_t, args.max_iter, args.shuffle, args.random_state, args.tol, args.verbose, args.warm_start, args.momentum, args.nesterovs_momentum, args.early_stopping, args.validation_fraction, args.beta_1, args.beta_2, args.epsilon, args.n_iter_no_change, args.max_fun, args.TrainFile, args.TestMethod, args.SelectedSclaer, args.NFolds, args.Testspt, args.TestFile, args.OutFile, args.htmlOutDir, args.htmlFname, args.Workdirpath)\n+else:\n+ print ("option not correct")\n+ exit()\n+\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,2319 @@\n+1003923\t1005406\t1006150\t1011712\t1011954\t1012294\t1012358\t1016033\t1017181\t1020410\t1021043\t1024093\t1027317\t1030575\t1032841\t1033167\t103606\t1039477\t1042850\t1047041\t1049188\t1049198\t1051317\t1051939\t1055132\t1055252\t1056769\t1059729\t1061441\t1064036\t1066621\t1067519\t1067574\t1067649\t1069816\t1074210\t1077793\t1082539\t1084865\t1084906\t1089121\t1089181\t1090059\t1091685\t1092725\t1093959\t1096010\t1096712\t1097208\t1098184\t1101177\t1105876\t1108679\t1109247\t1109362\t1115121\t1116384\t1124877\t1131894\t1141758\t128300\t128382\t128390\t129798\t130468\t130864\t132041\t132873\t133065\t133075\t133178\t133341\t133372\t134265\t134467\t134726\t134786\t137183\t137580\t138304\t14276\t14285\t14286\t14287\t14289\t151176\t152004\t152823\t153997\t15806\t165179\t165421\t1660334\t167719\t1718658\t1722468\t173241\t176108\t176615\t178385\t1787644\t183534\t187962\t190233\t197286\t198190\t198866\t1995363\t206826\t2101745\t222818\t227000\t2356875\t236308\t238820\t246717\t2529960\t271147\t272150\t275599\t276632\t282360\t283765\t288283\t289918\t29566\t297503\t300136\t303643\t303963\t309133\t309900\t310301\t318320\t318583\t3221156\t327050\t332718\t341460\t342014\t342787\t348027\t350242\t3506872\t354905\t355307\t355750\t359538\t360635\t362344\t363400\t365385\t368175\t369602\t369996\t370357\t370772\t377874\t383714\t383885\t386088\t386273\t3866487\t386899\t387095\t388506\t403701\t410908\t4110167\t4113615\t4130483\t420127\t424721\t4294954\t4296513\t4297420\t4298305\t4298633\t4298899\t4302288\t4303981\t4304524\t4306048\t4306177\t430691\t4307309\t4307343\t4307391\t4314545\t4315958\t4320312\t4320699\t432284\t4335928\t4337090\t4337755\t4338511\t4349518\t4356832\t4371362\t4375000\t4377809\t4383049\t438487\t4387092\t4393071\t4401186\t440481\t441155\t4416763\t4429907\t4430826\t4430843\t444649\t444857\t4449198\t4451646\t4456252\t4460404\t446403\t4473664\t449684\t455027\t456393\t465079\t469663\t471157\t484439\t484444\t494289\t495394\t497866\t498081\t504674\t505587\t505626\t509773\t514453\t516198\t516611\t516648\t516966\t517548\t517754\t518686\t518743\t518865\t520413\t521424\t521851\t521996\t522025\t523234\t523782\t525966\t526131\t526682\t528357\t528715\t529233\t529940\t530164\t530206\t530327\t530676\t535353\t535549\t542066\t545299\t557978\t560336\t561036\t562992\t569552\t572237\t572476\t573034\t574102\t579608\t580629\t581782\t586355\t591285\t609964\t616310\t648553\t663885\t68416\t692756\t71165\t712917\t714766\t715913\t737331\t741701\t750018\t755148\t757622\t766791\t785526\t801995\t804621\t814501\t815169\t815380\t828676\t841344\t851634\t851668\t851704\t851726\t851938\t853867\t85594\t857594\t861780\t863124\t863970\t864021\t86428\t870751\t871442\t871698\t875118\t876866\t882765\t883387\t886735\t887694\t894045\t895421\t895653\t900973\t905211\t905652\t908663\t909624\t911496\t911808\t918139\t918257\t922964\t923098\t925091\t925397\t927202\t92874\t928829\t929839\t930873\t931121\t935195\t935658\t937813\t938243\t939112\t942534\t944266\t945519\t951711\t962010\t964220\t965048\t967427\t969591\t97301\t974249\t975755\t981783\t982363\t990201\t992022\t993647\t993705\t99634\tclass_label\n+0.0\t-11.053\t0.0\t0.0\t-13.638\t-13.638\t0.0\t0.0\t0.0\t0.0\t0.0\t-7.755\t-13.638\t0.0\t0.0\t-13.638\t0.0\t0.0\t0.0\t-10.179\t0.0\t0.0\t0.0\t0.0\t-13.638\t-13.638\t0.0\t0.0\t0.0\t-5.799\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-13.638\t-12.053\t0.0\t0.0\t-12.638\t0.0\t0.0\t-12.638\t0.0\t0.0\t0.0\t-13.638\t0.0\t-13.638\t0.0\t0.0\t0.0\t0.0\t0.0\t-11.638\t0.0\t0.0\t-9.831\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-13.638\t0.0\t0.0\t0.0\t0.0\t-11.053\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-9.246\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-13.638\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-13.638\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-6.7189999999999985\t0.0\t-11.638\t0.0\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\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-12.379\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-12.379\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-9.379\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-12.379\t0.0\t0.0\t0.0\t0.0\t-2.3280000000000003\t-10.794\t-12.379\t0.0\t0.0\t-10.379\t0.0\t0.0\t0.0\t0.0\t0.0\t-12.379\t0.0\t0.0\t-12.379\t-12.379\t0.0\t0.0\t0.0\t0.0\t-11.379\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-10.794\t0.0\t-8.572000000000001\t0.0\t0.0\t-12.379\t0.0\t-5.651\t-12.379\t0.0\t-12.379\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-12.379\t0.0\t0.0\t0.0\t0.0\t0.0\t-11.379\t0.0\t-7.335\t-7.624\t0.0\t0.0\t-12.379\t0.0\t-6.357\t-10.379\t0.0\t0.0\t-11.379\t0.0\t-10.379\t0.0\t-6.572\t0.0\t0.0\t0.0\t0.0\t-5.324\t-11.379\t0.0\t0.0\t0.0\t-7.987\t-10.057\t-7.425\t0.0\t-2.562\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t-10.379\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t1\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test1/SVMC.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test1/SVMC.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy precision recall f1 mean_auc +SVMC 0.999 0.999 0.999 0.999 0.995 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test1/report_dir/SVMC.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test1/report_dir/SVMC.html Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+<html>\n+<head><meta charset="utf-8" /></head>\n+<body>\n+ <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: \'local\'};</script>\n+ <script type="text/javascript">/**\n+* plotly.js v1.55.2\n+* Copyright 2012-2020, Plotly, Inc.\n+* All rights reserved.\n+* Licensed under the MIT license\n+*/\n+!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module \'"+o+"\'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return a(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),a={"X,X div":"direction:ltr;font-family:\'Open Sans\', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:\'Open Sans\', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none'..b'cks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]], "sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}, "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "geo": {"bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white"}, "hoverlabel": {"align": "left"}, "hovermode": "closest", "mapbox": {"style": "light"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "ternary": {"aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "title": {"x": 0.05}, "xaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}, "yaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}}}, "title": {"text": "Machine Learning Model"}, "xaxis": {"anchor": "y", "domain": [0.0, 0.45], "title": {"text": "Performance measures"}}, "xaxis2": {"anchor": "y2", "domain": [0.55, 1.0], "range": [0, 1], "title": {"text": "False Positive Rate"}}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "Score"}}, "yaxis2": {"anchor": "x2", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "True Positive Rate"}}}, {"responsive": true} ) }; </script> </div>\n+</body>\n+</html>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test1/report_dir/SVMC.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test1/report_dir/SVMC.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy precision recall f1 mean_auc +SVMC 0.999 0.999 0.999 0.999 0.995 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test2/.zip |
b |
Binary file PDAUG_ML_Models/test-data/test2/.zip has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test2/GNBC.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test2/GNBC.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy precision recall f1 mean_auc +GNBC 0.999 0.999 0.999 0.999 0.994 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test2/report_dir/GNBC.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test2/report_dir/GNBC.html Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+<html>\n+<head><meta charset="utf-8" /></head>\n+<body>\n+ <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: \'local\'};</script>\n+ <script type="text/javascript">/**\n+* plotly.js v1.55.2\n+* Copyright 2012-2020, Plotly, Inc.\n+* All rights reserved.\n+* Licensed under the MIT license\n+*/\n+!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module \'"+o+"\'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return a(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),a={"X,X div":"direction:ltr;font-family:\'Open Sans\', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:\'Open Sans\', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none'..b'cks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]], "sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}, "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "geo": {"bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white"}, "hoverlabel": {"align": "left"}, "hovermode": "closest", "mapbox": {"style": "light"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "ternary": {"aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "title": {"x": 0.05}, "xaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}, "yaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}}}, "title": {"text": "Machine Learning Model"}, "xaxis": {"anchor": "y", "domain": [0.0, 0.45], "title": {"text": "Performance measures"}}, "xaxis2": {"anchor": "y2", "domain": [0.55, 1.0], "range": [0, 1], "title": {"text": "False Positive Rate"}}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "Score"}}, "yaxis2": {"anchor": "x2", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "True Positive Rate"}}}, {"responsive": true} ) }; </script> </div>\n+</body>\n+</html>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test2/report_dir/GNBC.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test2/report_dir/GNBC.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy precision recall f1 mean_auc +GNBC 0.999 0.999 0.999 0.999 0.994 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test3/SGDC.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test3/SGDC.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy precision recall f1 mean_auc +SGDC 0.697 0.826 0.697 0.628 0.9 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test3/report_dir/SGDC.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test3/report_dir/SGDC.html Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+<html>\n+<head><meta charset="utf-8" /></head>\n+<body>\n+ <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: \'local\'};</script>\n+ <script type="text/javascript">/**\n+* plotly.js v1.55.2\n+* Copyright 2012-2020, Plotly, Inc.\n+* All rights reserved.\n+* Licensed under the MIT license\n+*/\n+!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module \'"+o+"\'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return a(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),a={"X,X div":"direction:ltr;font-family:\'Open Sans\', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:\'Open Sans\', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none'..b'cks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]], "sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}, "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "geo": {"bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white"}, "hoverlabel": {"align": "left"}, "hovermode": "closest", "mapbox": {"style": "light"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "ternary": {"aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "title": {"x": 0.05}, "xaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}, "yaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}}}, "title": {"text": "Machine Learning Model"}, "xaxis": {"anchor": "y", "domain": [0.0, 0.45], "title": {"text": "Performance measures"}}, "xaxis2": {"anchor": "y2", "domain": [0.55, 1.0], "range": [0, 1], "title": {"text": "False Positive Rate"}}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "Score"}}, "yaxis2": {"anchor": "x2", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "True Positive Rate"}}}, {"responsive": true} ) }; </script> </div>\n+</body>\n+</html>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test4/DTC.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test4/DTC.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy precision recall f1 mean_auc +DTC 0.997 0.997 0.997 0.997 0.993 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test4/report_dir/DTC.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test4/report_dir/DTC.html Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+<html>\n+<head><meta charset="utf-8" /></head>\n+<body>\n+ <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: \'local\'};</script>\n+ <script type="text/javascript">/**\n+* plotly.js v1.55.2\n+* Copyright 2012-2020, Plotly, Inc.\n+* All rights reserved.\n+* Licensed under the MIT license\n+*/\n+!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module \'"+o+"\'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return a(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),a={"X,X div":"direction:ltr;font-family:\'Open Sans\', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:\'Open Sans\', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none'..b'cks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]], "sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}, "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "geo": {"bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white"}, "hoverlabel": {"align": "left"}, "hovermode": "closest", "mapbox": {"style": "light"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "ternary": {"aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "title": {"x": 0.05}, "xaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}, "yaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}}}, "title": {"text": "Machine Learning Model"}, "xaxis": {"anchor": "y", "domain": [0.0, 0.45], "title": {"text": "Performance measures"}}, "xaxis2": {"anchor": "y2", "domain": [0.55, 1.0], "range": [0, 1], "title": {"text": "False Positive Rate"}}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "Score"}}, "yaxis2": {"anchor": "x2", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "True Positive Rate"}}}, {"responsive": true} ) }; </script> </div>\n+</body>\n+</html>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test5/GBC.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test5/GBC.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy precision recall f1 mean_auc +GBC 0.998 0.998 0.998 0.998 0.995 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test5/report_dir/GBC.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test5/report_dir/GBC.html Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+<html>\n+<head><meta charset="utf-8" /></head>\n+<body>\n+ <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: \'local\'};</script>\n+ <script type="text/javascript">/**\n+* plotly.js v1.55.2\n+* Copyright 2012-2020, Plotly, Inc.\n+* All rights reserved.\n+* Licensed under the MIT license\n+*/\n+!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module \'"+o+"\'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return a(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),a={"X,X div":"direction:ltr;font-family:\'Open Sans\', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:\'Open Sans\', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none'..b'cks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]], "sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}, "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "geo": {"bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white"}, "hoverlabel": {"align": "left"}, "hovermode": "closest", "mapbox": {"style": "light"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "ternary": {"aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "title": {"x": 0.05}, "xaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}, "yaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}}}, "title": {"text": "Machine Learning Model"}, "xaxis": {"anchor": "y", "domain": [0.0, 0.45], "title": {"text": "Performance measures"}}, "xaxis2": {"anchor": "y2", "domain": [0.55, 1.0], "range": [0, 1], "title": {"text": "False Positive Rate"}}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "Score"}}, "yaxis2": {"anchor": "x2", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "True Positive Rate"}}}, {"responsive": true} ) }; </script> </div>\n+</body>\n+</html>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test6/RFC.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test6/RFC.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy precision recall f1 mean_auc +RFC 0.5 0.25 0.5 0.333 0.5 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test6/report_dir/RFC.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test6/report_dir/RFC.html Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+<html>\n+<head><meta charset="utf-8" /></head>\n+<body>\n+ <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: \'local\'};</script>\n+ <script type="text/javascript">/**\n+* plotly.js v1.55.2\n+* Copyright 2012-2020, Plotly, Inc.\n+* All rights reserved.\n+* Licensed under the MIT license\n+*/\n+!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module \'"+o+"\'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return a(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),a={"X,X div":"direction:ltr;font-family:\'Open Sans\', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:\'Open Sans\', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none'..b'cks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]], "sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}, "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "geo": {"bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white"}, "hoverlabel": {"align": "left"}, "hovermode": "closest", "mapbox": {"style": "light"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "ternary": {"aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "title": {"x": 0.05}, "xaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}, "yaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}}}, "title": {"text": "Machine Learning Model"}, "xaxis": {"anchor": "y", "domain": [0.0, 0.45], "title": {"text": "Performance measures"}}, "xaxis2": {"anchor": "y2", "domain": [0.55, 1.0], "range": [0, 1], "title": {"text": "False Positive Rate"}}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "Score"}}, "yaxis2": {"anchor": "x2", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "True Positive Rate"}}}, {"responsive": true} ) }; </script> </div>\n+</body>\n+</html>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test7/LRC.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test7/LRC.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy precision recall f1 mean_auc +LRC 1.0 1.0 1.0 1.0 0.995 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test7/report_dir/LRC.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test7/report_dir/LRC.html Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+<html>\n+<head><meta charset="utf-8" /></head>\n+<body>\n+ <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: \'local\'};</script>\n+ <script type="text/javascript">/**\n+* plotly.js v1.55.2\n+* Copyright 2012-2020, Plotly, Inc.\n+* All rights reserved.\n+* Licensed under the MIT license\n+*/\n+!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module \'"+o+"\'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return a(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),a={"X,X div":"direction:ltr;font-family:\'Open Sans\', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:\'Open Sans\', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none'..b'cks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]], "sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}, "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "geo": {"bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white"}, "hoverlabel": {"align": "left"}, "hovermode": "closest", "mapbox": {"style": "light"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "ternary": {"aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "title": {"x": 0.05}, "xaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}, "yaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}}}, "title": {"text": "Machine Learning Model"}, "xaxis": {"anchor": "y", "domain": [0.0, 0.45], "title": {"text": "Performance measures"}}, "xaxis2": {"anchor": "y2", "domain": [0.55, 1.0], "range": [0, 1], "title": {"text": "False Positive Rate"}}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "Score"}}, "yaxis2": {"anchor": "x2", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "True Positive Rate"}}}, {"responsive": true} ) }; </script> </div>\n+</body>\n+</html>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test8/KNC.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test8/KNC.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy precision recall f1 mean_auc +KNC 0.999 0.999 0.999 0.999 0.995 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test8/report_dir/KNC.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test8/report_dir/KNC.html Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+<html>\n+<head><meta charset="utf-8" /></head>\n+<body>\n+ <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: \'local\'};</script>\n+ <script type="text/javascript">/**\n+* plotly.js v1.55.2\n+* Copyright 2012-2020, Plotly, Inc.\n+* All rights reserved.\n+* Licensed under the MIT license\n+*/\n+!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module \'"+o+"\'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return a(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),a={"X,X div":"direction:ltr;font-family:\'Open Sans\', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:\'Open Sans\', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none'..b'cks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]], "sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}, "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "geo": {"bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white"}, "hoverlabel": {"align": "left"}, "hovermode": "closest", "mapbox": {"style": "light"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "ternary": {"aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "title": {"x": 0.05}, "xaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}, "yaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}}}, "title": {"text": "Machine Learning Model"}, "xaxis": {"anchor": "y", "domain": [0.0, 0.45], "title": {"text": "Performance measures"}}, "xaxis2": {"anchor": "y2", "domain": [0.55, 1.0], "range": [0, 1], "title": {"text": "False Positive Rate"}}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "Score"}}, "yaxis2": {"anchor": "x2", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "True Positive Rate"}}}, {"responsive": true} ) }; </script> </div>\n+</body>\n+</html>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test9/MLP.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test9/MLP.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy precision recall f1 mean_auc +MLP 0.999 0.999 0.999 0.999 0.995 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_ML_Models/test-data/test9/report_dir/MLP.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_ML_Models/test-data/test9/report_dir/MLP.html Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+<html>\n+<head><meta charset="utf-8" /></head>\n+<body>\n+ <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: \'local\'};</script>\n+ <script type="text/javascript">/**\n+* plotly.js v1.55.2\n+* Copyright 2012-2020, Plotly, Inc.\n+* All rights reserved.\n+* Licensed under the MIT license\n+*/\n+!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module \'"+o+"\'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return a(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),a={"X,X div":"direction:ltr;font-family:\'Open Sans\', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:\'Open Sans\', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none'..b'cks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]], "sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}, "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "geo": {"bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white"}, "hoverlabel": {"align": "left"}, "hovermode": "closest", "mapbox": {"style": "light"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white"}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "ternary": {"aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "bgcolor": "#E5ECF6", "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "title": {"x": 0.05}, "xaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}, "yaxis": {"automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "zerolinewidth": 2}}}, "title": {"text": "Machine Learning Model"}, "xaxis": {"anchor": "y", "domain": [0.0, 0.45], "title": {"text": "Performance measures"}}, "xaxis2": {"anchor": "y2", "domain": [0.55, 1.0], "range": [0, 1], "title": {"text": "False Positive Rate"}}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "Score"}}, "yaxis2": {"anchor": "x2", "domain": [0.0, 1.0], "range": [0, 1], "title": {"text": "True Positive Rate"}}}, {"responsive": true} ) }; </script> </div>\n+</body>\n+</html>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/PDAUG_Merge_Dataframes.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Merge_Dataframes/PDAUG_Merge_Dataframes.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,28 @@ +import glob +import pandas as pd +import sys + +files = sys.argv[1] +out_file = sys.argv[2] + + +data_frame = pd.read_csv(files.split(',')[0],sep='\t') + + +for file in files.split(',')[1:]: + + df1 = pd.read_csv(file,sep='\t') + data_frame = pd.concat([data_frame,df1]) + +final_DF = data_frame.fillna(0) + +final_DF.to_csv(out_file,sep="\t", index=False) + + + + + + + + + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/test-data/.RData |
b |
Binary file PDAUG_Merge_Dataframes/test-data/.RData has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/test-data/.Rhistory --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Merge_Dataframes/test-data/.Rhistory Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,11 @@ +install.pcakges("igraph") +install.packages("igraph") +library(igraph) +library(igraph) +st <- make_star(40) +st +tr <- make_tree(40, children = 3, mode = "undirected") +tr +er <- sample_gnm(n=100, m=40) +er +q() |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/test-data/.ipynb_checkpoints/Blast_baseline_bacteriocin_paper-checkpoint.ipynb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Merge_Dataframes/test-data/.ipynb_checkpoints/Blast_baseline_bacteriocin_paper-checkpoint.ipynb Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,2618 @@\n+{\n+ "cells": [\n+ {\n+ "cell_type": "markdown",\n+ "metadata": {},\n+ "source": [\n+ "## Import libraries"\n+ ]\n+ },\n+ {\n+ "cell_type": "code",\n+ "execution_count": 1,\n+ "metadata": {},\n+ "outputs": [\n+ {\n+ "name": "stderr",\n+ "output_type": "stream",\n+ "text": [\n+ "/home/nafizh/anaconda3/lib/python3.6/site-packages/Bio/SearchIO/__init__.py:211: BiopythonExperimentalWarning: Bio.SearchIO is an experimental submodule which may undergo significant changes prior to its future official release.\\n",\n+ " BiopythonExperimentalWarning)\\n",\n+ "/home/nafizh/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.\\n",\n+ " from ._conv import register_converters as _register_converters\\n",\n+ "Using TensorFlow backend.\\n",\n+ "/home/nafizh/anaconda3/lib/python3.6/importlib/_bootstrap.py:205: RuntimeWarning: compiletime version 3.5 of module \'tensorflow.python.framework.fast_tensor_util\' does not match runtime version 3.6\\n",\n+ " return f(*args, **kwds)\\n"\n+ ]\n+ }\n+ ],\n+ "source": [\n+ "import os\\n",\n+ "from Bio import SearchIO\\n",\n+ "from Bio.SearchIO import HmmerIO\\n",\n+ "from Bio import SeqIO\\n",\n+ "%matplotlib inline\\n",\n+ "import matplotlib.pyplot as plt\\n",\n+ "plt.rcParams[\'figure.figsize\'] = (10.0, 7.0)\\n",\n+ "\\n",\n+ "import math\\n",\n+ "import numpy as np\\n",\n+ "#seed = 1337\\n",\n+ "seed = 42\\n",\n+ "np.random.seed(seed)\\n",\n+ "# THEANO_FLAGS=\\"dnn.conv.algo_bwd_filter=deterministic, dnn.conv.algo_bwd_data=deterministic\\"\\n",\n+ "\\n",\n+ "# %matplotlib inline\\n",\n+ "# import matplotlib.pyplot as plt\\n",\n+ "# plt.rcParams[\'figure.figsize\'] = (10.0, 7.0)\\n",\n+ "\\n",\n+ "#import numpy as np\\n",\n+ "#import matplotlib.pyplot as plt\\n",\n+ "import os\\n",\n+ "import pandas as pd\\n",\n+ "from collections import defaultdict\\n",\n+ "from Bio import SeqIO\\n",\n+ "from nltk import bigrams\\n",\n+ "from nltk import trigrams\\n",\n+ "import gensim, logging\\n",\n+ "logging.basicConfig(format=\'%(asctime)s : %(levelname)s : %(message)s\', level=logging.INFO)\\n",\n+ "\\n",\n+ "# import theano\\n",\n+ "# theano.config.device = \'gpu\'\\n",\n+ "# theano.config.floatX = \'float32\'\\n",\n+ "from keras.layers import Dropout\\n",\n+ "from keras.layers import Input, Dense, Lambda, LSTM, RepeatVector, Conv1D, MaxPooling1D, UpSampling1D\\n",\n+ "from keras.models import Model\\n",\n+ "from keras import backend as K\\n",\n+ "from keras import objectives\\n",\n+ "from keras.datasets import mnist\\n",\n+ "from keras import regularizers\\n",\n+ "from keras.layers import GaussianNoise\\n",\n+ "from keras.layers import Activation\\n",\n+ "from keras.callbacks import LearningRateScheduler, EarlyStopping\\n",\n+ "\\n",\n+ "from keras.layers.normalization import BatchNormalization\\n",\n+ "from keras.models import Sequential\\n",\n+ "from keras.layers import Dense\\n",\n+ "from keras.wrappers.scikit_learn import KerasClassifier\\n",\n+ "from keras.utils import np_utils\\n",\n+ "from keras import regularizers\\n",\n+ "#from keras.regularizers import l2, activity_l2, l1, activity_l1\\n",\n+ "from keras.optimizers import Adam, SGD\\n",\n+ "\\n",\n+ "from keras.wrappers.scikit_learn import KerasClassifier\\n",\n+ "from sklearn.decomposition import TruncatedSVD\\n",\n+ "from sklearn.manifold import TSNE\\n",\n+ "from sklearn.preprocessing import normalize\\n",\n+ "from sklearn.utils import shuffle\\n",\n+ "from sklearn.model_selection import train_test_split\\n",\n+ "from sklearn import metrics\\n",\n+ "from sklearn.model_selection import KFold\\n",\n+ "from sklearn.preprocessing import LabelEncoder\\n",\n+ "from sklearn.pipeline import Pipeline\\n",\n+ "from sklearn.metrics import precision_score\\'..b'gwePJjw8HAcHBxMdmZMSUkhISFB7cxrmKTLMLuzwaFDh3jnnXfQ6/Vo\\nNBpq1aqFra0tsbGxZGdn4+fnR79+/fif//kfEhMTsbW1pV69evj5+akdSvfv38+UKVN48OABNjY2\\n1KlTh/T0dG7evImiKLi6urJq1apcqT9JSUl07dpVfdKp1WrJzMzk4sWL6jI7d+5k+vTp6pPlmjVr\\n4uDgQHx8vHpcTZs2ZfXq1bmGOD1+/DhvvfUWkDO7r7e3t8k6NIzuMm7cOMaPH5+r7LvvvmP27Nno\\n9XpsbGyoW7cuNjY2REdHq/EMHjwYPz+/PKMaPXjwgLFjx3L06FEgp+9A5cqViYuLU+Pu27cvH330\\nkbpudHQ0Xbt2BWDBggX07dtX3V6XLl2IiYnB19eXhQsXmjyWZcuWsXz5coBcdZgfV69eZfjw4erT\\n4+rVq+Pg4EBsbCxZWVnY2dkxa9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SNBiGEEEIIIYRF0mgQQgghhBBCWCSNBiGEEEIIIYRF\\n0mgQQgghhBBCWCSNBiGEEEIIIYRF0mgQQgghhBBCWCSNBiGEEEIIIYRF0mgQQgghhBBCWCSNBiGE\\nEEIIIYRF0mgQQgghhBBCWCSNBiGEEEIIIYRF/wetxYPVVwx9zwAAAABJRU5ErkJggg==\\n",\n+ "text/plain": [\n+ "<matplotlib.figure.Figure at 0x7f3a60385e48>"\n+ ]\n+ },\n+ "metadata": {},\n+ "output_type": "display_data"\n+ }\n+ ],\n+ "source": [\n+ "cluster_size_dict_list = [value for key, value in cluster_sizes_dict.items()]\\n",\n+ "\\n",\n+ "plt.rc(\'ytick\',labelsize=24)\\n",\n+ "plt.rc(\'xtick\',labelsize=24)\\n",\n+ "\\n",\n+ "_, ax = plt.subplots(1, 1, figsize=(12,9))\\n",\n+ "#fig.set_size_inches(12, 9)\\n",\n+ "ax.spines[\\"top\\"].set_visible(False) \\n",\n+ "ax.spines[\\"right\\"].set_visible(False)\\n",\n+ "ax.hist(cluster_size_dict_list, bins=np.arange(min(cluster_size_dict_list),max(cluster_size_dict_list)), \\n",\n+ " align=\'left\', \\n",\n+ " color=\'r\', edgecolor = \'black\')\\n",\n+ "# plt.title(\\"%i Negative bacteriocin sequences\\\\nLengths %i to %i\\" \\\\\\n",\n+ "# % (len(sizes),min(sizes),max(sizes)))\\n",\n+ "ax.set_ylabel(\'Count\',fontsize = 28)\\n",\n+ "ax.set_xlabel(\'Bacteriocin cluster sizes\',fontsize = 28)\\n",\n+ "plt.xlim(1.0, )\\n",\n+ "plt.tick_params(size = 10)\\n",\n+ "#plt.xlabel(\\"Sequence length\\")\\n",\n+ "#plt.ylabel(\\"Count\\")\\n",\n+ "# ax.figure.savefig(\'bacteriocin_cluster_sizes.eps\', format = \'eps\', dpi = 1200, bbox_inches=\\"tight\\")\\n",\n+ "# ax.figure.savefig(\'bacteriocin_cluster_sizes.png\', format = \'png\', dpi = 1200, bbox_inches=\\"tight\\")\\n",\n+ "# ax.figure.savefig(\'bacteriocin_cluster_sizes.pdf\', format = \'pdf\', dpi = 1200, bbox_inches=\\"tight\\")\\n",\n+ "#plt.show()"\n+ ]\n+ },\n+ {\n+ "cell_type": "code",\n+ "execution_count": null,\n+ "metadata": {\n+ "collapsed": true,\n+ "hidden": true\n+ },\n+ "outputs": [],\n+ "source": []\n+ }\n+ ],\n+ "metadata": {\n+ "kernelspec": {\n+ "display_name": "Python 2",\n+ "language": "python",\n+ "name": "python2"\n+ },\n+ "language_info": {\n+ "codemirror_mode": {\n+ "name": "ipython",\n+ "version": 2\n+ },\n+ "file_extension": ".py",\n+ "mimetype": "text/x-python",\n+ "name": "python",\n+ "nbconvert_exporter": "python",\n+ "pygments_lexer": "ipython2",\n+ "version": "2.7.16"\n+ }\n+ },\n+ "nbformat": 4,\n+ "nbformat_minor": 2\n+}\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/test-data/.ipynb_checkpoints/Untitled-checkpoint.ipynb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Merge_Dataframes/test-data/.ipynb_checkpoints/Untitled-checkpoint.ipynb Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,6 @@ +{ + "cells": [], + "metadata": {}, + "nbformat": 4, + "nbformat_minor": 2 +} |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/test-data/.ipynb_checkpoints/Untitled1-checkpoint.ipynb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Merge_Dataframes/test-data/.ipynb_checkpoints/Untitled1-checkpoint.ipynb Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,89 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 42, + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Warning message in read.table(file = file, header = header, sep = sep, quote = quote, :\n", + "“incomplete final line found by readTableHeader on '/Users/joshij/Desktop/GitRepos/Peptide/align/New.csv'”\n" + ] + }, + { + "ename": "ERROR", + "evalue": "Error in data[[rowvar]]: attempt to select less than one element in get1index\n", + "output_type": "error", + "traceback": [ + "Error in data[[rowvar]]: attempt to select less than one element in get1index\nTraceback:\n", + "1. read.csv(\"/Users/joshij/Desktop/GitRepos/Peptide/align/New.csv\", \n . sep = \",\", header = TRUE, row.names = \"index\")", + "2. read.table(file = file, header = header, sep = sep, quote = quote, \n . dec = dec, fill = fill, comment.char = comment.char, ...)" + ] + } + ], + "source": [ + "m <- read.csv(\"/Users/joshij/Desktop/GitRepos/Peptide/align/New.csv\", sep=\",\",header=TRUE, row.names='index')\n", + "\n", + "\n", + "m <- as.matrix(read.table(\"/Users/joshij/Desktop/GitRepos/Peptide/align/New.csv\", sep=\",\", header=TRUE, row.names='index')[, 1:4])" + ] + }, + { + "cell_type": "code", + "execution_count": 38, + "metadata": {}, + "outputs": [], + "source": [ + "library(igraph)" + ] + }, + { + "cell_type": "code", + "execution_count": 40, + "metadata": {}, + "outputs": [ + { + "ename": "ERROR", + "evalue": "Error in mde(x): 'list' object cannot be coerced to type 'double'\n", + "output_type": "error", + "traceback": [ + "Error in mde(x): 'list' object cannot be coerced to type 'double'\nTraceback:\n", + "1. graph.adjacency(m, mode = \"undirected\", weighted = TRUE)", + "2. graph.adjacency.dense(adjmatrix, mode = mode, weighted = weighted, \n . diag = diag)", + "3. `mode<-`(`*tmp*`, value = \"double\")" + ] + } + ], + "source": [ + "m <- as.matrix(read.table(\"out_1.csv\", sep=\",\", header=TRUE, row.names='index')[, 1:4])" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "R", + "language": "R", + "name": "ir" + }, + "language_info": { + "codemirror_mode": "r", + "file_extension": ".r", + "mimetype": "text/x-r-source", + "name": "R", + "pygments_lexer": "r", + "version": "4.0.0" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/test-data/1.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Merge_Dataframes/test-data/1.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy presision recall f1 mean_auc +SVMC 0.608 0.781 0.608 0.537 0.608 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/test-data/2.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Merge_Dataframes/test-data/2.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy presision recall f1 mean_auc +SVMC 0.608 0.781 0.608 0.537 0.608 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/test-data/3.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Merge_Dataframes/test-data/3.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy presision recall f1 mean_auc +SVMC 0.608 0.781 0.608 0.537 0.608 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/test-data/4.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Merge_Dataframes/test-data/4.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy presision recall f1 mean_auc +SVMC 0.608 0.781 0.608 0.537 0.608 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/test-data/5.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Merge_Dataframes/test-data/5.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy presision recall f1 mean_auc +SVMC 0.608 0.781 0.608 0.537 0.608 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/test-data/6.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Merge_Dataframes/test-data/6.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +Algo accuracy presision recall f1 mean_auc +SVMC 0.608 0.781 0.608 0.537 0.608 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Merge_Dataframes/test-data/out.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Merge_Dataframes/test-data/out.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,7 @@ +Algo accuracy presision recall f1 mean_auc +SVMC 0.608 0.7809999999999999 0.608 0.537 0.608 +SVMC 0.608 0.7809999999999999 0.608 0.537 0.608 +SVMC 0.608 0.7809999999999999 0.608 0.537 0.608 +SVMC 0.608 0.7809999999999999 0.608 0.537 0.608 +SVMC 0.608 0.7809999999999999 0.608 0.537 0.608 +SVMC 0.608 0.7809999999999999 0.608 0.537 0.608 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/PDAUG_Peptide_CD_Spectral_Analysis.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/PDAUG_Peptide_CD_Spectral_Analysis.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,125 @@ +import glob +import pandas as pd +import sys +import os +import argparse + +from modlamp.wetlab import CD + +parser = argparse.ArgumentParser(description='Deployment tool') +subparsers = parser.add_subparsers() + +calc_ellipticity = subparsers.add_parser('calc_ellipticity') +calc_ellipticity.add_argument("-T","--Type", required=True, default=None, help="Input fasta sequence") +calc_ellipticity.add_argument("-H","--DirPath", required=False, default=os.getcwd(), help="Input fasta sequence") +calc_ellipticity.add_argument("-Wn","--WMin", required=True, default=None, help="Number of mutations to perform per sequence") +calc_ellipticity.add_argument("-Wx","--Wmax", required=True, default=None, help="Probability of mutating a sequence") +calc_ellipticity.add_argument("-A","--Amide", required=True, default=None, help="Mutated output fasta") +calc_ellipticity.add_argument("-P","--Pathlen", required=True, default=None, help="Mutated output fasta") +calc_ellipticity.add_argument("-O","--OutPut", required=False, default="OutFile.tsv", help="Mutated output fasta") + +PlotData = subparsers.add_parser('PlotData') + +PlotData.add_argument("-H","--DirPath", required=False, default=os.getcwd(), help="Input fasta sequence") +PlotData.add_argument("-T","--Type", required=True, default=None, help="Input fasta sequence") +PlotData.add_argument("-Wn","--WMin", required=True, default=None, help="Number of mutations to perform per sequence") +PlotData.add_argument("-Wx","--Wmax", required=True, default=None, help="Probability of mutating a sequence") +PlotData.add_argument("-A","--Amide", required=True, default=None, help="Mutated output fasta") +PlotData.add_argument("-P","--Pathlen", required=True, default=None, help="Mutated output fasta") + +Dichroweb = subparsers.add_parser("Dichroweb") +Dichroweb.add_argument("-H","--DirPath", required=False, default=os.getcwd(), help="Input fasta sequence") +Dichroweb.add_argument("-T","--Type", required=True, default=None, help="Input fasta sequence") +Dichroweb.add_argument("-Wn","--WMin", required=True, default=None, help="Number of mutations to perform per sequence") +Dichroweb.add_argument("-Wx","--Wmax", required=True, default=None, help="Probability of mutating a sequence") +Dichroweb.add_argument("-A","--Amide", required=True, default=None, help="Mutated output fasta") +Dichroweb.add_argument("-P","--Pathlen", required=True, default=None, help="Mutated output fasta") + +helicity = subparsers.add_parser('helicity') + +helicity.add_argument("-H","--DirPath", required=False, default=os.getcwd(), help="Input fasta sequence") +helicity.add_argument("-Wn","--WMin", required=True, default=None, help="Number of mutations to perform per sequence") +helicity.add_argument("-Wx","--Wmax", required=True, default=None, help="Probability of mutating a sequence") +helicity.add_argument("-A","--Amide", required=True, default=None, help="Mutated output fasta") +helicity.add_argument("-P","--Pathlen", required=True, default=None, help="Mutated output fasta") +helicity.add_argument("-t","--temperature", required=False, default=24.0, help="") +helicity.add_argument("-k","--k", required=True, default=2.4, help="") +helicity.add_argument("-I","--Induction", required=False, default=True, help="") +helicity.add_argument("-O","--OutPut", required=False, default="result.tsv", help="") + + +args = parser.parse_args() + +if sys.argv[1] == "calc_ellipticity": + + if args.Type == "calc_molar_ellipticity": + + cd = CD(args.DirPath, wmin=int(args.WMin), wmax=int(args.Wmax), amide=args.Amide, pathlen=float(args.Pathlen)) + cd.calc_molar_ellipticity() + df = cd.molar_ellipticity + df = pd.DataFrame(df[0]) + df.to_csv(args.OutPut, index=None, sep="\t") + + elif args.Type == "calc_meanres_ellipticity": + cd = CD(args.DirPath, wmin=int(args.WMin), wmax=int(args.Wmax), amide=args.Amide, pathlen=float(args.Pathlen)) + cd.calc_meanres_ellipticity() + df = cd.meanres_ellipticity + df = pd.DataFrame(df[0]) + df.to_csv(args.OutPut, index=None, sep="\t") + else: + pass + +if sys.argv[1] == "PlotData": + + os.system('ls temp') + + if args.Type == "mean residue ellipticity": + + cd = CD(args.DirPath, wmin=int(args.WMin), wmax=int(args.Wmax), amide=args.Amide, pathlen=float(args.Pathlen)) + cd.calc_meanres_ellipticity() + cd.plot(data="mean residue ellipticity", combine='solvent') + + elif args.Type == "molar ellipticity": + + cd = CD(args.DirPath, wmin=int(args.WMin), wmax=int(args.Wmax), amide=args.Amide, pathlen=float(args.Pathlen)) + cd.calc_molar_ellipticity() + cd.plot(data="molar ellipticity", combine='solvent') + + elif args.Type == "circular dichroism": + + cd = CD(args.DirPath, wmin=int(args.WMin), wmax=int(args.Wmax), amide=args.Amide, pathlen=float(args.Pathlen)) + cd.calc_molar_ellipticity() + cd.plot(data="circular dichroism", combine='solvent') + + else: + pass + +if sys.argv[1] == "Dichroweb": + + if args.Type == "mean residue ellipticity": + + cd = CD(args.DirPath, wmin=int(args.WMin), wmax=int(args.Wmax), amide=args.Amide, pathlen=float(args.Pathlen)) + cd.calc_meanres_ellipticity() + cd.dichroweb(data="mean residue ellipticity") + + elif args.Type == "molar ellipticity": + + cd = CD(args.DirPath, wmin=int(args.WMin), wmax=int(args.Wmax), amide=args.Amide, pathlen=float(args.Pathlen)) + cd.calc_molar_ellipticity() + cd.dichroweb(data='molar ellipticity') + + elif args.Type == "circular dichroism": + + cd = CD(args.DirPath, wmin=int(args.WMin), wmax=int(args.Wmax), amide=args.Amide, pathlen=float(args.Pathlen)) + cd.calc_molar_ellipticity() + cd.dichroweb(data='circular dichroism') + + +if sys.argv[1] == "helicity": + cd = CD(args.DirPath, wmin=int(args.WMin), wmax=int(args.Wmax), amide=args.Amide, pathlen=float(args.Pathlen)) + cd.calc_meanres_ellipticity() + cd.helicity(temperature=float(args.temperature), k=float(args.k), induction=args.Induction, filename=args.OutPut ) + + + + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro1/0.csv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro1/0.csv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,82 @@ +V1;V2 +260.0;-24.722610722610725 +259.0;-593.6759906759906 +258.0;-494.1794871794872 +257.0;-410.8368298368298 +256.0;-366.55944055944065 +255.0;-305.7062937062937 +254.0;-344.4428904428905 +253.0;-371.4149184149184 +252.0;-418.3100233100234 +251.0;-551.4032634032635 +250.0;-612.3869463869464 +249.0;-765.030303030303 +248.0;-856.4149184149185 +247.0;-1019.9324009324012 +246.0;-1232.0629370629372 +245.0;-1383.902097902098 +244.0;-1560.699300699301 +243.0;-1878.7482517482517 +242.0;-2123.659673659674 +241.0;-2416.666666666667 +240.0;-2765.850815850816 +239.0;-3228.927738927739 +238.0;-3747.668997668998 +237.0;-4357.342657342658 +236.0;-5233.939393939394 +235.0;-6329.34731934732 +234.0;-7478.508158508159 +233.0;-8770.04662004662 +232.0;-10285.804195804196 +231.0;-11791.282051282053 +230.0;-13279.766899766902 +229.0;-14829.58041958042 +228.0;-16370.06993006993 +227.0;-17743.752913752916 +226.0;-19018.34498834499 +225.0;-20120.629370629373 +224.0;-21116.923076923078 +223.0;-21979.463869463874 +222.0;-22708.71794871795 +221.0;-23354.079254079257 +220.0;-23866.899766899765 +219.0;-24193.9393939394 +218.0;-24557.109557109557 +217.0;-24814.219114219115 +216.0;-25031.934731934733 +215.0;-25349.88344988345 +214.0;-25744.289044289046 +213.0;-26241.25874125874 +212.0;-27040.09324009324 +211.0;-28132.40093240093 +210.0;-29622.610722610723 +209.0;-31212.121212121216 +208.0;-32520.979020979023 +207.0;-33090.90909090909 +206.0;-32665.50116550117 +205.0;-30917.48251748252 +204.0;-27818.88111888112 +203.0;-23414.21911421912 +202.0;-17853.706293706295 +201.0;-11155.547785547786 +200.0;-3263.4265734265737 +199.0;6043.286713286713 +198.0;16231.608391608392 +197.0;26713.752913752916 +196.0;36934.73193473194 +195.0;45956.41025641026 +194.0;53044.28904428904 +193.0;57816.55011655012 +192.0;60107.92540792542 +191.0;60342.89044289045 +190.0;58569.93006993008 +189.0;55043.58974358975 +188.0;50280.18648018648 +187.0;44708.85780885781 +186.0;38994.6386946387 +185.0;33251.04895104895 +184.0;28564.102564102566 +183.0;24424.708624708623 +182.0;21271.655011655017 +181.0;19615.221445221447 +180.0;14085.151515151516 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro1/1.csv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro1/1.csv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,82 @@ +V1;V2 +260.0;-90.21375291375291 +259.0;-667.4592074592074 +258.0;-484.72261072261074 +257.0;-339.2237762237762 +256.0;-353.31235431235433 +255.0;-291.4895104895105 +254.0;-355.2237762237762 +253.0;-408.4055944055944 +252.0;-472.77855477855485 +251.0;-494.01864801864804 +250.0;-506.941724941725 +249.0;-530.7249417249418 +248.0;-528.5198135198135 +247.0;-523.8764568764569 +246.0;-511.48018648018655 +245.0;-506.4428904428905 +244.0;-534.4009324009324 +243.0;-597.3496503496505 +242.0;-630.2517482517483 +241.0;-736.925407925408 +240.0;-867.7226107226107 +239.0;-1029.7435897435896 +238.0;-1091.3216783216783 +237.0;-1201.6433566433568 +236.0;-1333.927738927739 +235.0;-1441.888111888112 +234.0;-1545.4009324009326 +233.0;-1640.6503496503499 +232.0;-1721.897435897436 +231.0;-1887.7016317016316 +230.0;-1983.3146853146854 +229.0;-2051.6293706293704 +228.0;-2159.3333333333335 +227.0;-2205.988344988345 +226.0;-2288.2750582750587 +225.0;-2267.244755244755 +224.0;-2203.2470862470864 +223.0;-2122.794871794872 +222.0;-1990.3473193473194 +221.0;-1798.857808857809 +220.0;-1688.717948717949 +219.0;-1729.804195804196 +218.0;-1808.3240093240095 +217.0;-1943.20979020979 +216.0;-2030.7156177156178 +215.0;-2042.0442890442891 +214.0;-2144.5174825174827 +213.0;-2333.566433566434 +212.0;-2717.4125874125875 +211.0;-3192.0046620046624 +210.0;-3695.5710955710956 +209.0;-4442.051282051282 +208.0;-5338.368298368299 +207.0;-6389.90675990676 +206.0;-7566.177156177157 +205.0;-8868.181818181818 +204.0;-10290.55944055944 +203.0;-11561.188811188813 +202.0;-12927.97202797203 +201.0;-14257.389277389279 +200.0;-15467.948717948719 +199.0;-16368.20512820513 +198.0;-16791.794871794875 +197.0;-16856.526806526806 +196.0;-16452.167832167834 +195.0;-15712.750582750585 +194.0;-14655.967365967368 +193.0;-13285.431235431235 +192.0;-11749.627039627041 +191.0;-10088.344988344988 +190.0;-8377.785547785548 +189.0;-6856.899766899767 +188.0;-5475.477855477857 +187.0;-4284.3822843822845 +186.0;-3518.5081585081584 +185.0;-2987.552447552448 +184.0;-4163.822843822844 +183.0;-3984.3123543123547 +182.0;-3570.4895104895113 +181.0;-1223.3426573426575 +180.0;16412.727272727276 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro2/0.csv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro2/0.csv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,82 @@ +V1;V2 +260.0;-321.3939393939394 +259.0;-7717.787878787879 +258.0;-6424.333333333333 +257.0;-5340.878787878788 +256.0;-4765.272727272727 +255.0;-3974.181818181818 +254.0;-4477.757575757576 +253.0;-4828.393939393939 +252.0;-5438.030303030303 +251.0;-7168.242424242425 +250.0;-7961.030303030303 +249.0;-9945.39393939394 +248.0;-11133.39393939394 +247.0;-13259.121212121212 +246.0;-16016.818181818182 +245.0;-17990.727272727276 +244.0;-20289.09090909091 +243.0;-24423.727272727272 +242.0;-27607.57575757576 +241.0;-31416.666666666668 +240.0;-35956.06060606061 +239.0;-41976.06060606061 +238.0;-48719.69696969697 +237.0;-56645.454545454544 +236.0;-68041.21212121211 +235.0;-82281.51515151515 +234.0;-97220.60606060606 +233.0;-114010.60606060606 +232.0;-133715.45454545453 +231.0;-153286.6666666667 +230.0;-172636.9696969697 +229.0;-192784.54545454544 +228.0;-212810.9090909091 +227.0;-230668.78787878787 +226.0;-247238.48484848483 +225.0;-261568.18181818182 +224.0;-274520.0 +223.0;-285733.0303030303 +222.0;-295213.3333333333 +221.0;-303603.03030303033 +220.0;-310269.69696969696 +219.0;-314521.21212121216 +218.0;-319242.42424242425 +217.0;-322584.8484848485 +216.0;-325415.1515151515 +215.0;-329548.4848484848 +214.0;-334675.75757575757 +213.0;-341136.36363636365 +212.0;-351521.21212121216 +211.0;-365721.2121212121 +210.0;-385093.9393939394 +209.0;-405757.57575757575 +208.0;-422772.72727272724 +207.0;-430181.8181818182 +206.0;-424651.51515151514 +205.0;-401927.27272727276 +204.0;-361645.45454545453 +203.0;-304384.8484848485 +202.0;-232098.1818181818 +201.0;-145022.12121212122 +200.0;-42424.545454545456 +199.0;78562.72727272726 +198.0;211010.9090909091 +197.0;347278.7878787879 +196.0;480151.51515151514 +195.0;597433.3333333333 +194.0;689575.7575757577 +193.0;751615.1515151515 +192.0;781403.0303030303 +191.0;784457.5757575758 +190.0;761409.0909090909 +189.0;715566.6666666666 +188.0;653642.4242424243 +187.0;581215.1515151515 +186.0;506930.30303030304 +185.0;432263.63636363635 +184.0;371333.3333333333 +183.0;317521.2121212121 +182.0;276531.5151515152 +181.0;254997.8787878788 +180.0;183106.9696969697 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro2/1.csv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro2/1.csv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,82 @@ +V1;V2 +260.0;-1172.7787878787879 +259.0;-8676.969696969696 +258.0;-6301.39393939394 +257.0;-4409.90909090909 +256.0;-4593.060606060607 +255.0;-3789.3636363636365 +254.0;-4617.909090909091 +253.0;-5309.272727272727 +252.0;-6146.121212121212 +251.0;-6422.242424242425 +250.0;-6590.242424242425 +249.0;-6899.424242424242 +248.0;-6870.757575757575 +247.0;-6810.393939393939 +246.0;-6649.242424242425 +245.0;-6583.757575757576 +244.0;-6947.21212121212 +243.0;-7765.545454545455 +242.0;-8193.272727272728 +241.0;-9580.030303030304 +240.0;-11280.39393939394 +239.0;-13386.666666666666 +238.0;-14187.181818181818 +237.0;-15621.363636363636 +236.0;-17341.060606060604 +235.0;-18744.545454545452 +234.0;-20090.21212121212 +233.0;-21328.454545454548 +232.0;-22384.666666666664 +231.0;-24540.121212121212 +230.0;-25783.09090909091 +229.0;-26671.18181818182 +228.0;-28071.333333333336 +227.0;-28677.848484848488 +226.0;-29747.57575757576 +225.0;-29474.181818181816 +224.0;-28642.212121212124 +223.0;-27596.333333333336 +222.0;-25874.515151515152 +221.0;-23385.151515151516 +220.0;-21953.333333333332 +219.0;-22487.454545454548 +218.0;-23508.21212121212 +217.0;-25261.72727272727 +216.0;-26399.303030303032 +215.0;-26546.57575757576 +214.0;-27878.727272727276 +213.0;-30336.36363636364 +212.0;-35326.36363636363 +211.0;-41496.0606060606 +210.0;-48042.42424242424 +209.0;-57746.666666666664 +208.0;-69398.78787878789 +207.0;-83068.78787878789 +206.0;-98360.30303030302 +205.0;-115286.36363636365 +204.0;-133777.27272727274 +203.0;-150295.45454545453 +202.0;-168063.63636363635 +201.0;-185346.06060606058 +200.0;-201083.33333333334 +199.0;-212786.66666666666 +198.0;-218293.33333333334 +197.0;-219134.84848484848 +196.0;-213878.18181818182 +195.0;-204265.7575757576 +194.0;-190527.57575757577 +193.0;-172710.60606060605 +192.0;-152745.15151515152 +191.0;-131148.48484848483 +190.0;-108911.21212121211 +189.0;-89139.69696969696 +188.0;-71181.21212121213 +187.0;-55696.969696969696 +186.0;-45740.606060606064 +185.0;-38838.181818181816 +184.0;-54129.696969696975 +183.0;-51796.060606060615 +182.0;-46416.36363636364 +181.0;-15903.454545454546 +180.0;213365.45454545456 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro3/0.csv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro3/0.csv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,82 @@ +V1;V2 +260.0;-0.010606 +259.0;-0.254687 +258.0;-0.212003 +257.0;-0.176249 +256.0;-0.157254 +255.0;-0.131148 +254.0;-0.147766 +253.0;-0.159337 +252.0;-0.179455 +251.0;-0.236552 +250.0;-0.262714 +249.0;-0.328198 +248.0;-0.367402 +247.0;-0.437551 +246.0;-0.528555 +245.0;-0.593694 +244.0;-0.66954 +243.0;-0.805983 +242.0;-0.91105 +241.0;-1.03675 +240.0;-1.18655 +239.0;-1.38521 +238.0;-1.60775 +237.0;-1.8693 +236.0;-2.24536 +235.0;-2.71529 +234.0;-3.20828 +233.0;-3.76235 +232.0;-4.41261 +231.0;-5.05846 +230.0;-5.69702 +229.0;-6.36189 +228.0;-7.02276 +227.0;-7.61207 +226.0;-8.15887 +225.0;-8.63175 +224.0;-9.05916 +223.0;-9.42919 +222.0;-9.74204 +221.0;-10.0189 +220.0;-10.2389 +219.0;-10.3792 +218.0;-10.535 +217.0;-10.6453 +216.0;-10.7387 +215.0;-10.8751 +214.0;-11.0443 +213.0;-11.2575 +212.0;-11.6002 +211.0;-12.0688 +210.0;-12.7081 +209.0;-13.39 +208.0;-13.9515 +207.0;-14.196 +206.0;-14.0135 +205.0;-13.2636 +204.0;-11.9343 +203.0;-10.0447 +202.0;-7.65924 +201.0;-4.78573 +200.0;-1.40001 +199.0;2.59257 +198.0;6.96336 +197.0;11.4602 +196.0;15.845 +195.0;19.7153 +194.0;22.756 +193.0;24.8033 +192.0;25.7863 +191.0;25.8871 +190.0;25.1265 +189.0;23.6137 +188.0;21.5702 +187.0;19.1801 +186.0;16.7287 +185.0;14.2647 +184.0;12.254 +183.0;10.4782 +182.0;9.12554 +181.0;8.41493 +180.0;6.04253 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro3/1.csv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/test-data/Dichro3/1.csv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,82 @@ +V1;V2 +260.0;-0.0387017 +259.0;-0.28634 +258.0;-0.207946 +257.0;-0.145527 +256.0;-0.151571 +255.0;-0.125049 +254.0;-0.152391 +253.0;-0.175206 +252.0;-0.202822 +251.0;-0.211934 +250.0;-0.217478 +249.0;-0.227681 +248.0;-0.226735 +247.0;-0.224743 +246.0;-0.219425 +245.0;-0.217264 +244.0;-0.229258 +243.0;-0.256263 +242.0;-0.270378 +241.0;-0.316141 +240.0;-0.372253 +239.0;-0.44176 +238.0;-0.468177 +237.0;-0.515505 +236.0;-0.572255 +235.0;-0.61857 +234.0;-0.662977 +233.0;-0.703839 +232.0;-0.738694 +231.0;-0.809824 +230.0;-0.850842 +229.0;-0.880149 +228.0;-0.926354 +227.0;-0.946369 +226.0;-0.98167 +225.0;-0.972648 +224.0;-0.945193 +223.0;-0.910679 +222.0;-0.853859 +221.0;-0.77171 +220.0;-0.72446 +219.0;-0.742086 +218.0;-0.775771 +217.0;-0.833637 +216.0;-0.871177 +215.0;-0.876037 +214.0;-0.919998 +213.0;-1.0011 +212.0;-1.16577 +211.0;-1.36937 +210.0;-1.5854 +209.0;-1.90564 +208.0;-2.29016 +207.0;-2.74127 +206.0;-3.24589 +205.0;-3.80445 +204.0;-4.41465 +203.0;-4.95975 +202.0;-5.5461 +201.0;-6.11642 +200.0;-6.63575 +199.0;-7.02196 +198.0;-7.20368 +197.0;-7.23145 +196.0;-7.05798 +195.0;-6.74077 +194.0;-6.28741 +193.0;-5.69945 +192.0;-5.04059 +191.0;-4.3279 +190.0;-3.59407 +189.0;-2.94161 +188.0;-2.34898 +187.0;-1.838 +186.0;-1.50944 +185.0;-1.28166 +184.0;-1.78628 +183.0;-1.70927 +182.0;-1.53174 +181.0;-0.524814 +180.0;7.04106 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/Halicity.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/test-data/Halicity.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,3 @@ +Name Solvent Helicity Induction +Peptide1 T 76.06 11.403 +Peptide1 W 6.67 0.0 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF1/0.pdf |
b |
Binary file PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF1/0.pdf has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF1/1.pdf |
b |
Binary file PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF1/1.pdf has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF1/1_M.pdf |
b |
Binary file PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF1/1_M.pdf has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF2/0.pdf |
b |
Binary file PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF2/0.pdf has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF2/1.pdf |
b |
Binary file PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF2/1.pdf has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF2/1_M.pdf |
b |
Binary file PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF2/1_M.pdf has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF3/0.pdf |
b |
Binary file PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF3/0.pdf has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF3/1.pdf |
b |
Binary file PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF3/1.pdf has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF3/1_M.pdf |
b |
Binary file PDAUG_Peptide_CD_Spectral_Analysis/test-data/PDF3/1_M.pdf has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/Peptide1_T.csv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/test-data/Peptide1_T.csv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,85 @@ +Peptide1 +GLFDIVKKVLKLLK +33 +T +260,-0.010606 +259,-0.254687 +258,-0.212003 +257,-0.176249 +256,-0.157254 +255,-0.131148 +254,-0.147766 +253,-0.159337 +252,-0.179455 +251,-0.236552 +250,-0.262714 +249,-0.328198 +248,-0.367402 +247,-0.437551 +246,-0.528555 +245,-0.593694 +244,-0.66954 +243,-0.805983 +242,-0.91105 +241,-1.03675 +240,-1.18655 +239,-1.38521 +238,-1.60775 +237,-1.8693 +236,-2.24536 +235,-2.71529 +234,-3.20828 +233,-3.76235 +232,-4.41261 +231,-5.05846 +230,-5.69702 +229,-6.36189 +228,-7.02276 +227,-7.61207 +226,-8.15887 +225,-8.63175 +224,-9.05916 +223,-9.42919 +222,-9.74204 +221,-10.0189 +220,-10.2389 +219,-10.3792 +218,-10.535 +217,-10.6453 +216,-10.7387 +215,-10.8751 +214,-11.0443 +213,-11.2575 +212,-11.6002 +211,-12.0688 +210,-12.7081 +209,-13.39 +208,-13.9515 +207,-14.196 +206,-14.0135 +205,-13.2636 +204,-11.9343 +203,-10.0447 +202,-7.65924 +201,-4.78573 +200,-1.40001 +199,2.59257 +198,6.96336 +197,11.4602 +196,15.845 +195,19.7153 +194,22.756 +193,24.8033 +192,25.7863 +191,25.8871 +190,25.1265 +189,23.6137 +188,21.5702 +187,19.1801 +186,16.7287 +185,14.2647 +184,12.254 +183,10.4782 +182,9.12554 +181,8.41493 +180,6.04253 \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/Peptide2_W.csv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/test-data/Peptide2_W.csv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,85 @@ +Peptide1 +GLFDIVKKVLKLLK +33 +W +260,-0.0387017 +259,-0.28634 +258,-0.207946 +257,-0.145527 +256,-0.151571 +255,-0.125049 +254,-0.152391 +253,-0.175206 +252,-0.202822 +251,-0.211934 +250,-0.217478 +249,-0.227681 +248,-0.226735 +247,-0.224743 +246,-0.219425 +245,-0.217264 +244,-0.229258 +243,-0.256263 +242,-0.270378 +241,-0.316141 +240,-0.372253 +239,-0.44176 +238,-0.468177 +237,-0.515505 +236,-0.572255 +235,-0.61857 +234,-0.662977 +233,-0.703839 +232,-0.738694 +231,-0.809824 +230,-0.850842 +229,-0.880149 +228,-0.926354 +227,-0.946369 +226,-0.98167 +225,-0.972648 +224,-0.945193 +223,-0.910679 +222,-0.853859 +221,-0.77171 +220,-0.72446 +219,-0.742086 +218,-0.775771 +217,-0.833637 +216,-0.871177 +215,-0.876037 +214,-0.919998 +213,-1.0011 +212,-1.16577 +211,-1.36937 +210,-1.5854 +209,-1.90564 +208,-2.29016 +207,-2.74127 +206,-3.24589 +205,-3.80445 +204,-4.41465 +203,-4.95975 +202,-5.5461 +201,-6.11642 +200,-6.63575 +199,-7.02196 +198,-7.20368 +197,-7.23145 +196,-7.05798 +195,-6.74077 +194,-6.28741 +193,-5.69945 +192,-5.04059 +191,-4.3279 +190,-3.59407 +189,-2.94161 +188,-2.34898 +187,-1.838 +186,-1.50944 +185,-1.28166 +184,-1.78628 +183,-1.70927 +182,-1.53174 +181,-0.524814 +180,7.04106 \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/calc_meanres_ellipticity.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/test-data/calc_meanres_ellipticity.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,82 @@ +0 1 +260.0 -90.21375291375291 +259.0 -667.4592074592074 +258.0 -484.72261072261074 +257.0 -339.2237762237762 +256.0 -353.31235431235433 +255.0 -291.4895104895105 +254.0 -355.2237762237762 +253.0 -408.4055944055944 +252.0 -472.77855477855485 +251.0 -494.01864801864804 +250.0 -506.941724941725 +249.0 -530.7249417249418 +248.0 -528.5198135198135 +247.0 -523.8764568764569 +246.0 -511.48018648018655 +245.0 -506.4428904428905 +244.0 -534.4009324009324 +243.0 -597.3496503496505 +242.0 -630.2517482517483 +241.0 -736.925407925408 +240.0 -867.7226107226107 +239.0 -1029.7435897435896 +238.0 -1091.3216783216783 +237.0 -1201.6433566433568 +236.0 -1333.927738927739 +235.0 -1441.888111888112 +234.0 -1545.4009324009326 +233.0 -1640.6503496503499 +232.0 -1721.897435897436 +231.0 -1887.7016317016316 +230.0 -1983.3146853146854 +229.0 -2051.6293706293704 +228.0 -2159.3333333333335 +227.0 -2205.988344988345 +226.0 -2288.2750582750587 +225.0 -2267.244755244755 +224.0 -2203.2470862470864 +223.0 -2122.794871794872 +222.0 -1990.3473193473194 +221.0 -1798.857808857809 +220.0 -1688.717948717949 +219.0 -1729.804195804196 +218.0 -1808.3240093240095 +217.0 -1943.20979020979 +216.0 -2030.7156177156178 +215.0 -2042.0442890442891 +214.0 -2144.5174825174827 +213.0 -2333.566433566434 +212.0 -2717.4125874125875 +211.0 -3192.0046620046624 +210.0 -3695.5710955710956 +209.0 -4442.051282051282 +208.0 -5338.368298368299 +207.0 -6389.90675990676 +206.0 -7566.177156177157 +205.0 -8868.181818181818 +204.0 -10290.55944055944 +203.0 -11561.188811188813 +202.0 -12927.97202797203 +201.0 -14257.389277389279 +200.0 -15467.948717948719 +199.0 -16368.20512820513 +198.0 -16791.794871794875 +197.0 -16856.526806526806 +196.0 -16452.167832167834 +195.0 -15712.750582750585 +194.0 -14655.967365967368 +193.0 -13285.431235431235 +192.0 -11749.627039627041 +191.0 -10088.344988344988 +190.0 -8377.785547785548 +189.0 -6856.899766899767 +188.0 -5475.477855477857 +187.0 -4284.3822843822845 +186.0 -3518.5081585081584 +185.0 -2987.552447552448 +184.0 -4163.822843822844 +183.0 -3984.3123543123547 +182.0 -3570.4895104895113 +181.0 -1223.3426573426575 +180.0 16412.727272727276 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/calc_molar_ellipticity.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/test-data/calc_molar_ellipticity.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,82 @@ +0 1 +260.0 -1172.7787878787879 +259.0 -8676.969696969696 +258.0 -6301.39393939394 +257.0 -4409.90909090909 +256.0 -4593.060606060607 +255.0 -3789.3636363636365 +254.0 -4617.909090909091 +253.0 -5309.272727272727 +252.0 -6146.121212121212 +251.0 -6422.242424242425 +250.0 -6590.242424242425 +249.0 -6899.424242424242 +248.0 -6870.757575757575 +247.0 -6810.393939393939 +246.0 -6649.242424242425 +245.0 -6583.757575757576 +244.0 -6947.21212121212 +243.0 -7765.545454545455 +242.0 -8193.272727272728 +241.0 -9580.030303030304 +240.0 -11280.39393939394 +239.0 -13386.666666666666 +238.0 -14187.181818181818 +237.0 -15621.363636363636 +236.0 -17341.060606060604 +235.0 -18744.545454545452 +234.0 -20090.21212121212 +233.0 -21328.454545454548 +232.0 -22384.666666666664 +231.0 -24540.121212121212 +230.0 -25783.09090909091 +229.0 -26671.18181818182 +228.0 -28071.333333333336 +227.0 -28677.848484848488 +226.0 -29747.57575757576 +225.0 -29474.181818181816 +224.0 -28642.212121212124 +223.0 -27596.333333333336 +222.0 -25874.515151515152 +221.0 -23385.151515151516 +220.0 -21953.333333333332 +219.0 -22487.454545454548 +218.0 -23508.21212121212 +217.0 -25261.72727272727 +216.0 -26399.303030303032 +215.0 -26546.57575757576 +214.0 -27878.727272727276 +213.0 -30336.36363636364 +212.0 -35326.36363636363 +211.0 -41496.0606060606 +210.0 -48042.42424242424 +209.0 -57746.666666666664 +208.0 -69398.78787878789 +207.0 -83068.78787878789 +206.0 -98360.30303030302 +205.0 -115286.36363636365 +204.0 -133777.27272727274 +203.0 -150295.45454545453 +202.0 -168063.63636363635 +201.0 -185346.06060606058 +200.0 -201083.33333333334 +199.0 -212786.66666666666 +198.0 -218293.33333333334 +197.0 -219134.84848484848 +196.0 -213878.18181818182 +195.0 -204265.7575757576 +194.0 -190527.57575757577 +193.0 -172710.60606060605 +192.0 -152745.15151515152 +191.0 -131148.48484848483 +190.0 -108911.21212121211 +189.0 -89139.69696969696 +188.0 -71181.21212121213 +187.0 -55696.969696969696 +186.0 -45740.606060606064 +185.0 -38838.181818181816 +184.0 -54129.696969696975 +183.0 -51796.060606060615 +182.0 -46416.36363636364 +181.0 -15903.454545454546 +180.0 213365.45454545456 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_CD_Spectral_Analysis/test-data/helicity.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_CD_Spectral_Analysis/test-data/helicity.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,7 @@ +Name,Solvent,Helicity,Induction +"Peptide1 +","W +",6.98,0.088 +"Peptide1 +","T +",79.68,0.0 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Core_Descriptors/PDAUG_Peptide_Core_Descriptors.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Core_Descriptors/PDAUG_Peptide_Core_Descriptors.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,43 @@ +from modlamp.core import BaseDescriptor +from modlamp.descriptors import PeptideDescriptor +import pandas as pd +import argparse, os + +parser = argparse.ArgumentParser() + +parser.add_argument("-I", "--InFile", required=True, default=None, help="Input file") +parser.add_argument("-O", "--OutFile", required=True, default=None, help="Output file") +parser.add_argument("-N", "--Ngrams", required=True, default=None, help="ngrams") + +args = parser.parse_args() + +file = open(args.InFile) +lines = file.readlines() + +Index = [] +Pep = [] + + +for line in lines: + if '>' in line: + Index.append(line.strip('\n')) + else: + line = line.strip('\n') + line = line.strip('\r') + Pep.append(line) + +df = pd.DataFrame() + +for i, l in enumerate(Pep): + + D = PeptideDescriptor(l) + D.count_ngrams([int(args.Ngrams)]) + + df1 = pd.DataFrame(D.descriptor, index=["sequence"+str(i),]) + df = pd.concat([df, df1], axis=0) + +df = df.fillna(0) +df.to_csv(args.OutFile, sep='\t', index=None) + + + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Core_Descriptors/test-data/Out.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Core_Descriptors/test-data/Out.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,139 @@\n+AAA\tAAC\tAAG\tAAH\tAAK\tAAL\tAAN\tAAR\tAAS\tAAT\tACA\tACF\tACG\tACI\tACK\tACP\tACR\tACY\tADK\tADT\tAEF\tAEH\tAEK\tAES\tAFC\tAFD\tAFG\tAFV\tAGA\tAGC\tAGE\tAGG\tAGH\tAGI\tAGK\tAGL\tAGP\tAGQ\tAGS\tAGT\tAGV\tAHE\tAHN\tAHV\tAIA\tAIC\tAID\tAIG\tAIH\tAII\tAIK\tAIP\tAIQ\tAIS\tAIT\tAIV\tAKA\tAKC\tAKE\tAKF\tAKG\tAKH\tAKI\tAKK\tAKL\tAKQ\tAKT\tAKV\tALF\tALG\tALI\tALK\tALM\tALN\tALQ\tALS\tALV\tALW\tANF\tANI\tANR\tANV\tAPF\tAPG\tAPR\tAPS\tAPV\tAQQ\tARD\tARE\tARF\tARI\tARN\tASH\tASK\tASL\tASP\tASQ\tASR\tASS\tAST\tASV\tASW\tATA\tATG\tATI\tATL\tATQ\tATR\tATS\tAVA\tAVI\tAVK\tAVL\tAVN\tAVS\tAVT\tAVV\tAVY\tAWG\tAWK\tAYI\tAYS\tCAC\tCAE\tCAI\tCAK\tCAR\tCAT\tCCA\tCCG\tCCK\tCCN\tCCP\tCCR\tCCT\tCDC\tCDF\tCDK\tCDP\tCDT\tCDW\tCED\tCEG\tCEN\tCES\tCFA\tCFG\tCFI\tCFK\tCFP\tCFR\tCFS\tCFT\tCGA\tCGC\tCGE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null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Core_Descriptors/test-data/test.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLFDIIKKIAESI +>ACP4 +GLLDIVKKVVGAFGSL +>ACP6 +GLFDIVKKVVGALGSL +>ACP8 +GLFDIVKKVVGTLAGL +>ACP10 +GLFDIAKKVIGVIGSL +>ACP12 +GLFDIVKKIAGHIAGSI +>ACP14 +GLFDIVKKIAGHIVSSI +>ACP16 +AACARFIDDFCDTLTPNIYRPRDNGQRCYAVNGHRCDFTVFNTNNGGNPIRASTPNCKTVLRTAANRCPTGGRGKINPNAPFLFAIDPNDGDCSTNF +>ACP18 +HGVSGHGQHGVHG +>ACP20 +FKCRRWQWRMKKLGAPSITCVRRAF +>ACP22 +KWKLFKKIKFLHSAKKF +>ACP24 +KSSAYSLQMGATAIKQVKKLFKKWGW +>ACP26 +GIGTKILGGVKTALKGALKELASTYAN +>ACP28 +GIGGKILSGLKTALKGAAKELASTYLH +>ACP30 +GIGGVLLSAGKAALKGLAKVLAEKYAN +>ACP32 +SIGAKILGGVKTFFKGALKELASTYLQ +>ACP34 +FLPLLAGLAANFLPTIICKISYKC +>ACP36 +FVQWFSKFLGRIL +>ACP38 +KWKIFKKIEKVGRNIRNGIIKAGPAVAVLGEAKAL +>ACP40 +GWLKKIGKKIERVGQHTRDATIQTIGVAQQAANVAATLK +>ACP42 +KWKLFKKIEKVGQNIRDGIIKAGPAVAVVGQATQIAK +>ACP44 +SQLGDLGSGAGQGGGGGGSIRAAGGAFGKLEAAREEEFFYKKQKEQLERLKNDQIHQAEFHHQQIKEHEEAIQRHKDFLNNLHK +>ACP46 +GIGKFLHSAKKFGKAFVGEIMNS +>ACP48 +GIGAVLKVLTTGLPALISWIKRKRQQ +>ACP50 +ALWKNMLKGIGKLAGQAALGAVKTLVGAE +>ACP52 +ACYCRIPACIAGERRYGTCIYQGRLWAFCC +>ACP54 +ECRRLCYKQRCVTYCRGR +>ACP56 +LKLKSIVSWAKKVL +>ACP58 +KWCFRVCYRGICYRRCR +>ACP60 +KSCCRNTWARNCYNVCRLPGTISREICAKKCDCKIISGTTCPSDYPK +>ACP62 +GLLSVLGSVAKHVLPHVVPVIAEHL +>ACP64 +GLLSVLGSVVKHVIPHVVPVIAEHL +>ACP66 +GLFKVLGSVAKHLLPHVAPVIAEK +>ACP68 +GLFGVLGSIAKHVLPHVVPVIAEK +>ACP70 +GLFVGVLAKVAAHVVPAIAEHF +>ACP72 +GLFVGLAKVAAHNNPAIAEHFQA +>ACP74 +GFVDFLKKVAGTIANVVT +>ACP76 +GLLQTIKEKLESLESLAKGIVSGIQA +>ACP78 +TRSSRAGLQFPVGRVHRLLRK +>ACP80 +FFGWLIKGAIHAGKAIHGLIHRRRH +>ACP82 +GLFDVIKKVASVIGGL +>ACP84 +GLFDIIKKVASVVGGL +>ACP86 +GRFKRFRKKFKKLFKKLSPVIPLLHLG +>ACP88 +GGLRSLGRKILRAWKKYGPIIVPIIRIG +>ACP90 +RRRPRPPYLPRPRPPPFFPPRLPPRIPPGFPPRFPPRFP +>ACP92 +GLLGPLLKIAAKVGSNLL +>ACP94 +GLICESCRKIIQKLEDMVGPQPNEDTVTQAASQVCDKLKILRGLCKKIMRSFLRRISWDILTGKKPQAICVDIKICKEKTGLI +>ACP96 +DHYNCVSSGGQCLYSACPIFTKIQGTCYRGKAKCCK +>ACP98 +FFHHIFRGIVHVGKTIHRLVTG +>ACP100 +KLAKLAKKLAKLAK +>ACP102 +KTCENLADTFRGPCFATSNC +>ACP104 +IDWKKLLDAAKQIL +>ACP106 +FLIGMTQGLICLITRKC +>ACP108 +ILPILSLIGGLLGK +>ACP110 +GLLGLLGSVVSHVVPAIVGHF +>ACP112 +GLLGLLGSVVSHVLPAITQHL +>ACP114 +GIKCRFCCGCCTPGICGVCCRF +>ACP116 +QSHLSLCRWCCNCCRSNKGC +>ACP118 +ILGPVISTIGGVLGGLLKNL +>ACP120 +FLPILASLAAKFGPKLFCLVTKKC +>ACP122 +GLWSKIKEAAKAAGKAALNAVTGLVNQGDQPS +>ACP124 +LLGMIPLAISAISALSKL +>ACP126 +GLPVCGETCVGGTCNTPGCSCSWPVCTRN +>ACP128 +GVPICGETCTLGTCYTAGCSCSWPVCTRN +>ACP130 +GIPCGESCVWIPCISSAIGCSCKSKVCYRN +>ACP132 +GIPCAESCVWIPCTVTALIGCGCSNKVCYN +>ACP134 +GTFPCGESCVFIPCLTSAIGCSCKSKVCYKN +>ACP136 +GLLPCAESCVYIPCLTTVIGCSCKSKVCYKN +>ACP138 +GRDYRTCLTIVQKLKKMVDKPTQRSVSNAATRVCRTGRSRWRDVCRNFMRRYQSRVTQGLVAGETAQQICEDLRLCIPSTGPL +>ACP140 +GETDPNTQLLNDLGNNMAWGAALGAPGGLGSAALGAAGGALQTVGQGLIDHGPVNVFIPVLIGPSWNGSGSGYNSATSSSGSGS +>ACP142 +GFKDLLKGAAKALVKTVLF +>ACP144 +KSCCPNTTGRNIYNACRLTGAPRPTCAKLSGCKIISGSTCPSDYPK +>ACP146 +KSCCPNTTGRNIYNTCRFGGGSREVCARISGCKIISASTCPSDYPK +>ACP148 +KSCCPNTTGRNIYNTCRLTGSSRETCAKLSGCKIISASTCPSNYPK +>ACP150 +MRKEFHNVLSSGQLLADKRPARDYNRK +>ACP152 +KSCCKNTTGRNIYNTCRFAGGSRERCAKLSGCKIISASTCPSDYPK +>ACP154 +FIFHIIKGLFHAGKMIHGLVTRRRH +>ACP156 +FLPAIVGAAAKFLPKIFCAISKKC +>ACP158 +FLPIIAGVAAKVLPKIFCAISKKC +>ACP160 +FLPIIAGIAAKFLPKIFCTISKKC +>ACP162 +FLPVIAGVAANFLPKLFCAISKKC +>ACP164 +FLPIIAGAAAKVVQKIFCAISKKC +>ACP166 +GLMDTIKGVAKTVAASWLDKLKCKITGC +>ACP168 +VNWKKVLGKIIKVAK +>ACP170 +VNWKKILGKIIKVAK +>ACP172 +FFSLLPSLIGGLVSAIK +>ACP174 +RFRLPFRRPPIRIHPPPFYPPFRRFL +>ACP176 +KWKLFKKIPKFLHLAKKF +>ACP178 +YKQCHKKGGHCFPKEKICLPPSSDFGKMDCRWRWKCCKKGSG +>ACP180 +GIPCGESCVFIPCITGAIGCSCKSKVCYRN +>ACP182 +GEFLKCGESCVQGECYTPGCSCDWPICKKN +>ACP184 +GLPTCGETCTLGTCYVPDCSCSWPICMKN +>ACP186 +GLPVCGETCFGGTCNTPGCTCDPWPVCTRN +>ACP188 +FVDLKKIANIINSIFGK +>ACP190 +GSIPCGESCVFIPCISSVIGCACKSKVCYKN +>ACP192 +GIPCGESCVFIPCISSVIGCSCSSKVCYRN +>ACP194 +GSIPCGESCVFIPCISAVIGCSCSNKVCYKN +>ACP196 +GSIPCEGSCVFIPCISAIIGCSCSNKVCYKN +>ACP198 +GIPCGESCVFIPCLTSAIDCSCKSKVCYRN +>ACP200 +GMWSKILGHLIR +>ACP202 +GKWMSLLKHILK +>ACP204 +GFGMALKLLKKVL +>ACP206 +GTGLPMSERRKIMLMMR +>ACP208 +GIACGESCVFLGCFIPGCSCKSKVCYFN +>ACP210 +GVIPCGESCVFIPCISSVLGCSCKNKVCYRD +>ACP212 +KLCGETCFKFKCYTPGCSCSYPFCK +>ACP214 +GDACGETCFTGICFTAGCSCNPWPTCTRN +>ACP216 +GIPCAESCVWIPPCTITALMGCSCKNNVCYNN +>ACP218 +IPCGESCVWIPCITAIAGCSCKNKVCYT +>ACP220 +AIPCGESCVWIPCISTVIGCSCSNKVCYR +>ACP222 +GEYCGESCYLIPCFTPGCYCVSRQCVNKN +>ACP224 +IPCGESCVWIPCISGMFGCSCKDKVCYS +>ACP226 +FLGWLFKWASK +>ACP228 +FLKWLFKWAKK +>ACP230 +KWKSFLKTFKSAKKTVLHTALKAISS +>ACP232 +KWKSFLKTFKSLKKTVLHTLLKAISS +>ACP234 +MPFLFCNVNDVCNFASRNDYSCNYYSNSYSFWLASLNPER +>ACP236 +KWKLFKKIGAVLKVL +>ACP238 +GACFSIAHECGA +>ACP240 +TCCATGACGTTCCTGACGTT +>ACP242 +KRFKQDGGASHASPASS +>ACP244 +KRAKAAGGWSHWSPWSSC +>ACP246 +LLGDFFRKSKEKIGKEFKRIVQRIKDFLRNLVPRTES +>ACP248 +FLGALFKVASKVLPSVKCAITKKC +>ACP250 +GIGKFLKKAKKFGKAFVKILKK +>ACP252 +GIGKFLKKAKKGIGAVLKVLTTGL +>ACP254 +VECYGPNRPQF +>ACP256 +KRFKQDGGWSHWSPWSSC +>ACP258 +RQVFQVAYIIIKA +>ACP260 +KAFDITYVRLKF +>ACP262 +DFKLFAVTIKYR +>ACP264 +DFKLFAVYIKYR +>ACP266 +WHSDMEWWYLLG +>ACP268 +HTMYYHHYQHHL +>ACP270 +RLVSYNGIIFFLK +>ACP272 +GRENYHGCTTHWGFTLC +>ACP274 +ASSSYPLIHWRPWAR |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Core_Functions/PDAUG_Peptide_Core_Functions.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Core_Functions/PDAUG_Peptide_Core_Functions.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,168 @@ +from modlamp.core import BaseSequence +import pandas as pd +import os, sys +import argparse + + +parser = argparse.ArgumentParser(description='Deployment tool') +subparsers = parser.add_subparsers() + +mutateAA = subparsers.add_parser('mutateAA') +mutateAA.add_argument("-I","--InFile", required=True, default=None, help="Input fasta sequence") +mutateAA.add_argument("-N","--nr", required=True, default=None, help="Number of mutations to perform per sequence") +mutateAA.add_argument("-P","--Prob", required=True, default=None, help="Probability of mutating a sequence") +mutateAA.add_argument("-F","--FastOut", required=False, default='Out.fasta', help="Mutated output fasta") + +filterduplicates = subparsers.add_parser('filterduplicates') +filterduplicates.add_argument("-I","--InFile", required=True, default=None, help="Input file") +filterduplicates.add_argument("-F","--FastOut", required=False, default='Out.fasta', help="Output file") + + +keepnaturalaa = subparsers.add_parser('keepnaturalaa') +keepnaturalaa.add_argument("-I","--InFile", required=True, default=None, help="Inputt file") +keepnaturalaa.add_argument("-F","--FastOut", required=False, default='Out.fasta', help="Output file") + + +filteraa = subparsers.add_parser('filteraa') +filteraa.add_argument("-I","--InFile", required=True, default=None, help="Input file") +filteraa.add_argument("-F","--FastOut", required=False, default='Out.fasta', help="Output file") +filteraa.add_argument("-A","--FilterAA", required=True, default=None, help="Filter amino acide") + +args = parser.parse_args() + +if sys.argv[1] == 'mutateAA': + + Pep = [] + Index = [] + + f = open(args.InFile) + lines = f.readlines() + + for line in lines: + if '>' in line: + line = line.strip('\n') + line = line.strip('\r') + Index.append(line) + else: + line = line.strip('\n') + line = line.strip('\r') + Pep.append(line) + + b = BaseSequence(len(Pep)) + b.sequences = Pep + b.mutate_AA(int(args.nr), float(args.Prob)) + OutPep = b.sequences + + OutFasta = open(args.FastOut, 'w') + + for i,O in enumerate(OutPep): + + OutFasta.write(Index[i]+'\n') + OutFasta.write(O+'\n') + + +elif sys.argv[1] == 'filterduplicates': + + Pep = [] + Index = [] + + f = open(args.InFile) + lines = f.readlines() + + for line in lines: + if '>' in line: + line = line.strip('\n') + line = line.strip('\r') + Index.append(line) + else: + line = line.strip('\n') + line = line.strip('\r') + Pep.append(line) + + b = BaseSequence(len(Pep)) + + b.sequences = Pep + + b.filter_duplicates() + + OutPep = b.sequences + + OutFasta = open(args.FastOut, 'w') + + for i,O in enumerate(OutPep): + + OutFasta.write(Index[i]+'\n') + OutFasta.write(O+'\n') + + +elif sys.argv[1] == 'keepnaturalaa': + + Pep = [] + Index = [] + + f = open(args.InFile) + lines = f.readlines() + + for line in lines: + if '>' in line: + line = line.strip('\n') + line = line.strip('\r') + Index.append(line) + else: + line = line.strip('\n') + line = line.strip('\r') + Pep.append(line) + + b = BaseSequence(len(Pep)) + b.sequences = Pep + b.keep_natural_aa() + + OutFasta = open(args.FastOut, 'w') + + OutPep = b.sequences + + for i,O in enumerate(OutPep): + + OutFasta.write(Index[i]+'\n') + OutFasta.write(O+'\n') + + +elif sys.argv[1] == 'filteraa': + + Pep = [] + Index = [] + + f = open(args.InFile) + lines = f.readlines() + + for line in lines: + if '>' in line: + line = line.strip('\n') + line = line.strip('\r') + Index.append(line) + else: + line = line.strip('\n') + line = line.strip('\r') + Pep.append(line) + + + b = BaseSequence(len(Pep)) + b.sequences = Pep + + FilterAA = args.FilterAA.split(',') + + b.filter_aa(FilterAA) + + OutPep = b.sequences + + OutFasta = open(args.FastOut, 'w') + + for i,O in enumerate(OutPep): + + OutFasta.write(Index[i]+'\n') + OutFasta.write(O+'\n') + + + + + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Core_Functions/test-data/out1.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Core_Functions/test-data/out1.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +>ACP0 +GFWSKIQEVGKEAAKAAAVAAGKAALGAVSEAV |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Core_Functions/test-data/out2.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Core_Functions/test-data/out2.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,6 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP1 +GLWSKIKKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLWSKIKEVGKEAAKKAAGKAALGAVSEAV |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Core_Functions/test-data/out3.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Core_Functions/test-data/out3.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +>ACP0 +GFWSKIQEVGKE |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Core_Functions/test-data/out4.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Core_Functions/test-data/out4.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Core_Functions/test-data/test1.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Core_Functions/test-data/test1.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Core_Functions/test-data/test2.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Core_Functions/test-data/test2.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,8 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP1 +GLWSKIKKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLWSKIKEVGKEAAKKAAGKAALGAVSEAV +>ACP3 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Core_Functions/test-data/test3.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Core_Functions/test-data/test3.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,4 @@ +>ACP0 +GFWSKIQEVGKX +>ACP1 +GFWSKIQEVGKE \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Core_Functions/test-data/test4.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Core_Functions/test-data/test4.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Access/PDAUG_Peptide_Data_Access.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Data_Access/PDAUG_Peptide_Data_Access.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,77 @@ +import modlamp +from modlamp.datasets import load_AMPvsTM +from modlamp.datasets import load_AMPvsUniProt +from modlamp.datasets import load_ACPvsTM +from modlamp.datasets import load_ACPvsRandom +from modlamp.database import query_apd +from modlamp.database import query_camp +import os +import pandas as pd + +def DataGen(DataBaseType, OutFile, IDs): + + if DataBaseType == 'AMPvsTM': + data = load_AMPvsTM() + + elif DataBaseType == 'AMPvsUniProt': + data = load_AMPvsUniProt() + + elif DataBaseType == 'ACPvsTM': + data = load_ACPvsTM() + + elif DataBaseType == 'ACPvsRandom': + data = load_ACPvsRandom() + + elif DataBaseType == 'query_apd': + + data = query_apd([int(i) for i in IDs.split(',')]) + df = pd.DataFrame(data, columns=['Peptides']) + df.to_csv(OutFile, index=False, sep='\t') + exit() + + elif DataBaseType == 'query_camp': + data = query_camp([int(i) for i in IDs.split(',')]) + df = pd.DataFrame(data, columns=['Peptides']) + df.to_csv(OutFile, index=False, sep='\t') + exit() + + else: + print ("Enter Correct Values") + exit() + + Target = data.target.tolist() + Target_list = set(Target) + df = data.sequences + + + Target = pd.DataFrame(Target, columns=['Target']) + df = pd.DataFrame(df, columns=['Peptide']) + + df = pd.DataFrame(df) + df = pd.concat([df, Target], axis=1) + + df.to_csv(OutFile, index=False, sep='\t') + + +if __name__=="__main__": + + import argparse + parser = argparse.ArgumentParser() + + parser.add_argument("-d", "--DataBaseType", + required=True, + default=None, + help="Name of the dataset ") + + parser.add_argument("-o", "--OutFile", + required=False, + default='Out.tsv', + help="Out put file name for str descriptors") + + parser.add_argument("-L", "--List", + required=False, + default=None, + help="List of integer as ID") + + args = parser.parse_args() + DataGen(args.DataBaseType, args.OutFile, args.List) |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Access/PDAUG_Peptide_Data_Access.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Data_Access/PDAUG_Peptide_Data_Access.xml Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,132 @@ +<tool id="pdaug_peptide_data_access" name="PDAUG Peptide Data Access" version="0.1.0"> + <description>Fetch peptide data from inbuild datasets and public databases</description> + + <requirements> + <requirement type="package" version="0.24.2">pandas</requirement> + <requirement type="package" version="4.1.2">modlamp</requirement> + <requirement type="package" version="8.0.21">mysql-connector-python</requirement> + </requirements> + <stdio> + <exit_code range="1" level="fatal" /> + </stdio> + <command detect_errors="exit_code"><![CDATA[ + + python '$__tool_directory__/PDAUG_Peptide_Data_Access.py' -d '$SelectDatasets.DataBaseType' -o '$output1' + + #if $SelectDatasets.DataBaseType == "query_apd" + -L $SelectDatasets.list1 + #end if + + #if $SelectDatasets.DataBaseType == "query_camp" + -L $SelectDatasets.list2 + #end if + + ]]></command> + + + <inputs> + + <conditional name="SelectDatasets"> + + <param name="DataBaseType" type="select" label="Datasets" argument="--DataBaseType" help="Name of the data set."> + <option value="AMPvsTM" selected="true" > AMPvsTM </option> + <option value="AMPvsUniProt" > AMPvsUniProt </option> + <option value="ACPvsTM"> ACPvsTM </option> + <option value="ACPvsRandom"> ACPvsRandom </option> + <option value="query_apd"> Query APD Database</option> + <option value="query_camp" > Query CAMP Database </option> + </param> + + + + <when value="query_apd"> + <param name="list1" type='text' argument="-List" label="List of integers as IDs" help="List of integers as IDs" /> + </when> + + <when value="query_camp"> + <param name="list2" type='text' argument="-List" label="List of integers as IDs" help="List of integers as IDs" /> + </when> + + </conditional> + + + </inputs> + + <outputs> + <data name='output1' format='tabular' label="${tool.name} $on_string - ${SelectDatasets.DataBaseType} (tabular)" /> + </outputs> + + <tests> + <test> + <param name="DataBaseType" value="AMPvsTM"/> + <output name="output1" file="out.tsv"/> + </test> + + <test> + <param name="DataBaseType" value="query_apd"/> + <param name="list1" value="4,5,6" /> + <output name="output1" file="apd.tsv" lines_diff="8"/> + </test> + + <test> + <param name="DataBaseType" value="query_camp"/> + <param name="list2" value="3,4,5,9" /> + <output name="output1" file="camp.tsv" lines_diff="10"/> + </test> + + + </tests> + + <help><![CDATA[ +.. class:: infomark + +**What it does** + +This tool returns inbuild peptide data sets. + + * **AMPvsTM** This option returns Antimicrobial peptides and transmembrane sequences. + * **AMPvsUniProt** This option returns AMPs from the APD3 and other peptides from the UniProt database. + * **ACPvsTM** This option returns anticancer peptides (CancerPPD) and helical transmembrane sequences. + * **ACPvsRandom** This option returns anticancer peptides (CancerPPD) and random scrambled AMP sequences. + +----- + +**Inputs** + * **--DataBaseType** Takes dataset name as input. + +----- + +**Outputs** + * Returns a tabular file with peptide sequences and class labels.]]></help> + + +<citations> + <citation type="bibtex"> + @misc{PDAUGGITHUB, + author = {Joshi, Jayadev and Blankenberg, Daniel}, + year = {2020}, + title ={PDAUG - a Galaxy based toolset for peptide library analysis, visualization, and machine learning modeling}, + publisher = {GitHub}, + journal = {GitHub repository}, + url = + {https://github.com/jaidevjoshi83/pdaug.git}, + } +</citation> + +<citation type="bibtex"> + @article{müller_gabernet_hiss_schneider_2017, + title={modlAMP: Python for antimicrobial peptides}, + volume={33}, + DOI={10.1093/bioinformatics/btx285}, + number={17}, + journal={Bioinformatics}, + author={Müller, Alex T and Gabernet, Gisela and Hiss, Jan A and Schneider, Gisbert}, + year={2017}, + pages={2753–2755} + } + </citation> +</citations> +</tool> + + + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Access/test-data/apd.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Data_Access/test-data/apd.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,4 @@ +Peptides +NLCERASLTWTGNCGNTGHCDTQCRNWESAKHGACHKRGNWKCFCYFDC +VFIDILDKVENAIHNAAQVGIGFAKPFEKLINPK +GNNRPVYIPQPRPPHPRI |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Access/test-data/camp.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Data_Access/test-data/camp.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,5 @@ +Peptides +RFRPPIRRPPIRPPFYPPFRPPIRPPIFPPIRPPFRPPLRFP +ICIFCCGCCHRSKCGMCCKT +FLSLLPSIVSGAVSLAKKLG +FLPIIAKLLGGLL |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Access/test-data/out.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Data_Access/test-data/out.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,413 @@\n+Peptide\tTarget\n+AAGAATVLLVIVLLAGSYLAVLA\t0\n+LWIVIACLACVGSAAALTLRA\t0\n+FYRFYMLREGTAVPAVWFSIELIFGLFA\t0\n+GTLELGVDYGRAN\t0\n+KLFWRAVVAEFLATTLFVFISIGSALGFK\t0\n+HGSIGAGVDW\t0\n+ATIYLVCFCFFKQLAMIFMSVLAGNMYE\t0\n+GKLSLAATRSSE\t0\n+TSRLLLAGVALGIICSALMTWAIYF\t0\n+LGFFLVTFGFIWGMMLL\t0\n+YMLFTMIFVISSIIITVVVI\t0\n+ACFSAKVN\t0\n+LIWVAATLAGAIIAVLLVIYA\t0\n+HIPFAFAFAILAYLTLVLFRPVM\t0\n+CGLLVLLTLLLMGAIVTLGVF\t0\n+TGVYILVGVVLWTA\t0\n+LSMFIITPVMVLGTI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n+VDKPDYRPRPRPPNM\t1\n+VDKPDYRPRPWPRNMI\t1\n+VDKPDYRPRPWPRPN\t1\n+VDKPDYRPRPWPRPNM\t1\n+VLPIIGNLLNSLL\t1\n+VLPLISMALGKLL\t1\n+VNPIILGVLPKFVCLITKKC\t1\n+VRNFVTCRINRGFCVPIRCPGHRRQIGTCLGPQIKCCR\t1\n+VRNHVTCRINRGFCVPIRCPGRTRQIGTCFGPRIKCCRSW\t1\n+VTCDLLSFEAKGFAANHSLCAAHCLAIGRRGGSCERGVCICRR\t1\n+VTCDLLSIKGVAEHSACAANCLSMGKAGGRCENGICLCRKTTFKELWDKRF\t1\n+VTCFCKRPVCDSGETQIGYCRLGNTFYRLCCRQ\t1\n+WLGSALKIGAKLLPSVVGLFKKKKQ\t1\n+WNPFKELERAGQRVRDAIISAGPAVATVGQAAAIARG\t1\n+WNPFKELERAGQRVRDAVISAAPAVATVGQAAAIARG\t1\n+YDLSKNCRLRGGICYIGKCPRRFFRSGSCSRGNVCCLRFG\t1\n+YSKSLPLSVLNP\t1\n+YVSCLFRGARCRVYSGRSCCFGYYCRRDFPGSIFGTCSRRNF\t1\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Plotting/PDAUG_Peptide_Data_Plotting.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Data_Plotting/PDAUG_Peptide_Data_Plotting.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,115 @@ +from modlamp.plot import helical_wheel +from modlamp.plot import plot_pde +from modlamp.plot import plot_violin +from modlamp.plot import plot_aa_distr +import pandas as pd +import argparse +import sys, os + + + +parser = argparse.ArgumentParser(description='Deployment tool') +subparsers = parser.add_subparsers() + +HelWhl = subparsers.add_parser('HelWhl') + +HelWhl.add_argument("-I","--InFile", required=True, default=None, help="Input data file") +HelWhl.add_argument("-C","--colorcoding", required=False, default='rainbow', help="available: , charge, polar, simple, amphipathic, none") +HelWhl.add_argument("-L","--lineweights", required=False, default=True, help="(boolean) defines whether connection lines decrease in thickness along the sequence") +HelWhl.add_argument("-F","--filename", required=False, default="out.png", help="") +HelWhl.add_argument("-s","--seq", required=False, default=False, help="") +HelWhl.add_argument("-M","--movment", required=False, default=False, help="") +HelWhl.add_argument("-O", "--OutFile", required=False, default="out.png", help="OutFile") + + +PltPde = subparsers.add_parser('PltPde') +PltPde.add_argument("-I","--InFile", required=True, default=None, help="Input data file") +PltPde.add_argument("-l", "--ClmList", required=True, default=None, help="") +PltPde.add_argument("-F","--filename", required=False, default="out.png", help="filename where to safe the plot. default = None > show the plot") +PltPde.add_argument("-O", "--OutFile", required=False, default="out.png", help="OutFile") + +PltVio = subparsers.add_parser('PltVio') +PltVio.add_argument("-I","--InFile", required=True, default=None, help="Input data file") +PltVio.add_argument("-l", "--ClmList", required=True, default=None, help="Column list") +PltVio.add_argument("-C","--colors", required=False, default=None, help='Data to be plotted') +PltVio.add_argument("-B","--bp", required=False, default=False, help="Print a box blot inside violin") +PltVio.add_argument("-T","--title", required=False, default=None, help="Title of the plot.") +PltVio.add_argument("-a","--axlabels", required=False, default=None, help="list containing the axis labels for the plot") +PltVio.add_argument("-M","--y_max", required=False, default=1, help='y-axis maximum.') +PltVio.add_argument("-m","--y_min", required=False, default=0, help="y-axis minimum.") +PltVio.add_argument("-O", "--OutFile", required=False, default="out.png", help="OutFile") + + +PltAaDis = subparsers.add_parser('PltAaDis') +PltAaDis.add_argument("-I","--InFile", required=True, default=None, help="Input data file") +PltAaDis.add_argument("-O", "--OutFile", required=False, default="out.png", help="OutFile") + +args = parser.parse_args() + + +if sys.argv[1] == 'HelWhl': + + f = open(args.InFile) + lines = f.readlines() + sequence = lines[1].strip('\n') + + if args.movment == 'true': + mvt = True + else: + mvt = False + + if args.seq == 'true': + sq = True + else: + sq = False + + if args.lineweights == 'true': + lw = True + else: + lw = False + + helical_wheel(sequence, colorcoding=args.colorcoding, lineweights=args.lineweights, filename=args.OutFile, seq=args.seq, moment=mvt) + + +elif sys.argv[1] == 'PltPde': + + df = pd.read_csv(args.InFile, sep="\t") + + data = df[args.ClmList.split(',')].as_matrix().T + + plot_pde(data, filename=args.OutFile) + +elif sys.argv[1] == 'PltVio': + + df = pd.read_csv(args.InFile, sep="\t") + + data = df[args.ClmList.split(',')].as_matrix().T + + c = ['#0B486B']*len(args.ClmList.split(',')) + + plot_violin(data, colors=c, bp=True, filename=args.OutFile) + + +elif sys.argv[1] == 'PltAaDis': + + f = open(args.InFile) + lines = f.readlines() + + sequences = [] + + for line in lines: + if '>' in line: + pass + else: + sequences.append(line.strip('\n')) + + plot_aa_distr(sequences, color='#0B486B', filename=args.OutFile) + + + + + + + + + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Plotting/test-data/out1.png |
b |
Binary file PDAUG_Peptide_Data_Plotting/test-data/out1.png has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Plotting/test-data/out2.png |
b |
Binary file PDAUG_Peptide_Data_Plotting/test-data/out2.png has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Plotting/test-data/out3.png |
b |
Binary file PDAUG_Peptide_Data_Plotting/test-data/out3.png has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Plotting/test-data/out4.png |
b |
Binary file PDAUG_Peptide_Data_Plotting/test-data/out4.png has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Plotting/test-data/test1.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Data_Plotting/test-data/test1.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,101 @@ +a1 a2 a3 a4 class +0.745792458 0.426207561 0.191600108 0.288065693 1 +0.119121966 0.115445564 0.495149009 0.819996523 1 +0.628359245 0.368612085 0.313798062 0.969106796 1 +0.573629151 0.360519016 0.999051405 0.936534337 1 +0.462045131 0.172713201 0.761584018 0.242427539 1 +0.154977302 0.425989857 0.780108849 0.052249918 1 +0.527507264 0.1866903 0.65345531 0.802989578 1 +0.42858627 0.122042111 0.633510759 0.087143255 1 +0.047182285 0.421388314 0.50932383 0.763195243 1 +0.629380952 0.001340805 0.739114882 0.269308244 1 +0.987061141 0.799254738 0.901687538 0.656436273 1 +0.936583739 0.338280342 0.727834801 0.845588744 1 +0.347702759 0.218512242 0.393355121 0.282700471 1 +0.708462562 0.182322916 0.075067056 0.154535304 1 +0.031962605 0.834054969 0.443203056 0.605506742 1 +0.2516154 0.568625642 0.479204872 0.304473254 1 +0.246588214 0.187047247 0.897110788 0.840227568 1 +0.427269514 0.479435526 0.258422749 0.222123443 1 +0.215754123 0.525950577 0.713890537 0.495648492 1 +0.932152954 0.654948255 0.372893902 0.615501753 1 +0.351689916 0.827839095 0.522944351 0.465154497 1 +0.925330411 0.508964286 0.095589132 0.613712774 1 +0.137614409 0.629087037 0.935689928 0.623991869 1 +0.813491704 0.000703575 0.783167918 0.487037841 1 +0.104226142 0.537824923 0.933278727 0.166183696 1 +0.073337192 0.992133313 0.509472962 0.682740497 1 +0.627707404 0.898613103 0.156591863 0.622261299 1 +0.329486305 0.375591222 0.304682326 0.655848013 1 +0.110486992 0.290530143 0.255124855 0.634990919 1 +0.275291949 0.194459685 0.268426044 0.654473063 1 +0.233220328 0.112029917 0.37078748 0.97166323 1 +0.314451122 0.330636273 0.269023487 0.763284737 1 +0.265847428 0.387065472 0.726600643 0.252219697 0 +0.718298601 0.077158255 0.645813253 0.816329572 0 +0.563730113 0.136047824 0.100768505 0.303031644 0 +0.617958575 0.164905989 0.453431563 0.524422925 0 +0.41354011 0.52473961 0.475084025 0.303107265 0 +0.749124381 0.256872706 0.748359338 0.273619791 0 +0.200751294 0.507869993 0.793013918 0.473557793 0 +0.934313271 0.303966375 0.496018676 0.745939867 0 +0.629065837 0.646175022 0.264800345 0.345616452 0 +0.999201791 0.938164784 0.075450582 0.751293085 0 +0.811345997 0.773959459 0.537977267 0.887780069 0 +0.73014887 0.116153796 0.401779181 0.142750864 0 +0.316412809 0.296641249 0.194923333 0.322812736 0 +0.253321305 0.029505926 0.310074166 0.286275081 0 +0.460931324 0.832313386 0.288878672 0.961118285 0 +0.194660478 0.338456528 0.436292712 0.707946655 0 +0.250323815 0.933766443 0.567800781 0.959303871 0 +0.763434212 0.741054541 0.393553006 0.108639289 0 +0.398799228 0.138088511 0.520065954 0.337864127 0 +0.847964754 0.707585579 0.642158169 0.721410466 0 +0.197856057 0.557585425 0.242178782 0.031067095 0 +0.789156701 0.724817308 0.212905518 0.732229439 0 +0.653062916 0.69802324 0.371087721 0.812521686 0 +0.557018058 0.015417778 0.924425312 0.564992609 0 +0.683917228 0.812967346 0.805218325 0.090445976 0 +0.729215824 0.833920507 0.813483127 0.466212765 0 +0.50703016 0.847820014 0.535951261 0.403414609 0 +0.348196848 0.26612654 0.750863407 0.059600228 0 +0.407955259 0.646822128 0.392778611 0.302086428 0 +0.289155332 0.514212572 0.085230166 0.577059459 0 +0.377874943 0.847679317 0.069163608 0.659379352 0 +0.527784036 0.254340122 0.24564507 0.908387221 0 +0.027649153 0.447877978 0.371266887 0.029255723 0 +0.412234776 0.901050259 0.198930689 0.204383864 0 +0.569414154 0.86027195 0.902993862 0.501390688 0 +0.324914112 0.787037736 0.424599591 0.395829461 0 +0.407819893 0.719264806 0.433071452 0.737237946 0 +0.091298897 0.927128733 0.192649268 0.112098422 0 +0.57504123 0.445446712 0.30430986 0.152065004 0 +0.459055526 0.602212713 0.151279006 0.744378521 0 +0.570342853 0.515984429 0.962524652 0.19038725 0 +0.186271297 0.104734179 0.679665446 0.493099388 0 +0.748179324 0.806386584 0.966129179 0.387296795 0 +0.729128384 0.700093071 0.75306467 0.468428144 0 +0.492939177 0.211289765 0.21074853 0.296695896 0 +0.303888489 0.147228407 0.70225464 0.57834747 0 +0.391140606 0.16050698 0.891988824 0.061349839 0 +0.889854415 0.870810995 0.606592978 0.371103099 0 +0.461984382 0.802335854 0.838415011 0.615008345 0 +0.619363394 0.588129184 0.423175859 0.087722334 0 +0.076430947 0.284047639 0.405098389 0.8873916 0 +0.16555821 0.549779996 0.948540209 0.824057146 0 +0.406911869 0.438514051 0.342765161 0.559194539 0 +0.249951701 0.82535038 0.370739859 0.488756257 0 +0.637222565 0.386786928 0.344638168 0.251815984 0 +0.019156959 0.84704296 0.335567032 0.154780918 0 +0.075609858 0.51431985 0.727246432 0.332902805 0 +0.164804993 0.603896979 0.850516901 0.962002993 0 +0.84525116 0.680175976 0.962583938 0.217200155 0 +0.156883055 0.385392566 0.109759872 0.511795968 0 +0.609111546 0.56041133 0.547987611 0.1618788 0 +0.206992974 0.193940874 0.70473968 0.004751317 0 +0.797979642 0.412089356 0.31248546 0.502674138 0 +0.268159011 0.34412433 0.578408647 0.753535127 0 +0.552779187 0.758828624 0.323890867 0.875579518 0 +0.861723718 0.388827759 0.710670276 0.960584853 0 +0.237325063 0.110749999 0.275516594 0.655295659 0 +0.055801154 0.271174213 0.123738447 0.573208337 0 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Plotting/test-data/test2.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Data_Plotting/test-data/test2.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,8 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP1 +GLWSKIKKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLWSKIKEVGKEAAKKAAGKAALGAVSEAV +>ACP3 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Plotting/test-data/test3.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Data_Plotting/test-data/test3.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,101 @@\n+a1\ta2\ta3\ta4\ta5\n+-0.6354951025719112\t-0.417203640823489\t0.06825050545448566\t-0.6901334642133341\t-0.3881788658330573\n+-0.36756824034447166\t1.411994287691576\t-2.2447199992949733\t0.28976468965095953\t-0.004858684999581958\n+0.9534541365614845\t-1.702383750080505\t0.9255457779064515\t0.34675818614878884\t0.8574039119558547\n+-0.8771891818996862\t-0.022570062824889405\t0.020883345379050955\t-0.35093328540649554\t0.8824738300277261\n+-0.45155547982529887\t0.1024596055878561\t0.8916924439004918\t-0.951873737198245\t-0.1970934548002757\n+0.12243293925445299\t0.021683918962802588\t-0.941917452586276\t0.2087943481695932\t0.9673954406374367\n+1.2294252661896734\t-0.5507449065541244\t-1.2435855482113864\t1.7350289926440967\t0.08492921890335184\n+0.19692064955040384\t-0.605885636796672\t0.2041874532104077\t0.5816930405439666\t1.1341365443938236\n+-0.8599440516235166\t1.2104100314625932\t-0.19318431736554073\t-0.7306200109093076\t-0.11210106172511007\n+-0.147448354645787\t-1.2878202701286439\t1.158679332205562\t0.2916564049350876\t1.0871959503269308\n+-0.27034216435241337\t-0.6595309273059214\t1.3927767088007228\t1.148490546483988\t1.5573308341458132\n+1.8841115401138178\t0.19304237547770853\t-1.0795693838818357\t1.2582350875506738\t-0.4588751826465449\n+0.25906566974035056\t-2.2640443199173292\t-0.8079512437788559\t1.3250054936550304\t2.6873904200657996\n+0.4343668125163243\t1.5049545461544331\t0.8219309496683782\t0.9998596721576924\t1.9825876636260658\n+-1.0451199901632433\t-2.129933448491827\t0.11818067370339393\t0.02589240806322793\t0.496663541028684\n+-0.6992434575584826\t1.8778864119801868\t-0.9867264852310409\t-0.9581302111194976\t1.5716505926694453\n+0.11678159203862022\t-0.38040597270494825\t0.45359107165443985\t0.2580349221795583\t0.34585594677720366\n+-0.7540997614842472\t2.068417564250684\t-0.39248009407241347\t-0.3324406941618275\t-1.3198045560169\n+0.6071676302396417\t-1.390831570756341\t0.30199995911079414\t0.587634289575911\t-1.8161136627809007\n+0.45391493669871774\t-1.6276633687925501\t-1.2960147296517095\t-0.8798000620966678\t-1.5282485968641009\n+-0.9063115797128364\t-0.3069501369260202\t-0.3768728428125727\t-0.15677303111553678\t1.2895955443034637\n+0.12142980862458756\t-0.24363582084435187\t0.08916283371793633\t-0.5979816566150797\t-0.41655837614820507\n+0.6054317914755889\t0.43414899015666286\t-1.1954067726770525\t-0.8012890074362913\t0.16321671927907686\n+1.0940667963866748\t0.008867928724566753\t1.5358719591353307\t-1.68374720017412\t0.9896093790596141\n+-0.586893145937963\t-0.27250686690227555\t0.027463764739007555\t0.6825125395733652\t0.3150650812368236\n+-0.07593707605624254\t-1.0441747779924597\t-0.57775244875094\t1.4165081459349176\t0.4340799527689738\n+0.14263824583488885\t0.9027705295578038\t0.7426172947612284\t-1.2649166673538979\t0.9070443932037743\n+-0.5453301042416838\t0.949478847119666\t0.7971168024257995\t1.1739163411071403\t-0.5721089268390115\n+0.2827207243826312\t0.0046252047533171066\t-0.3655503064377779\t-0.5951226500320187\t0.7559301848265557\n+1.8707744769177654\t-2.228326460072041\t0.42338054240234163\t1.0210121132884653\t-0.5917755738314584\n+-0.9099640650597651\t0.9432440865028179\t0.8448344922468928\t0.20972540556881397\t-0.7513196144623612\n+2.588481168858251\t-0.3039113546400885\t-0.4644506181727836\t1.0368750855364788\t0.12541167854081914\n+1.2424536169588003\t1.0357737274017047\t-0.6481347386625935\t0.3605401704231982\t-0.19027292304540858\n+-1.3117259662318805\t0.5301466494403391\t-1.1409555276452985\t0.2980462171180972\t-0.6052556068572191\n+0.14643362721885003\t-0.019251332350995676\t0.2954695589826434\t0.48801751375255403\t1.7338299233493533\n+1.6376082908002705\t-1.0000838884458474\t-0.43926343288760306\t0.7053931289597528\t0.7321962762388691\n+1.7062265558494476\t-0.16240714518901\t-0.7108000717767411\t0.2843998906324544\t-0.5645308072476806\n+0.769542103915736\t-0.31518353856143017\t-1.8709799774382916\t0.15811745545673592\t0.7353991605087301\n+-0.6813799576559862\t-0.148066517624168\t-0.07138260357893014\t0.22948225204953135\t0.8312289392520333\n+0.9408649200730435\t-0.7232190827504021\t-0.8595044003614296\t-0.17478045599871225\t0.5676212587282302\n+'..b'9735053465\t-1.2520550402836357\n+-0.8332750465315647\t-0.8480483047637268\t0.07464561695532036\t1.272830824420892\t-1.7704857743857931\n+0.7505072484416174\t-0.7344602707379789\t-0.39381760398526366\t-0.7607062278538385\t-0.4974419211921212\n+0.9496319756776694\t0.45803125331037553\t-0.013855361100631508\t0.1143166589407942\t-0.024945673070417434\n+1.579579146655898\t-0.4192976529837458\t-0.9752755709123045\t0.23028356830398583\t0.4801762558239703\n+-3.2838322335780465\t-1.1078726419457456\t-0.34020863482777747\t0.36537325094575296\t1.7410324134341644\n+0.9411926450479146\t-1.4032637336951206\t-0.25898528772269974\t0.14437669162472053\t-1.2972470141882726\n+-0.9369584765256416\t0.540392029699653\t-0.44811249872992176\t-0.8750655280114243\t-0.4304365221023964\n+-0.09787204827273067\t1.23410279295626\t0.44659161691517524\t0.9769690373531473\t0.659202023072946\n+0.8241819462797789\t1.0615676611236327\t0.08542341719109539\t0.19718803699062049\t-0.08713024419760064\n+-0.25849975979861656\t-0.14347078626624876\t-2.3750025005553126\t1.720430450725311\t1.5623156733859942\n+1.1529383869316006\t0.10645439234464919\t-0.38930932541975555\t-0.1344349966178035\t0.7446944332674963\n+2.589067736328548\t1.513025084175578\t1.08443407950019\t-0.6883396206454463\t-0.25487613644842994\n+0.3912042181644681\t0.4571323905104128\t0.13994014050876966\t2.118514709498742\t-0.6247334087287022\n+-0.2666387037262565\t-1.597022145401983\t1.0689545644408427\t-0.29974131283453637\t-0.8080754102743907\n+-0.7729226468799142\t-0.47861888504335687\t-0.4017237362852324\t0.5318302937833207\t0.4411212762581713\n+-0.1458166141019947\t0.37252891773384\t-0.7487199313605547\t-0.2166595670793668\t-1.6351446257252547\n+-0.4128841312421736\t0.6243125046117088\t2.109940857076342\t0.43298175444314274\t1.7972754626290415\n+0.5901892194175202\t-0.3816613400843567\t-0.821117486550386\t2.538183059485826\t0.8451772790937023\n+-1.0666697839984964\t-0.6576852499344052\t1.434579285076856\t-0.3820081487232809\t-2.2262366003219882\n+-1.3015090940631338\t1.6937507000396963\t0.03656214317486021\t-0.3198787000055448\t-0.3667755141326481\n+1.7987187431040963\t0.7915327149094191\t1.146715427051194\t0.10753138898715559\t-1.1797025161585504\n+-1.7989980671687247\t0.2899807767723081\t-0.6993226745435596\t-0.325572365039133\t0.13847976055068592\n+1.2090872614790606\t-0.42536756986944485\t-0.5555239613328765\t-0.5178894486271749\t1.2508521366966667\n+1.699536924874983\t-1.2589980608655111\t-0.07657456872612865\t-0.5697299898045877\t-0.1303632289328222\n+0.07110969392697766\t2.5743136854531636\t-0.02999371502835155\t0.5818856432561793\t0.06742298944033158\n+-2.123855595261871\t-1.649074652353679\t-0.08404879852293448\t1.1270967494271227\t1.7964943673054885\n+-0.6835603318776671\t-0.012840632081709567\t-2.241598040771335\t0.2689263535167947\t0.5833632080498048\n+-1.7120262398449564\t-0.21129856363695645\t0.501127050172557\t-1.521007769382041\t0.8538380529418805\n+0.383357001910287\t0.7116384079374142\t-0.20588724771708322\t-1.1524211095620756\t0.16548484708773062\n+0.5616163832093405\t-0.45898699311607116\t-0.0779072151974837\t0.15151808145930576\t-0.13785044535215302\n+0.5149230644006054\t-0.3109743970035969\t-1.0732127123475903\t-0.4578830655095843\t2.2218058501949884\n+0.714368617075919\t-0.5709109261971563\t-0.5448932277866839\t2.1304485457525755\t-1.4538892096136258\n+0.03741074900872446\t-1.2750459428942438\t1.669594143401187\t0.8663868900740849\t-0.7968807173889192\n+-0.6003591325184253\t-0.5124816278558612\t0.25567474109720983\t0.18910613920090447\t1.4480091008902505\n+-0.38725661889567725\t-0.35860697534143676\t1.6025501448914876\t0.8742750696010195\t-0.6555533559109633\n+0.579166919942128\t-2.0056687216599105\t1.1093771144152877\t1.5048800480104443\t1.0074320094260805\n+0.6637009698967125\t-1.3248977711711865\t-1.3662464999787916\t0.07739215824044399\t-1.6012960008920833\n+-0.5809829233491339\t0.7782155269532026\t0.8130493362834876\t-1.282142564240448\t0.15678823387058965\n+-0.3330667189517882\t1.303782045290471\t-1.0122586958080728\t-0.45456345767526746\t0.44102708499068205\n+0.8021457164024111\t-2.4247768931422358\t-0.043304972281821966\t-0.19049956863328515\t-0.34827005413539347\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Data_Plotting/test-data/test4.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Data_Plotting/test-data/test4.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>non-ACP0 +MTISLIWGIAMVVCCCIWVIFDRRRRKAGEPPL +>non-ACP2 +MFATPLRQPTNASGARPAVSMDGQETPFQYEITD +>non-ACP4 +LLWRKVAGATVGPGPVPA +>non-ACP6 +DSPDPMNGASSNALIAKMNSAKLLYQHY +>non-ACP8 +NNQEVIDAISQAISQTPGCVL +>non-ACP10 +KKVVEKNADPETTLLVYLRRKLGLCGTKLGCGEG +>non-ACP12 +CSRLLPSLAQEEG +>non-ACP14 +KNDFAALQAKLDADAAEIEKWWSDSR +>non-ACP16 +VDREQLVQKARLAEQAERYDD +>non-ACP18 +RPLRRVVLFYQGKLCSMAGNFWQSSHYLQW +>non-ACP20 +GAAGERKLCLLSLLLIGA +>non-ACP22 +MFRKLLKMWILLRPTHWLILIALCAVTCAGYWLLWSE +>non-ACP24 +HLRGPADSGWMPQAAPCLSGAPQAS +>non-ACP26 +NNPNNSNSHLRPHAYNNSRRDDSD +>non-ACP28 +VVILASLSVMFLVSLWQQKIRERLPPGPTPLPFIGNY +>non-ACP30 +ICLSCLISFFLWNQNRAKGKLPPG +>non-ACP32 +VVMNSLRVILQAS +>non-ACP34 +ARPRLDLQLVQRFVRIQKVF +>non-ACP36 +MLAKGLSLRSVLAKGCQPFLSPTWQSSVLATGGGANIS +>non-ACP38 +AAGLPGAALPLRKRPLRAPSPEPAAPRGAAGLVV +>non-ACP40 +PPMPSAPPVHPPP +>non-ACP42 +SCPIDKRRPLIAFLRRLRD +>non-ACP44 +RLGLWASGLILILGFLKLLRLLLRRQRLARAMD +>non-ACP46 +FSPQRDRFQAEGS +>non-ACP48 +GTLWALVFLGILVGMVVPSPAGTRANNTLLDSRG +>non-ACP50 +MNRLLQKGTSLVPSWRTR +>non-ACP52 +MTTSLIWGIAIAACCCLWLILGIRRRQT +>non-ACP54 +ATLANGMSLQPPLEEVS +>non-ACP56 +PLTATNSGLAVNN +>non-ACP58 +VRACHKVCRCLLSGFGGRVDAGQPELLTER +>non-ACP60 +TAGILLLLLLGTLEGS +>non-ACP62 +MEPSILLLLALLVGFLLLLVRGH +>non-ACP64 +MKNCFQLLCNLKVPAAGFKNTVKS +>non-ACP66 +SVIHTQAHASGLQQVPQLVPAGPGGGGKAVAPSKQSK +>non-ACP68 +KPLGLLKPSSLMKVSGRFKAHQDA +>non-ACP70 +ARTLNNKLSLSKPKFSGFT +>non-ACP72 +LLLVIIWTLFGPSGLGEELLSLSLASLLPAPASPGPP +>non-ACP74 +WPGILVGGARVASCRYPALGPRLA +>non-ACP76 +RSVKGLVALITGGASGL +>non-ACP78 +AAAALRARILQVSSKVN +>non-ACP80 +TGCCIAGRLANLDDQNLTVAL +>non-ACP82 +GSILGFLQIATVLTVLLLLLK +>non-ACP84 +AARQIGSCLMRCRTLDTTSP +>non-ACP86 +WGCRGRRWAFARVDGGSCHRRGAPTGSTSNQIR +>non-ACP88 +YAKPGAVRSPAQILQWQVLPNTVPAKS +>non-ACP90 +RMAGPWLSLHEARLLGTRGAAAPKAV +>non-ACP92 +SISNRAAVPEHGVAPDAERL +>non-ACP94 +PNFSMETWLLLV +>non-ACP96 +PRPPSKTYRGAFQN +>non-ACP98 +SVLVKGCQPFLSAPRECPGHPRVGT +>non-ACP100 +LVTPPKALLKPLSIPNQ +>non-ACP102 +KMQGSRMDEQRCS +>non-ACP104 +VIADDLPPTCIRP +>non-ACP106 +LPGGLRVLVQTGH +>non-ACP108 +GWIWRWGWGRRCLGRPGLPGPGPGPATPLFLLLL +>non-ACP110 +RGIRGSSAARPSGRRRDPAGRTTETGFNIFTQHD +>non-ACP112 +QQEKEFLESYPQNCPPDALPGTPGNLD +>non-ACP114 +APARRVLQVKRVMQESSLSPAHL +>non-ACP116 +KVAPGGPTGYPGNLTAEQEQKLGELKMILL +>non-ACP118 +FLASYPQKCPAGSLPGTPGNTDE +>non-ACP120 +MDAKARNCLLQHREALEKDIKTSY +>non-ACP122 +ASRQLLVAPPEAL +>non-ACP124 +MISNGIGTVTTGKRSMCLFPLLLIGLWGC +>non-ACP126 +MTLRNFGMGKRSIEDRVQEEARCLVEELRKTNASPC +>non-ACP128 +AVFGLGGVGLSVIMGCKAAGASRIIAVDIN +>non-ACP130 +PNAKQSILQKNPDDVVIVAAYRTA +>non-ACP132 +AMELLLTATIFYLVLWVVKAFRLQVPKGLKSPPGP +>non-ACP134 +LLAAGFCPAVLCH +>non-ACP136 +AASVNDEQHQRIIKYGRALVLDIVEQ +>non-ACP138 +IARLREDGIQKRVIQEGRGELPDFQDG +>non-ACP140 +FIVVMNILALTLPFLAAEVQN +>non-ACP142 +CQNGRRANRTVRFARTA +>non-ACP144 +WVTVRSQQRGLFPAI +>non-ACP146 +LLRSCPLQGSPGRPRSV +>non-ACP148 +LNDGHFMPVLGFGTYAPPEVPRNRAVEV +>non-ACP150 +HLGRPSAPTIVAQPVSGLASPASFQPEQFQYTLDNNVLT +>non-ACP152 +RPEPGGCCCRRTVRANGC +>non-ACP154 +SWVEENRASFQPPVCNKLMHR +>non-ACP156 +VFHRVRWAPELGASLG +>non-ACP158 +RAKVLTLDGMNPRVRRVEYAVRGPIVQRALELEQELRQ +>non-ACP160 +LLQRARLAEQAERYDDMASAMKAVTELNEPLS +>non-ACP162 +ALIQKLNSDPQFVLAQNVGTTHDLLDICLKRATVQRA +>non-ACP164 +AALPMLWTGLVLLGLLGFPQTPAQGHDTVQPNFQQ +>non-ACP166 +QRRQNDSSVFLAIMVAAAVES +>non-ACP168 +CNAPGCGQRFTNEDHLAVHKHKHEMTLKFGPARTDS +>non-ACP170 +LVLLTVQNSALILTLNYSRIMPGYD +>non-ACP172 +TVLSPPQRFKRILQAMMLAVAVV +>non-ACP174 +ISRGLLLLAALCCLAPSFL +>non-ACP176 +VAGTESAQGPPGPAASLELWLNKATDPS +>non-ACP178 +QYLRIRTVQPEPDYGAAV +>non-ACP180 +ASPTQTPPTTSTIRVARRSRVALVAM +>non-ACP182 +TIWRNQHTYKMATSASANLSKIVKKNYMELPQDGKVQ +>non-ACP184 +LSITRGLLLLAALCCLAPIS +>non-ACP186 +ILLSIWRQSSGRGKLPPGPIPLPIIGNIFQ +>non-ACP188 +LLLLSWVALGPRSLEGADPGTPGEAEGPACP +>non-ACP190 +LRVKRAMQEASFMPPLLPPAAHQRFSTVPAVP +>non-ACP192 +GLLLLAGLCCLVFGIMAEDAQVAQGPSQQI +>non-ACP194 +RHVGLLCATGPQRWRF +>non-ACP196 +AAVALARPKPPLRHQEHLQNEPDS +>non-ACP198 +SRVNDQSQASRNGLKGKVLTLDTMNPCV +>non-ACP200 +AAALGPGVLQATRAFHTGQPRLAPLPPLPEYGGK +>non-ACP202 +LCTSGLWTAQASTNESSNSHRGLAPTNV +>non-ACP204 +PAIQPVLSGLSRIVNGEEA +>non-ACP206 +GCQASLSTAQERLGHPGVPTREGVR +>non-ACP208 +RKVLILTLVVAACGFVLWSSNGR +>non-ACP210 +GRVRSRCPGPALLLLLALAARPALAGPPAAALQ +>non-ACP212 +CRITKPALLVLNQETAKVVQT +>non-ACP214 +KAEVCMAVPWLSLQ +>non-ACP216 +SHLELNNGTKMPTLGLGT +>non-ACP218 +LLLPEAAAERDAREKLALWDRRPDTTAPL +>non-ACP220 +LLALSLVLLYRYATYSHGFFKKLGIPGPKPLPLFGNVLS +>non-ACP222 +LLSLWRQSSGRGKLPPGPTPLPVIGNILQIGIKD +>non-ACP224 +AFKSMEVANFYYEADCLAAAYGGKAAPAAPPADRPGPR +>non-ACP226 +SLFWAARPLQRCGQLVRMAIRAQH +>non-ACP228 +MRPPRTLTSTATMSALSTSMPMEIDDVMDEDAVNGQA +>non-ACP230 +LLSLIGFCWAQYDP +>non-ACP232 +LWARSKNDQLRISFPPGLCWG +>non-ACP234 +PQGFDVDRDAKKLNKACKGMGTNEAAIIEILSG +>non-ACP236 +IFCLILWVVKAWQPRLPKGLKSPPGPWGWPLLG +>non-ACP238 +LDAASPGPLALLGLLFAATLLLSALFLL +>non-ACP240 +VTLLFKLYCLA +>non-ACP242 +ATRAAAARLVGTAASRTPAAARH +>non-ACP244 +RNKLDLETLTDILEHQIR +>non-ACP246 +RRLVLQARTYAQAAASPAPAAGPGQMSFTFASPTQVFF +>non-ACP248 +PGRSRSAADDINPAPANM +>non-ACP250 +LLSALTLETWVLLAVILVLLYRLG +>non-ACP252 +VMGHGLCPQGARAKAAIPAALRDHEST +>non-ACP254 +FLVSIAGLLYALVQLGQPCDCLPPLRAAA +>non-ACP256 +VRSVRAAVGGLRAISAPSAPCLPRPWGLRAG +>non-ACP258 +RGGCWPRGLQQLLVPGG +>non-ACP260 +APATPPRPLKRKKLQFTDVTPESSP +>non-ACP262 +EQAERYDDMAAAMKAVTEQGHELSNEERNL +>non-ACP264 +MPNDPSDNQLK +>non-ACP266 +TELLLAITVFCLGFWVVRALRTQVP +>non-ACP268 +LTADLLGAPFFTLPKELQLALLERQTVFL +>non-ACP270 +GHGRLVEIQGRLGVRIER +>non-ACP272 +LPFKLLLFVLLDGWTRLTH +>non-ACP274 +QALWLVLVLSMPPVLVAAVVGTLVSLVQ |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Global_Descriptors/.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Global_Descriptors/.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +"" +0 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Global_Descriptors/PDAUG_Peptide_Global_Descriptors.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Global_Descriptors/PDAUG_Peptide_Global_Descriptors.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,117 @@ +from modlamp.descriptors import * +import os +import pandas as pd + +def Descriptor_calcultor(DesType, inputfile, ph, amide,OutFile ): + + list_pep_name = [] + f = open(inputfile) + lines = f.readlines() + + for line in lines: + if ">" in line: + pass + else: + list_pep_name.append(line.strip('\n')) + + desc = GlobalDescriptor(list_pep_name) + + if DesType == "Length": + desc.length() + df = desc.descriptor + dfN = desc.featurenames + + elif DesType == "Weight": + + desc.calculate_MW() + df = desc.descriptor + dfN = desc.featurenames + + elif DesType == "Charge": + desc.calculate_charge(ph=int(ph), amide=amide) + df = desc.descriptor + dfN = desc.featurenames + + elif DesType == "ChargeDensity": + desc.charge_density(ph=int(ph), amide=amide) + df = desc.descriptor + dfN = desc.featurenames + + elif DesType == "IsoelectricPoint": + desc.isoelectric_point(amide=amide) + df = desc.descriptor + dfN = desc.featurenames + + elif DesType == "InstabilityIndex": + desc.instability_index() + df = desc.descriptor + dfN = desc.featurenames + + elif DesType == "Aromaticity": + desc.aromaticity() + df = desc.descriptor + dfN = desc.featurenames + + elif DesType == "AliphaticIndex": + desc.aliphatic_index() + df = desc.descriptor + dfN = desc.featurenames + + elif DesType == "BomanIndex": + desc.boman_index() + df = desc.descriptor + dfN = desc.featurenames + + elif DesType == "HydrophobicRatio": + desc.hydrophobic_ratio() + df = desc.descriptor + dfN = desc.featurenames + + elif DesType == "All": + desc.calculate_all(ph=int(ph), amide=amide) + df = desc.descriptor + dfN = desc.featurenames + else: + pass + + df = desc.descriptor + dfN = desc.featurenames + dfOut = pd.DataFrame(df,columns=dfN) + + dfOut.to_csv(OutFile, index=False, sep='\t') + +if __name__=="__main__": + + import argparse + + parser = argparse.ArgumentParser() + + parser.add_argument("-t", "--DesType", + required=True, + default=None, + help="Descriptors Type") + + parser.add_argument("-i", "--InFile", + required=True, + default=None, + help="Peptide File") + + parser.add_argument("-p", "--Ph", + required=False, + default=7.0, + help="Ph 0-14") + + parser.add_argument("-a", "--Amide", + required=False, + default="True", + help="True or False") + + parser.add_argument("-O", "--OutFile", + required=False, + default="out.tsv", + help="True or False") + + + args = parser.parse_args() + + Descriptor_calcultor(args.DesType, args.InFile, args.Ph, args.Amide, args.OutFile) |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Global_Descriptors/test-data/out.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Global_Descriptors/test-data/out.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,139 @@\n+Length\tMW\tCharge\tChargeDensity\tpI\tInstabilityInd\tAromaticity\tAliphaticInd\tBomanInd\tHydrophRatio\n+33.0\t3833.74\t3.795\t0.0009898949850537595\t10.03125\t63.451515151515146\t0.09090909090909091\t115.15151515151516\t0.5603030303030305\t0.5454545454545454\n+34.0\t3727.11\t-1.001\t-0.0002685727011008529\t4.43505859375\t43.670588235294126\t0.08823529411764706\t43.23529411764706\t1.9917647058823529\t0.3235294117647059\n+18.0\t1788.15\t2.996\t0.0016754746525738892\t13.55859375\t40.550000000000004\t0.05555555555555555\t108.33333333333331\t-0.5277777777777778\t0.4444444444444444\n+28.0\t3036.42\t1.094\t0.00036029271312927727\t9.43701171875\t49.610714285714295\t0.07142857142857142\t70.0\t1.4278571428571425\t0.35714285714285715\n+21.0\t2199.45\t-1.07\t-0.00048648525767805596\t3.9296875\t29.85714285714286\t0.0\t111.42857142857142\t1.0095238095238097\t0.42857142857142855\n+34.0\t3689.37\t3.864\t0.0010473332845445157\t9.955322265625\t20.40882352941177\t0.029411764705882353\t97.3529411764706\t1.4858823529411767\t0.35294117647058826\n+13.0\t1401.6\t-0.069\t-4.922945205479453e-05\t6.28125\t93.56923076923078\t0.0\t97.6923076923077\t1.6992307692307689\t0.38461538461538464\n+26.0\t2978.24\t-1.0\t-0.0003357687761899646\t4.58935546875\t51.846153846153854\t0.11538461538461539\t68.07692307692308\t2.5303846153846155\t0.38461538461538464\n+21.0\t2531.74\t-0.999\t-0.00039459028178248954\t4.666015625\t24.804761904761904\t0.047619047619047616\t79.04761904761904\t4.30047619047619\t0.3333333333333333\n+30.0\t3671.28\t5.025\t0.0013687324311956594\t11.23828125\t89.66033333333333\t0.2\t74.66666666666666\t1.4336666666666662\t0.36666666666666664\n+18.0\t1797.22\t1.929\t0.0010733243565061595\t10.03125\t1.8055555555555547\t0.0\t168.33333333333331\t-0.7383333333333333\t0.6111111111111112\n+37.0\t4489.59\t3.96\t0.0008820404535826211\t10.2333984375\t44.878378378378386\t0.16216216216216217\t142.43243243243245\t-0.7545945945945945\t0.5675675675675675\n+25.0\t2504.82\t1.028\t0.0004104087319647719\t8.76171875\t90.01199999999999\t0.04\t51.2\t0.8763999999999998\t0.36\n+24.0\t2793.81\t1.194\t0.00042737337184704755\t9.7275390625\t64.35000000000001\t0.041666666666666664\t20.416666666666664\t5.572083333333334\t0.08333333333333333\n+37.0\t4180.030000000001\t2.996\t0.0007167412674071716\t11.2880859375\t42.77297297297297\t0.10810810810810811\t128.91891891891893\t-0.05243243243243245\t0.4594594594594595\n+24.0\t2705.2599999999998\t3.86\t0.0014268499146107953\t10.68359375\t56.52083333333335\t0.125\t101.66666666666666\t0.3158333333333334\t0.4583333333333333\n+13.0\t1428.75\t1.996\t0.0013970253718285214\t13.55078125\t63.938461538461546\t0.0\t164.6153846153846\t0.21999999999999995\t0.6153846153846154\n+20.0\t2481.99\t4.996\t0.0020129009383599455\t12.58203125\t27.415000000000003\t0.1\t126.5\t2.55\t0.5\n+38.0\t3846.5\t3.928\t0.0010211880930716235\t11.572265625\t67.88157894736841\t0.05263157894736842\t97.63157894736841\t0.15473684210526317\t0.42105263157894735\n+34.0\t3297.91\t4.997\t0.0015152020522088232\t12.58203125\t84.26764705882351\t0.0\t100.88235294117648\t0.6679411764705883\t0.47058823529411764\n+13.0\t1319.59\t1.095\t0.0008298031964473814\t12.25\t138.72307692307695\t0.0\t30.0\t-0.010769230769230812\t0.23076923076923078\n+19.0\t2324.8\t4.929\t0.00212018238128011\t11.94287109375\t140.16315789473683\t0.05263157894736842\t107.89473684210525\t3.7010526315789476\t0.42105263157894735\n+33.0\t3845.8\t6.996\t0.001819127359717094\t12.7998046875\t53.71212121212121\t0.06060606060606061\t174.54545454545456\t0.8466666666666666\t0.5757575757575758\n+13.0\t1523.62\t0.998\t0.0006550189679841431\t10.58203125\t52.04615384615385\t0.15384615384615385\t7.6923076923076925\t4.195384615384616\t0.23076923076923078\n+34.0\t3496.1\t1.996\t0.000570921884385458\t12.1005859375\t44.17941176470589\t0.058823529411764705\t123.23529411764706\t-0.060000000000000095\t0.47058823529411764\n+18.0\t2142.54\t4.996\t0.0023318117748093387\t13.80078125\t39.522222222222226\t0.05555555555555555\t81.1111111111111\t2.7783333333333338\t0.2777777777777778\n+28.0\t3162.91\t3.793\t0.0011992121179546684\t10.529296875\t88.95357142857144\t0.07142857142857142\t136.07142857142856\t-0.03678571428571437\t0.5714285714285714\n+17.0\t1756.0\t-1.001\t-0.0005700455580865603\t4.150390625\t87.4294'..b'34482758620689655\t101.37931034482759\t2.560344827586206\t0.41379310344827586\n+39.0\t4304.1900000000005\t5.092\t0.0011830332768767175\t10.71923828125\t-1.2307692307692295\t0.15384615384615385\t130.0\t-0.5758974358974357\t0.46153846153846156\n+34.0\t3621.3\t3.996\t0.0011034711291525142\t12.1552734375\t76.77647058823528\t0.029411764705882353\t123.23529411764707\t0.5847058823529411\t0.3235294117647059\n+38.0\t3944.43\t0.929\t0.00023552198923545357\t8.60546875\t37.489736842105266\t0.13157894736842105\t46.8421052631579\t1.0836842105263156\t0.4473684210526316\n+24.0\t2808.35\t5.027\t0.0017900190503320457\t12.5751953125\t30.070833333333336\t0.08333333333333333\t93.74999999999997\t1.8133333333333332\t0.5\n+37.0\t3970.48\t-2.999\t-0.0007553242932844392\t3.85400390625\t44.127027027027026\t0.0\t58.10810810810811\t2.005405405405405\t0.3783783783783784\n+14.0\t1624.91\t-0.072\t-4.431014640810875e-05\t5.90625\t26.992857142857144\t0.21428571428571427\t118.57142857142856\t-0.8014285714285715\t0.5\n+21.0\t2443.84\t2.929\t0.0011985236349351838\t11.2216796875\t68.41904761904762\t0.14285714285714285\t79.04761904761904\t1.4666666666666668\t0.3333333333333333\n+33.0\t3489.99\t0.932\t0.0002670494757864636\t8.7001953125\t45.63939393939393\t0.030303030303030304\t80.0\t1.6799999999999993\t0.3939393939393939\n+33.0\t3753.61\t4.928\t0.001312869477649516\t11.6767578125\t48.21818181818182\t0.15151515151515152\t115.15151515151516\t-0.79030303030303\t0.3939393939393939\n+28.0\t2794.43\t-0.004\t-1.4314189297996373e-06\t6.5\t25.335714285714285\t0.07142857142857142\t188.57142857142856\t-2.130357142857143\t0.7142857142857143\n+11.0\t1282.6399999999999\t1.927\t0.001502370111644733\t9.6748046875\t-2.499999999999997\t0.18181818181818182\t177.2727272727273\t-1.957272727272727\t0.7272727272727273\n+23.0\t2246.54\t5.095\t0.002267932019906167\t13.86328125\t27.30434782608696\t0.0\t73.04347826086956\t2.0630434782608695\t0.5217391304347826\n+18.0\t2206.5099999999998\t0.098\t4.4414029394836193e-05\t7.703125\t31.249999999999996\t0.0\t129.99999999999997\t3.2727777777777773\t0.3333333333333333\n+38.0\t4012.57\t3.995\t0.0009956212601898533\t12.4033203125\t88.79473684210524\t0.13157894736842105\t59.473684210526315\t0.9107894736842105\t0.47368421052631576\n+18.0\t1839.01\t0.997\t0.0005421395207203876\t10.58203125\t94.75\t0.0\t43.888888888888886\t2.883888888888888\t0.3333333333333333\n+24.0\t2682.34\t0.996\t0.00037131758091815356\t9.7353515625\t0.7625000000000008\t0.08333333333333333\t223.33333333333331\t-1.78\t0.6666666666666666\n+27.0\t2757.17\t2.128\t0.0007718058734136814\t10.0205078125\t37.24444444444445\t0.0\t76.29629629629629\t1.32\t0.4444444444444444\n+29.0\t3012.65\t0.86\t0.00028546296449969295\t8.0888671875\t55.06896551724138\t0.06896551724137931\t144.82758620689654\t-0.8844827586206897\t0.6206896551724138\n+31.0\t3141.71\t5.928\t0.0018868705259237803\t12.69970703125\t65.65806451612903\t0.03225806451612903\t97.74193548387098\t1.1216129032258066\t0.45161290322580644\n+17.0\t1793.12\t2.928\t0.0016329080039261176\t12.1005859375\t65.27058823529413\t0.058823529411764705\t85.88235294117648\t0.8123529411764705\t0.29411764705882354\n+25.0\t2761.2\t3.997\t0.001447559032304795\t11.4951171875\t90.212\t0.04\t50.8\t2.4636\t0.24\n+30.0\t3435.68\t-3.897\t-0.0011342732734131234\t4.270751953125\t50.57\t0.03333333333333333\t52.33333333333333\t3.3416666666666663\t0.3333333333333333\n+11.0\t1257.3799999999999\t-0.003\t-2.385913566304538e-06\t6.6875\t51.97272727272727\t0.0\t35.45454545454546\t3.4490909090909088\t0.18181818181818182\n+25.0\t2845.46\t1.93\t0.0006782734601786705\t10.59765625\t30.988000000000007\t0.12\t148.0\t-0.3963999999999999\t0.6\n+29.0\t3257.87\t-0.001\t-3.069490188374613e-07\t6.9375\t41.60689655172414\t0.10344827586206896\t141.3793103448276\t-0.07000000000000005\t0.5517241379310345\n+18.0\t2044.3799999999999\t3.097\t0.0015148847083223276\t12.10009765625\t38.794444444444444\t0.0\t118.88888888888889\t2.8877777777777776\t0.3333333333333333\n+19.0\t2281.79\t2.095\t0.0009181388296030749\t11.400390625\t15.952631578947368\t0.15789473684210525\t158.94736842105263\t-0.45894736842105277\t0.5263157894736842\n+28.0\t2915.63\t0.996\t0.0003416071312203537\t12.25\t45.892857142857146\t0.03571428571428571\t191.07142857142856\t-2.048571428571429\t0.6785714285714286\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Global_Descriptors/test-data/test.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Global_Descriptors/test-data/test.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>non-ACP0 +MTISLIWGIAMVVCCCIWVIFDRRRRKAGEPPL +>non-ACP2 +MFATPLRQPTNASGARPAVSMDGQETPFQYEITD +>non-ACP4 +LLWRKVAGATVGPGPVPA +>non-ACP6 +DSPDPMNGASSNALIAKMNSAKLLYQHY +>non-ACP8 +NNQEVIDAISQAISQTPGCVL +>non-ACP10 +KKVVEKNADPETTLLVYLRRKLGLCGTKLGCGEG +>non-ACP12 +CSRLLPSLAQEEG +>non-ACP14 +KNDFAALQAKLDADAAEIEKWWSDSR +>non-ACP16 +VDREQLVQKARLAEQAERYDD +>non-ACP18 +RPLRRVVLFYQGKLCSMAGNFWQSSHYLQW +>non-ACP20 +GAAGERKLCLLSLLLIGA +>non-ACP22 +MFRKLLKMWILLRPTHWLILIALCAVTCAGYWLLWSE +>non-ACP24 +HLRGPADSGWMPQAAPCLSGAPQAS +>non-ACP26 +NNPNNSNSHLRPHAYNNSRRDDSD +>non-ACP28 +VVILASLSVMFLVSLWQQKIRERLPPGPTPLPFIGNY +>non-ACP30 +ICLSCLISFFLWNQNRAKGKLPPG +>non-ACP32 +VVMNSLRVILQAS +>non-ACP34 +ARPRLDLQLVQRFVRIQKVF +>non-ACP36 +MLAKGLSLRSVLAKGCQPFLSPTWQSSVLATGGGANIS +>non-ACP38 +AAGLPGAALPLRKRPLRAPSPEPAAPRGAAGLVV +>non-ACP40 +PPMPSAPPVHPPP +>non-ACP42 +SCPIDKRRPLIAFLRRLRD +>non-ACP44 +RLGLWASGLILILGFLKLLRLLLRRQRLARAMD +>non-ACP46 +FSPQRDRFQAEGS +>non-ACP48 +GTLWALVFLGILVGMVVPSPAGTRANNTLLDSRG +>non-ACP50 +MNRLLQKGTSLVPSWRTR +>non-ACP52 +MTTSLIWGIAIAACCCLWLILGIRRRQT +>non-ACP54 +ATLANGMSLQPPLEEVS +>non-ACP56 +PLTATNSGLAVNN +>non-ACP58 +VRACHKVCRCLLSGFGGRVDAGQPELLTER +>non-ACP60 +TAGILLLLLLGTLEGS +>non-ACP62 +MEPSILLLLALLVGFLLLLVRGH +>non-ACP64 +MKNCFQLLCNLKVPAAGFKNTVKS +>non-ACP66 +SVIHTQAHASGLQQVPQLVPAGPGGGGKAVAPSKQSK +>non-ACP68 +KPLGLLKPSSLMKVSGRFKAHQDA +>non-ACP70 +ARTLNNKLSLSKPKFSGFT +>non-ACP72 +LLLVIIWTLFGPSGLGEELLSLSLASLLPAPASPGPP +>non-ACP74 +WPGILVGGARVASCRYPALGPRLA +>non-ACP76 +RSVKGLVALITGGASGL +>non-ACP78 +AAAALRARILQVSSKVN +>non-ACP80 +TGCCIAGRLANLDDQNLTVAL +>non-ACP82 +GSILGFLQIATVLTVLLLLLK +>non-ACP84 +AARQIGSCLMRCRTLDTTSP +>non-ACP86 +WGCRGRRWAFARVDGGSCHRRGAPTGSTSNQIR +>non-ACP88 +YAKPGAVRSPAQILQWQVLPNTVPAKS +>non-ACP90 +RMAGPWLSLHEARLLGTRGAAAPKAV +>non-ACP92 +SISNRAAVPEHGVAPDAERL +>non-ACP94 +PNFSMETWLLLV +>non-ACP96 +PRPPSKTYRGAFQN +>non-ACP98 +SVLVKGCQPFLSAPRECPGHPRVGT +>non-ACP100 +LVTPPKALLKPLSIPNQ +>non-ACP102 +KMQGSRMDEQRCS +>non-ACP104 +VIADDLPPTCIRP +>non-ACP106 +LPGGLRVLVQTGH +>non-ACP108 +GWIWRWGWGRRCLGRPGLPGPGPGPATPLFLLLL +>non-ACP110 +RGIRGSSAARPSGRRRDPAGRTTETGFNIFTQHD +>non-ACP112 +QQEKEFLESYPQNCPPDALPGTPGNLD +>non-ACP114 +APARRVLQVKRVMQESSLSPAHL +>non-ACP116 +KVAPGGPTGYPGNLTAEQEQKLGELKMILL +>non-ACP118 +FLASYPQKCPAGSLPGTPGNTDE +>non-ACP120 +MDAKARNCLLQHREALEKDIKTSY +>non-ACP122 +ASRQLLVAPPEAL +>non-ACP124 +MISNGIGTVTTGKRSMCLFPLLLIGLWGC +>non-ACP126 +MTLRNFGMGKRSIEDRVQEEARCLVEELRKTNASPC +>non-ACP128 +AVFGLGGVGLSVIMGCKAAGASRIIAVDIN +>non-ACP130 +PNAKQSILQKNPDDVVIVAAYRTA +>non-ACP132 +AMELLLTATIFYLVLWVVKAFRLQVPKGLKSPPGP +>non-ACP134 +LLAAGFCPAVLCH +>non-ACP136 +AASVNDEQHQRIIKYGRALVLDIVEQ +>non-ACP138 +IARLREDGIQKRVIQEGRGELPDFQDG +>non-ACP140 +FIVVMNILALTLPFLAAEVQN +>non-ACP142 +CQNGRRANRTVRFARTA +>non-ACP144 +WVTVRSQQRGLFPAI +>non-ACP146 +LLRSCPLQGSPGRPRSV +>non-ACP148 +LNDGHFMPVLGFGTYAPPEVPRNRAVEV +>non-ACP150 +HLGRPSAPTIVAQPVSGLASPASFQPEQFQYTLDNNVLT +>non-ACP152 +RPEPGGCCCRRTVRANGC +>non-ACP154 +SWVEENRASFQPPVCNKLMHR +>non-ACP156 +VFHRVRWAPELGASLG +>non-ACP158 +RAKVLTLDGMNPRVRRVEYAVRGPIVQRALELEQELRQ +>non-ACP160 +LLQRARLAEQAERYDDMASAMKAVTELNEPLS +>non-ACP162 +ALIQKLNSDPQFVLAQNVGTTHDLLDICLKRATVQRA +>non-ACP164 +AALPMLWTGLVLLGLLGFPQTPAQGHDTVQPNFQQ +>non-ACP166 +QRRQNDSSVFLAIMVAAAVES +>non-ACP168 +CNAPGCGQRFTNEDHLAVHKHKHEMTLKFGPARTDS +>non-ACP170 +LVLLTVQNSALILTLNYSRIMPGYD +>non-ACP172 +TVLSPPQRFKRILQAMMLAVAVV +>non-ACP174 +ISRGLLLLAALCCLAPSFL +>non-ACP176 +VAGTESAQGPPGPAASLELWLNKATDPS +>non-ACP178 +QYLRIRTVQPEPDYGAAV +>non-ACP180 +ASPTQTPPTTSTIRVARRSRVALVAM +>non-ACP182 +TIWRNQHTYKMATSASANLSKIVKKNYMELPQDGKVQ +>non-ACP184 +LSITRGLLLLAALCCLAPIS +>non-ACP186 +ILLSIWRQSSGRGKLPPGPIPLPIIGNIFQ +>non-ACP188 +LLLLSWVALGPRSLEGADPGTPGEAEGPACP +>non-ACP190 +LRVKRAMQEASFMPPLLPPAAHQRFSTVPAVP +>non-ACP192 +GLLLLAGLCCLVFGIMAEDAQVAQGPSQQI +>non-ACP194 +RHVGLLCATGPQRWRF +>non-ACP196 +AAVALARPKPPLRHQEHLQNEPDS +>non-ACP198 +SRVNDQSQASRNGLKGKVLTLDTMNPCV +>non-ACP200 +AAALGPGVLQATRAFHTGQPRLAPLPPLPEYGGK +>non-ACP202 +LCTSGLWTAQASTNESSNSHRGLAPTNV +>non-ACP204 +PAIQPVLSGLSRIVNGEEA +>non-ACP206 +GCQASLSTAQERLGHPGVPTREGVR +>non-ACP208 +RKVLILTLVVAACGFVLWSSNGR +>non-ACP210 +GRVRSRCPGPALLLLLALAARPALAGPPAAALQ +>non-ACP212 +CRITKPALLVLNQETAKVVQT +>non-ACP214 +KAEVCMAVPWLSLQ +>non-ACP216 +SHLELNNGTKMPTLGLGT +>non-ACP218 +LLLPEAAAERDAREKLALWDRRPDTTAPL +>non-ACP220 +LLALSLVLLYRYATYSHGFFKKLGIPGPKPLPLFGNVLS +>non-ACP222 +LLSLWRQSSGRGKLPPGPTPLPVIGNILQIGIKD +>non-ACP224 +AFKSMEVANFYYEADCLAAAYGGKAAPAAPPADRPGPR +>non-ACP226 +SLFWAARPLQRCGQLVRMAIRAQH +>non-ACP228 +MRPPRTLTSTATMSALSTSMPMEIDDVMDEDAVNGQA +>non-ACP230 +LLSLIGFCWAQYDP +>non-ACP232 +LWARSKNDQLRISFPPGLCWG +>non-ACP234 +PQGFDVDRDAKKLNKACKGMGTNEAAIIEILSG +>non-ACP236 +IFCLILWVVKAWQPRLPKGLKSPPGPWGWPLLG +>non-ACP238 +LDAASPGPLALLGLLFAATLLLSALFLL +>non-ACP240 +VTLLFKLYCLA +>non-ACP242 +ATRAAAARLVGTAASRTPAAARH +>non-ACP244 +RNKLDLETLTDILEHQIR +>non-ACP246 +RRLVLQARTYAQAAASPAPAAGPGQMSFTFASPTQVFF +>non-ACP248 +PGRSRSAADDINPAPANM +>non-ACP250 +LLSALTLETWVLLAVILVLLYRLG +>non-ACP252 +VMGHGLCPQGARAKAAIPAALRDHEST +>non-ACP254 +FLVSIAGLLYALVQLGQPCDCLPPLRAAA +>non-ACP256 +VRSVRAAVGGLRAISAPSAPCLPRPWGLRAG +>non-ACP258 +RGGCWPRGLQQLLVPGG +>non-ACP260 +APATPPRPLKRKKLQFTDVTPESSP +>non-ACP262 +EQAERYDDMAAAMKAVTEQGHELSNEERNL +>non-ACP264 +MPNDPSDNQLK +>non-ACP266 +TELLLAITVFCLGFWVVRALRTQVP +>non-ACP268 +LTADLLGAPFFTLPKELQLALLERQTVFL +>non-ACP270 +GHGRLVEIQGRLGVRIER +>non-ACP272 +LPFKLLLFVLLDGWTRLTH +>non-ACP274 +QALWLVLVLSMPPVLVAAVVGTLVSLVQ |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Length_Distribution/PDAUG_Peptide_Length_Distribution.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Length_Distribution/PDAUG_Peptide_Length_Distribution.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,31 @@ +import matplotlib.pyplot as plt +import Bio +from Bio import SeqIO +import os + + +def LegnthDestribution(InFile, OutFile): + + + sizes = [len(rec.seq) for rec in SeqIO.parse(InFile, "fasta")] + + plt.hist(sizes, bins=20) + plt.title("%i Negative bacteriocin sequences\nLengths %i to %i" \ + % (len(sizes),min(sizes),max(sizes))) + plt.xlabel("Sequence length (bp)") + plt.ylabel("Count") + + plt.savefig(OutFile) + + + +if __name__=="__main__": + + import argparse + + parser = argparse.ArgumentParser() + + parser.add_argument("-I", "--InFile", required=True, default=None, help="Input file name") + parser.add_argument("-O", "--OutFile", required=False, default="Out.png", help="Input file name") + args = parser.parse_args() + LegnthDestribution(args.InFile, args.OutFile) |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Length_Distribution/test-data/out.png |
b |
Binary file PDAUG_Peptide_Length_Distribution/test-data/out.png has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Length_Distribution/test-data/positive.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Length_Distribution/test-data/positive.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLFDIIKKIAESI +>ACP4 +GLLDIVKKVVGAFGSL +>ACP6 +GLFDIVKKVVGALGSL +>ACP8 +GLFDIVKKVVGTLAGL +>ACP10 +GLFDIAKKVIGVIGSL +>ACP12 +GLFDIVKKIAGHIAGSI +>ACP14 +GLFDIVKKIAGHIVSSI +>ACP16 +AACARFIDDFCDTLTPNIYRPRDNGQRCYAVNGHRCDFTVFNTNNGGNPIRASTPNCKTVLRTAANRCPTGGRGKINPNAPFLFAIDPNDGDCSTNF +>ACP18 +HGVSGHGQHGVHG +>ACP20 +FKCRRWQWRMKKLGAPSITCVRRAF +>ACP22 +KWKLFKKIKFLHSAKKF +>ACP24 +KSSAYSLQMGATAIKQVKKLFKKWGW +>ACP26 +GIGTKILGGVKTALKGALKELASTYAN +>ACP28 +GIGGKILSGLKTALKGAAKELASTYLH +>ACP30 +GIGGVLLSAGKAALKGLAKVLAEKYAN +>ACP32 +SIGAKILGGVKTFFKGALKELASTYLQ +>ACP34 +FLPLLAGLAANFLPTIICKISYKC +>ACP36 +FVQWFSKFLGRIL +>ACP38 +KWKIFKKIEKVGRNIRNGIIKAGPAVAVLGEAKAL +>ACP40 +GWLKKIGKKIERVGQHTRDATIQTIGVAQQAANVAATLK +>ACP42 +KWKLFKKI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IHRLVTG +>ACP100 +KLAKLAKKLAKLAK +>ACP102 +KTCENLADTFRGPCFATSNC +>ACP104 +IDWKKLLDAAKQIL +>ACP106 +FLIGMTQGLICLITRKC +>ACP108 +ILPILSLIGGLLGK +>ACP110 +GLLGLLGSVVSHVVPAIVGHF +>ACP112 +GLLGLLGSVVSHVLPAITQHL +>ACP114 +GIKCRFCCGCCTPGICGVCCRF +>ACP116 +QSHLSLCRWCCNCCRSNKGC +>ACP118 +ILGPVISTIGGVLGGLLKNL +>ACP120 +FLPILASLAAKFGPKLFCLVTKKC +>ACP122 +GLWSKIKEAAKAAGKAALNAVTGLVNQGDQPS +>ACP124 +LLGMIPLAISAISALSKL +>ACP126 +GLPVCGETCVGGTCNTPGCSCSWPVCTRN +>ACP128 +GVPICGETCTLGTCYTAGCSCSWPVCTRN +>ACP130 +GIPCGESCVWIPCISSAIGCSCKSKVCYRN +>ACP132 +GIPCAESCVWIPCTVTALIGCGCSNKVCYN +>ACP134 +GTFPCGESCVFIPCLTSAIGCSCKSKVCYKN +>ACP136 +GLLPCAESCVYIPCLTTVIGCSCKSKVCYKN +>ACP138 +GRDYRTCLTIVQKLKKMVDKPTQRSVSNAATRVCRTGRSRWRDVCRNFMRRYQSRVTQGLVAGETAQQICEDLRLCIPSTGPL +>ACP140 +GETDPNTQLLNDLGNNMAWGAALGAPGGLGSAALGAAGGALQTVGQGLIDHGPVNVFIPVLIGPSWNGSGSGYNSATSSSGSGS +>ACP142 +GFKDLLKGAAKALVKTVLF +>ACP144 +KSCCPNTTGRNIYNACRLTGAPRPTCAKLSGCKIISGSTCPSDYPK +>ACP146 +KSCCPNTTGRNIYNTCRFGGGSREVCARISGCKIISASTCPSDYPK +>ACP148 +KSCCPNTTGRNIYNTCRLTGSSRETCAKLSGCKIISASTCPSNYPK +>ACP150 +MRKEFHNVLSSGQLLADKRPARDYNRK +>ACP152 +KSCCKNTTGRNIYNTCRFAGGSRERCAKLSGCKIISASTCPSDYPK +>ACP154 +FIFHIIKGLFHAGKMIHGLVTRRRH +>ACP156 +FLPAIVGAAAKFLPKIFCAISKKC +>ACP158 +FLPIIAGVAAKVLPKIFCAISKKC +>ACP160 +FLPIIAGIAAKFLPKIFCTISKKC +>ACP162 +FLPVIAGVAANFLPKLFCAISKKC +>ACP164 +FLPIIAGAAAKVVQKIFCAISKKC +>ACP166 +GLMDTIKGVAKTVAASWLDKLKCKITGC +>ACP168 +VNWKKVLGKIIKVAK +>ACP170 +VNWKKILGKIIKVAK +>ACP172 +FFSLLPSLIGGLVSAIK +>ACP174 +RFRLPFRRPPIRIHPPPFYPPFRRFL +>ACP176 +KWKLFKKIPKFLHLAKKF +>ACP178 +YKQCHKKGGHCFPKEKICLPPSSDFGKMDCRWRWKCCKKGSG +>ACP180 +GIPCGESCVFIPCITGAIGCSCKSKVCYRN +>ACP182 +GEFLKCGESCVQGECYTPGCSCDWPICKKN +>ACP184 +GLPTCGETCTLGTCYVPDCSCSWPICMKN +>ACP186 +GLPVCGETCFGGTCNTPGCTCDPWPVCTRN +>ACP188 +FVDLKKIANIINSIFGK +>ACP190 +GSIPCGESCVFIPCISSVIGCACKSKVCYKN +>ACP192 +GIPCGESCVFIPCISSVIGCSCSSKVCYRN +>ACP194 +GSIPCGESCVFIPCISAVIGCSCSNKVCYKN +>ACP196 +GSIPCEGSCVFIPCISAIIGCSCSNKVCYKN +>ACP198 +GIPCGESCVFIPCLTSAIDCSCKSKVCYRN +>ACP200 +GMWSKILGHLIR +>ACP202 +GKWMSLLKHILK +>ACP204 +GFGMALKLLKKVL +>ACP206 +GTGLPMSERRKIMLMMR +>ACP208 +GIACGESCVFLGCFIPGCSCKSKVCYFN +>ACP210 +GVIPCGESCVFIPCISSVLGCSCKNKVCYRD +>ACP212 +KLCGETCFKFKCYTPGCSCSYPFCK +>ACP214 +GDACGETCFTGICFTAGCSCNPWPTCTRN +>ACP216 +GIPCAESCVWIPPCTITALMGCSCKNNVCYNN +>ACP218 +IPCGESCVWIPCITAIAGCSCKNKVCYT +>ACP220 +AIPCGESCVWIPCISTVIGCSCSNKVCYR +>ACP222 +GEYCGESCYLIPCFTPGCYCVSRQCVNKN +>ACP224 +IPCGESCVWIPCISGMFGCSCKDKVCYS +>ACP226 +FLGWLFKWASK +>ACP228 +FLKWLFKWAKK +>ACP230 +KWKSFLKTFKSAKKTVLHTALKAISS +>ACP232 +KWKSFLKTFKSLKKTVLHTLLKAISS +>ACP234 +MPFLFCNVNDVCNFASRNDYSCNYYSNSYSFWLASLNPER +>ACP236 +KWKLFKKIGAVLKVL +>ACP238 +GACFSIAHECGA +>ACP240 +TCCATGACGTTCCTGACGTT +>ACP242 +KRFKQDGGASHASPASS +>ACP244 +KRAKAAGGWSHWSPWSSC +>ACP246 +LLGDFFRKSKEKIGKEFKRIVQRIKDFLRNLVPRTES +>ACP248 +FLGALFKVASKVLPSVKCAITKKC +>ACP250 +GIGKFLKKAKKFGKAFVKILKK +>ACP252 +GIGKFLKKAKKGIGAVLKVLTTGL +>ACP254 +VECYGPNRPQF +>ACP256 +KRFKQDGGWSHWSPWSSC +>ACP258 +RQVFQVAYIIIKA +>ACP260 +KAFDITYVRLKF +>ACP262 +DFKLFAVTIKYR +>ACP264 +DFKLFAVYIKYR +>ACP266 +WHSDMEWWYLLG +>ACP268 +HTMYYHHYQHHL +>ACP270 +RLVSYNGIIFFLK +>ACP272 +GRENYHGCTTHWGFTLC +>ACP274 +ASSSYPLIHWRPWAR |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Ngrams/PDAUG_Peptide_Ngrams.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Ngrams/PDAUG_Peptide_Ngrams.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,82 @@ +import matplotlib +matplotlib.use('Agg') +import os +import sys +sys.path.insert(0, os.path.abspath('..')) +import quantiprot +from quantiprot.utils.io import load_fasta_file +from quantiprot.utils.feature import Feature, FeatureSet +from quantiprot.metrics.aaindex import get_aa2hydropathy +from quantiprot.metrics.basic import identity +from quantiprot.metrics.ngram import pattern_match, pattern_count +from quantiprot.analysis.ngram import ngram_count +from quantiprot.analysis.ngram import zipf_law_fit +from matplotlib import pyplot as plt + + +def Run_ngrams(fasta1, fasta2, OutFile ): + + alphasyn_seq = load_fasta_file(fasta1) + amyload_pos_seq = load_fasta_file(fasta2) + + fs_aa = FeatureSet("aa patterns") + fs_aa.add(identity) + fs_aa.add(pattern_match, pattern='VT', padded=True) + fs_aa.add(pattern_count, pattern='VT') + + result_seq = fs_aa(alphasyn_seq) + + fs_hp = FeatureSet("hydropathy patterns") + fs_hp.add(Feature(get_aa2hydropathy())) + fs_hp.add(Feature(get_aa2hydropathy()).then(pattern_match, pattern=[0.0, 2.0], + metric='taxi', radius=1.0)) + result_seq2 = fs_hp(alphasyn_seq) + result_freq = ngram_count(alphasyn_seq, n=2) + result_fit = zipf_law_fit(amyload_pos_seq, n=3, verbose=True) + + counts = sorted(result_fit["ngram_counts"], reverse=True) + ranks = range(1, len(counts)+1) + + slope = result_fit["slope"] + harmonic_num = sum([rank**-slope for rank in ranks]) + fitted_counts = [(rank**-slope) / harmonic_num * sum(counts) for rank in ranks] + + plt.plot(ranks, counts, 'k', label="empirical") + plt.plot(ranks, fitted_counts, 'k--', + label="Zipf's law\nslope: {:.2f}".format((slope))) + plt.xlabel('rank') + plt.ylabel('count') + plt.xscale('log') + plt.yscale('log') + plt.legend() + + plt.savefig(OutFile) + +if __name__=="__main__": + + + import argparse + + parser = argparse.ArgumentParser() + + parser.add_argument("-f1", "--Fasta1", + required=True, + default=None, + help="First fasta file") + + parser.add_argument("-f2", "--Fasta2", + required=True, + default=None, + help="Second fasta file") + + + parser.add_argument("--OutFile", + required=True, + help="HTML out file", + default="report.html") + + + args = parser.parse_args() + + Run_ngrams(args.Fasta1, args.Fasta2, args.OutFile) + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Ngrams/test-data/out.png |
b |
Binary file PDAUG_Peptide_Ngrams/test-data/out.png has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Ngrams/test-data/test1.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Ngrams/test-data/test1.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLFDIIKKIAESI +>ACP4 +GLLDIVKKVVGAFGSL +>ACP6 +GLFDIVKKVVGALGSL +>ACP8 +GLFDIVKKVVGTLAGL +>ACP10 +GLFDIAKKVIGVIGSL +>ACP12 +GLFDIVKKIAGHIAGSI +>ACP14 +GLFDIVKKIAGHIVSSI +>ACP16 +AACARFIDDFCDTLTPNIYRPRDNGQRCYAVNGHRCDFTVFNTNNGGNPIRASTPNCKTVLRTAANRCPTGGRGKINPNAPFLFAIDPNDGDCSTNF +>ACP18 +HGVSGHGQHGVHG +>ACP20 +FKCRRWQWRMKKLGAPSITCVRRAF +>ACP22 +KWKLFKKIKFLHSAKKF +>ACP24 +KSSAYSLQMGATAIKQVKKLFKKWGW +>ACP26 +GIGTKILGGVKTALKGALKELASTYAN +>ACP28 +GIGGKILSGLKTALKGAAKELASTYLH +>ACP30 +GIGGVLLSAGKAALKGLAKVLAEKYAN +>ACP32 +SIGAKILGGVKTFFKGALKELASTYLQ +>ACP34 +FLPLLAGLAANFLPTIICKISYKC +>ACP36 +FVQWFSKFLGRIL +>ACP38 +KWKIFKKIEKVGRNIRNGIIKAGPAVAVLGEAKAL +>ACP40 +GWLKKIGKKIERVGQHTRDATIQTIGVAQQAANVAATLK +>ACP42 +KWKLFKKIEKVGQNIRDGIIKAGPAVAVVGQATQIAK +>ACP44 +SQLGDLGSGAGQGGGGGGSIRAAGGAFGKLEAAREEEFFYKKQKEQLERLKNDQIHQAEFHHQQIKEHEEAIQRHKDFLNNLHK +>ACP46 +GIGKFLHSAKKFGKAFVGE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VGHF +>ACP112 +GLLGLLGSVVSHVLPAITQHL +>ACP114 +GIKCRFCCGCCTPGICGVCCRF +>ACP116 +QSHLSLCRWCCNCCRSNKGC +>ACP118 +ILGPVISTIGGVLGGLLKNL +>ACP120 +FLPILASLAAKFGPKLFCLVTKKC +>ACP122 +GLWSKIKEAAKAAGKAALNAVTGLVNQGDQPS +>ACP124 +LLGMIPLAISAISALSKL +>ACP126 +GLPVCGETCVGGTCNTPGCSCSWPVCTRN +>ACP128 +GVPICGETCTLGTCYTAGCSCSWPVCTRN +>ACP130 +GIPCGESCVWIPCISSAIGCSCKSKVCYRN +>ACP132 +GIPCAESCVWIPCTVTALIGCGCSNKVCYN +>ACP134 +GTFPCGESCVFIPCLTSAIGCSCKSKVCYKN +>ACP136 +GLLPCAESCVYIPCLTTVIGCSCKSKVCYKN +>ACP138 +GRDYRTCLTIVQKLKKMVDKPTQRSVSNAATRVCRTGRSRWRDVCRNFMRRYQSRVTQGLVAGETAQQICEDLRLCIPSTGPL +>ACP140 +GETDPNTQLLNDLGNNMAWGAALGAPGGLGSAALGAAGGALQTVGQGLIDHGPVNVFIPVLIGPSWNGSGSGYNSATSSSGSGS +>ACP142 +GFKDLLKGAAKALVKTVLF +>ACP144 +KSCCPNTTGRNIYNACRLTGAPRPTCAKLSGCKIISGSTCPSDYPK +>ACP146 +KSCCPNTTGRNIYNTCRFGGGSREVCARISGCKIISASTCPSDYPK +>ACP148 +KSCCPNTTGRNIYNTCRLTGSSRETCAKLSGCKIISASTCPSNYPK +>ACP150 +MRKEFHNVLSSGQLLADKRPARDYNRK +>ACP152 +KSCCKNTTGRNIYNTCRFAGGSRERCAKLSGCKIISASTCPSDYPK +>ACP154 +FIFHIIKGLFHAGKMIHGLVTRRRH +>ACP156 +FLPAIVGAAAKFLPKIFCAISKKC +>ACP158 +FLPIIAGVAAKVLPKIFCAISKKC +>ACP160 +FLPIIAGIAAKFLPKIFCTISKKC +>ACP162 +FLPVIAGVAANFLPKLFCAISKKC +>ACP164 +FLPIIAGAAAKVVQKIFCAISKKC +>ACP166 +GLMDTIKGVAKTVAASWLDKLKCKITGC +>ACP168 +VNWKKVLGKIIKVAK +>ACP170 +VNWKKILGKIIKVAK +>ACP172 +FFSLLPSLIGGLVSAIK +>ACP174 +RFRLPFRRPPIRIHPPPFYPPFRRFL +>ACP176 +KWKLFKKIPKFLHLAKKF +>ACP178 +YKQCHKKGGHCFPKEKICLPPSSDFGKMDCRWRWKCCKKGSG +>ACP180 +GIPCGESCVFIPCITGAIGCSCKSKVCYRN +>ACP182 +GEFLKCGESCVQGECYTPGCSCDWPICKKN +>ACP184 +GLPTCGETCTLGTCYVPDCSCSWPICMKN +>ACP186 +GLPVCGETCFGGTCNTPGCTCDPWPVCTRN +>ACP188 +FVDLKKIANIINSIFGK +>ACP190 +GSIPCGESCVFIPCISSVIGCACKSKVCYKN +>ACP192 +GIPCGESCVFIPCISSVIGCSCSSKVCYRN +>ACP194 +GSIPCGESCVFIPCISAVIGCSCSNKVCYKN +>ACP196 +GSIPCEGSCVFIPCISAIIGCSCSNKVCYKN +>ACP198 +GIPCGESCVFIPCLTSAIDCSCKSKVCYRN +>ACP200 +GMWSKILGHLIR +>ACP202 +GKWMSLLKHILK +>ACP204 +GFGMALKLLKKVL +>ACP206 +GTGLPMSERRKIMLMMR +>ACP208 +GIACGESCVFLGCFIPGCSCKSKVCYFN +>ACP210 +GVIPCGESCVFIPCISSVLGCSCKNKVCYRD +>ACP212 +KLCGETCFKFKCYTPGCSCSYPFCK +>ACP214 +GDACGETCFTGICFTAGCSCNPWPTCTRN +>ACP216 +GIPCAESCVWIPPCTITALMGCSCKNNVCYNN +>ACP218 +IPCGESCVWIPCITAIAGCSCKNKVCYT +>ACP220 +AIPCGESCVWIPCISTVIGCSCSNKVCYR +>ACP222 +GEYCGESCYLIPCFTPGCYCVSRQCVNKN +>ACP224 +IPCGESCVWIPCISGMFGCSCKDKVCYS +>ACP226 +FLGWLFKWASK +>ACP228 +FLKWLFKWAKK +>ACP230 +KWKSFLKTFKSAKKTVLHTALKAISS +>ACP232 +KWKSFLKTFKSLKKTVLHTLLKAISS +>ACP234 +MPFLFCNVNDVCNFASRNDYSCNYYSNSYSFWLASLNPER +>ACP236 +KWKLFKKIGAVLKVL +>ACP238 +GACFSIAHECGA +>ACP240 +TCCATGACGTTCCTGACGTT +>ACP242 +KRFKQDGGASHASPASS +>ACP244 +KRAKAAGGWSHWSPWSSC +>ACP246 +LLGDFFRKSKEKIGKEFKRIVQRIKDFLRNLVPRTES +>ACP248 +FLGALFKVASKVLPSVKCAITKKC +>ACP250 +GIGKFLKKAKKFGKAFVKILKK +>ACP252 +GIGKFLKKAKKGIGAVLKVLTTGL +>ACP254 +VECYGPNRPQF +>ACP256 +KRFKQDGGWSHWSPWSSC +>ACP258 +RQVFQVAYIIIKA +>ACP260 +KAFDITYVRLKF +>ACP262 +DFKLFAVTIKYR +>ACP264 +DFKLFAVYIKYR +>ACP266 +WHSDMEWWYLLG +>ACP268 +HTMYYHHYQHHL +>ACP270 +RLVSYNGIIFFLK +>ACP272 +GRENYHGCTTHWGFTLC +>ACP274 +ASSSYPLIHWRPWAR |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Ngrams/test-data/test2.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Ngrams/test-data/test2.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>non-ACP0 +MTISLIWGIAMVVCCCIWVIFDRRRRKAGEPPL +>non-ACP2 +MFATPLRQPTNASGARPAVSMDGQETPFQYEITD +>non-ACP4 +LLWRKVAGATVGPGPVPA +>non-ACP6 +DSPDPMNGASSNALIAKMNSAKLLYQHY +>non-ACP8 +NNQEVIDAISQAISQTPGCVL +>non-ACP10 +KKVVEKNADPETTLLVYLRRKLGLCGTKLGCGEG +>non-ACP12 +CSRLLPSLAQEEG +>non-ACP14 +KNDFAALQAKLDADAAEIEKWWSDSR +>non-ACP16 +VDREQLVQKARLAEQAERYDD +>non-ACP18 +RPLRRVVLFYQGKLCSMAGNFWQSSHYLQW +>non-ACP20 +GAAGERKLCLLSLLLIGA +>non-ACP22 +MFRKLLKMWILLRPTHWLILIALCAVTCAGYWLLWSE +>non-ACP24 +HLRGPADSGWMPQAAPCLSGAPQAS +>non-ACP26 +NNPNNSNSHLRPHAYNNSRRDDSD +>non-ACP28 +VVILASLSVMFLVSLWQQKIRERLPPGPTPLPFIGNY +>non-ACP30 +ICLSCLISFFLWNQNRAKGKLPPG +>non-ACP32 +VVMNSLRVILQAS +>non-ACP34 +ARPRLDLQLVQRFVRIQKVF +>non-ACP36 +MLAKGLSLRSVLAKGCQPFLSPTWQSSVLATGGGANIS +>non-ACP38 +AAGLPGAALPLRKRPLRAPSPEPAAPRGAAGLVV +>non-ACP40 +PPMPSAPPVHPPP +>non-ACP42 +SCPIDKRRPLIAFLRRLRD +>non-ACP44 +RLGLWASGLILILGFLKLLRLLLRRQRLARAMD +>non-ACP46 +FSPQRDRFQAEGS +>non-ACP48 +GTLWALVFLGILVGMVVPSPAGTRANNTLLDSRG +>non-ACP50 +MNRLLQKGTSLVPSWRTR +>non-ACP52 +MTTSLIWGIAIAACCCLWLILGIRRRQT +>non-ACP54 +ATLANGMSLQPPLEEVS +>non-ACP56 +PLTATNSGLAVNN +>non-ACP58 +VRACHKVCRCLLSGFGGRVDAGQPELLTER +>non-ACP60 +TAGILLLLLLGTLEGS +>non-ACP62 +MEPSILLLLALLVGFLLLLVRGH +>non-ACP64 +MKNCFQLLCNLKVPAAGFKNTVKS +>non-ACP66 +SVIHTQAHASGLQQVPQLVPAGPGGGGKAVAPSKQSK +>non-ACP68 +KPLGLLKPSSLMKVSGRFKAHQDA +>non-ACP70 +ARTLNNKLSLSKPKFSGFT +>non-ACP72 +LLLVIIWTLFGPSGLGEELLSLSLASLLPAPASPGPP +>non-ACP74 +WPGILVGGARVASCRYPALGPRLA +>non-ACP76 +RSVKGLVALITGGASGL +>non-ACP78 +AAAALRARILQVSSKVN +>non-ACP80 +TGCCIAGRLANLDDQNLTVAL +>non-ACP82 +GSILGFLQIATVLTVLLLLLK +>non-ACP84 +AARQIGSCLMRCRTLDTTSP +>non-ACP86 +WGCRGRRWAFARVDGGSCHRRGAPTGSTSNQIR +>non-ACP88 +YAKPGAVRSPAQILQWQVLPNTVPAKS +>non-ACP90 +RMAGPWLSLHEARLLGTRGAAAPKAV +>non-ACP92 +SISNRAAVPEHGVAPDAERL +>non-ACP94 +PNFSMETWLLLV +>non-ACP96 +PRPPSKTYRGAFQN +>non-ACP98 +SVLVKGCQPFLSAPRECPGHPRVGT +>non-ACP100 +LVTPPKALLKPLSIPNQ +>non-ACP102 +KMQGSRMDEQRCS +>non-ACP104 +VIADDLPPTCIRP +>non-ACP106 +LPGGLRVLVQTGH +>non-ACP108 +GWIWRWGWGRRCLGRPGLPGPGPGPATPLFLLLL +>non-ACP110 +RGIRGSSAARPSGRRRDPAGRTTETGFNIFTQHD +>non-ACP112 +QQEKEFLESYPQNCPPDALPGTPGNLD +>non-ACP114 +APARRVLQVKRVMQESSLSPAHL +>non-ACP116 +KVAPGGPTGYPGNLTAEQEQKLGELKMILL +>non-ACP118 +FLASYPQKCPAGSLPGTPGNTDE +>non-ACP120 +MDAKARNCLLQHREALEKDIKTSY +>non-ACP122 +ASRQLLVAPPEAL +>non-ACP124 +MISNGIGTVTTGKRSMCLFPLLLIGLWGC +>non-ACP126 +MTLRNFGMGKRSIEDRVQEEARCLVEELRKTNASPC +>non-ACP128 +AVFGLGGVGLSVIMGCKAAGASRIIAVDIN +>non-ACP130 +PNAKQSILQKNPDDVVIVAAYRTA +>non-ACP132 +AMELLLTATIFYLVLWVVKAFRLQVPKGLKSPPGP +>non-ACP134 +LLAAGFCPAVLCH +>non-ACP136 +AASVNDEQHQRIIKYGRALVLDIVEQ +>non-ACP138 +IARLREDGIQKRVIQEGRGELPDFQDG +>non-ACP140 +FIVVMNILALTLPFLAAEVQN +>non-ACP142 +CQNGRRANRTVRFARTA +>non-ACP144 +WVTVRSQQRGLFPAI +>non-ACP146 +LLRSCPLQGSPGRPRSV +>non-ACP148 +LNDGHFMPVLGFGTYAPPEVPRNRAVEV +>non-ACP150 +HLGRPSAPTIVAQPVSGLASPASFQPEQFQYTLDNNVLT +>non-ACP152 +RPEPGGCCCRRTVRANGC +>non-ACP154 +SWVEENRASFQPPVCNKLMHR +>non-ACP156 +VFHRVRWAPELGASLG +>non-ACP158 +RAKVLTLDGMNPRVRRVEYAVRGPIVQRALELEQELRQ +>non-ACP160 +LLQRARLAEQAERYDDMASAMKAVTELNEPLS +>non-ACP162 +ALIQKLNSDPQFVLAQNVGTTHDLLDICLKRATVQRA +>non-ACP164 +AALPMLWTGLVLLGLLGFPQTPAQGHDTVQPNFQQ +>non-ACP166 +QRRQNDSSVFLAIMVAAAVES +>non-ACP168 +CNAPGCGQRFTNEDHLAVHKHKHEMTLKFGPARTDS +>non-ACP170 +LVLLTVQNSALILTLNYSRIMPGYD +>non-ACP172 +TVLSPPQRFKRILQAMMLAVAVV +>non-ACP174 +ISRGLLLLAALCCLAPSFL +>non-ACP176 +VAGTESAQGPPGPAASLELWLNKATDPS +>non-ACP178 +QYLRIRTVQPEPDYGAAV +>non-ACP180 +ASPTQTPPTTSTIRVARRSRVALVAM +>non-ACP182 +TIWRNQHTYKMATSASANLSKIVKKNYMELPQDGKVQ +>non-ACP184 +LSITRGLLLLAALCCLAPIS +>non-ACP186 +ILLSIWRQSSGRGKLPPGPIPLPIIGNIFQ +>non-ACP188 +LLLLSWVALGPRSLEGADPGTPGEAEGPACP +>non-ACP190 +LRVKRAMQEASFMPPLLPPAAHQRFSTVPAVP +>non-ACP192 +GLLLLAGLCCLVFGIMAEDAQVAQGPSQQI +>non-ACP194 +RHVGLLCATGPQRWRF +>non-ACP196 +AAVALARPKPPLRHQEHLQNEPDS +>non-ACP198 +SRVNDQSQASRNGLKGKVLTLDTMNPCV +>non-ACP200 +AAALGPGVLQATRAFHTGQPRLAPLPPLPEYGGK +>non-ACP202 +LCTSGLWTAQASTNESSNSHRGLAPTNV +>non-ACP204 +PAIQPVLSGLSRIVNGEEA +>non-ACP206 +GCQASLSTAQERLGHPGVPTREGVR +>non-ACP208 +RKVLILTLVVAACGFVLWSSNGR +>non-ACP210 +GRVRSRCPGPALLLLLALAARPALAGPPAAALQ +>non-ACP212 +CRITKPALLVLNQETAKVVQT +>non-ACP214 +KAEVCMAVPWLSLQ +>non-ACP216 +SHLELNNGTKMPTLGLGT +>non-ACP218 +LLLPEAAAERDAREKLALWDRRPDTTAPL +>non-ACP220 +LLALSLVLLYRYATYSHGFFKKLGIPGPKPLPLFGNVLS +>non-ACP222 +LLSLWRQSSGRGKLPPGPTPLPVIGNILQIGIKD +>non-ACP224 +AFKSMEVANFYYEADCLAAAYGGKAAPAAPPADRPGPR +>non-ACP226 +SLFWAARPLQRCGQLVRMAIRAQH +>non-ACP228 +MRPPRTLTSTATMSALSTSMPMEIDDVMDEDAVNGQA +>non-ACP230 +LLSLIGFCWAQYDP +>non-ACP232 +LWARSKNDQLRISFPPGLCWG +>non-ACP234 +PQGFDVDRDAKKLNKACKGMGTNEAAIIEILSG +>non-ACP236 +IFCLILWVVKAWQPRLPKGLKSPPGPWGWPLLG +>non-ACP238 +LDAASPGPLALLGLLFAATLLLSALFLL +>non-ACP240 +VTLLFKLYCLA +>non-ACP242 +ATRAAAARLVGTAASRTPAAARH +>non-ACP244 +RNKLDLETLTDILEHQIR +>non-ACP246 +RRLVLQARTYAQAAASPAPAAGPGQMSFTFASPTQVFF +>non-ACP248 +PGRSRSAADDINPAPANM +>non-ACP250 +LLSALTLETWVLLAVILVLLYRLG +>non-ACP252 +VMGHGLCPQGARAKAAIPAALRDHEST +>non-ACP254 +FLVSIAGLLYALVQLGQPCDCLPPLRAAA +>non-ACP256 +VRSVRAAVGGLRAISAPSAPCLPRPWGLRAG +>non-ACP258 +RGGCWPRGLQQLLVPGG +>non-ACP260 +APATPPRPLKRKKLQFTDVTPESSP +>non-ACP262 +EQAERYDDMAAAMKAVTEQGHELSNEERNL +>non-ACP264 +MPNDPSDNQLK +>non-ACP266 +TELLLAITVFCLGFWVVRALRTQVP +>non-ACP268 +LTADLLGAPFFTLPKELQLALLERQTVFL +>non-ACP270 +GHGRLVEIQGRLGVRIER +>non-ACP272 +LPFKLLLFVLLDGWTRLTH +>non-ACP274 +QALWLVLVLSMPPVLVAAVVGTLVSLVQ |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Sequence_Analysis/PDAUG_Peptide_Sequence_Analysis.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Sequence_Analysis/PDAUG_Peptide_Sequence_Analysis.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,231 @@\n+import modlamp\n+from modlamp.analysis import *\n+\n+from plotly.subplots import make_subplots\n+import plotly.graph_objects as go\n+from modlamp.analysis import GlobalAnalysis\n+from modlamp.analysis import *\n+\n+import pandas as pd\n+import os, sys\n+import argparse\n+\n+parser = argparse.ArgumentParser(description=\'Deployment tool\')\n+subparsers = parser.add_subparsers()\n+\n+CalcAAFreq = subparsers.add_parser(\'CalcAAFreq\')\n+CalcAAFreq.add_argument("-I","--InFile", required=True, default=None, help="")\n+CalcAAFreq.add_argument("-T","--PlotFile", required=False, default=\'out.pdf\', help="out.pdf")\n+CalcAAFreq.add_argument("--OutFile", required=False, default=\'Out.tsv\', help="Out.tsv")\n+\n+H = subparsers.add_parser(\'H\')\n+H.add_argument("-I","--InFile", required=True, default=None, help="")\n+H.add_argument("-S","--Scale", required=False, default=\'eisenberg\', help="hydrophobicity scale to use. For available scales, see modlamp.descriptors.PeptideDescriptor.")\n+H.add_argument("--OutFile", required=False, default=\'Out.tsv\', help="Out.tsv")\n+\n+uH = subparsers.add_parser(\'uH\')\n+uH.add_argument("-I","--InFile", required=True, default=None, help="")\n+uH.add_argument("-S","--Scale", required=False, default=\'eisenberg\', help="hydrophobicity scale to use. For available scales, see modlamp.descriptors.PeptideDescriptor.")\n+uH.add_argument("-W", "--Window", required=False, default=1000, help="")\n+uH.add_argument("-A", "--Angle", required=False, default=100, help="")\n+uH.add_argument("-M", "--Modality", required=False, default=\'max\', help="")\n+uH.add_argument("--OutFile", required=False, default=\'Out.tsv\', help="Out.tsv")\n+\n+charge = subparsers.add_parser(\'charge\')\n+charge.add_argument("-I","--InFile", required=True, default=None, help="")\n+charge.add_argument("-p", "--ph", required=False, default=7.0, help="")\n+charge.add_argument("-A", "--Amide", required=False, default=True, help="")\n+charge.add_argument("--OutFile", required=False, default=\'Out.tsv\', help="Out.tsv")\n+\n+Len = subparsers.add_parser(\'Len\')\n+Len.add_argument("-I","--InFile", required=True, default=None, help="")\n+Len.add_argument("--OutFile", required=False, default=\'Out.tsv\', help="Out.tsv")\n+\n+PlotSaummary = subparsers.add_parser(\'PlotSummary\')\n+PlotSaummary.add_argument("-I1","--InFile1", required=True, default=None, help="")\n+PlotSaummary.add_argument("-I2", "--InFile2", required=True, default=None, help="Out.tsv")\n+PlotSaummary.add_argument("--PlotFile", required=False, default=\'Out.pdf\', help="out.pdf")\n+PlotSaummary.add_argument("--htmlFname", required="False", default=\'report.html\', help="Output file")\n+PlotSaummary.add_argument("-O","--htmlOutDir", required=False, default=os.path.join(os.getcwd(),\'report_dir\'), help="HTML Out Dir")\n+PlotSaummary.add_argument("-Wp","--Workdirpath", required=False, default=os.getcwd(), help="Working Directory Path")\n+PlotSaummary.add_argument("-fn", "--First_lib_name", required=True, help="Name of the fist peptide data")\n+PlotSaummary.add_argument("-sn", "--Second_lib_name", required=True, help="Name of the second peptide data")\n+\n+\n+args = parser.parse_args()\n+\n+\n+\n+def SummaryPlot(Lib_1, Lib_2, First_lib_name, Second_lib_Name, Workdirpath, htmlOutDir, htmlFname):\n+\n+ if not os.path.exists(htmlOutDir):\n+ os.makedirs(htmlOutDir)\n+\n+\n+ AA = [\'A\',\'C\',\'D\',\'E\',\'F\',\'G\',\'H\',\'I\',\'K\',\'L\',\'M\',\'N\',\'P\',\'Q\',\'R\',\'S\',\'T\',\'V\',\'W\',\'Y\']\n+\n+ Pep1, Index1 = ReturnPeptide(Lib_1)\n+ Pep2, Index2 = ReturnPeptide(Lib_2)\n+\n+ fig = make_subplots(\n+ rows=2, cols=3,\n+ specs=[[{"type": "xy"}, {"type": "histogram"}, {"type": "box"} ],[{"type": "violin"}, {"type": "violin"}, {"type": "scatter3d"} ]],\n+ subplot_titles=(" Amino Acid Fraction", "Global Charge", "Length Distribution", "Global Hydrophobicity", "Global Hydrophobic Movement", "Scatter Plot"))\n+\n+\n+ #########################################\n+ g = GlobalAnalysis([Pep1, Pep2])\n+ df = g.calc_aa_freq(plot=False)\n+\n+ data1 = g.aafreq[0]\n+ data2 = '..b'ace(go.Violin(y=h2,box_visible=True, name=Second_lib_Name, marker_color=\'#FF7F0E\', meanline_visible=True), row=2, col=1)\n+ #################################################################\n+\n+ #####################################\n+ uH = GlobalAnalysis([Pep1, Pep2])\n+ uH.calc_uH()\n+\n+ uh1 = uH.uH[0]\n+ uh2 = uH.uH[1]\n+\n+ fig.add_trace(go.Violin( y=uh1,box_visible=True, name =First_lib_name, marker_color=\'#1F77B4\', meanline_visible=True), row=2, col=2)\n+ fig.add_trace(go.Violin(y=uh2,box_visible=True, name=Second_lib_Name, marker_color=\'#FF7F0E\', meanline_visible=True), row=2, col=2)\n+ #######################################\n+\n+\n+ ############################################\n+ fig.add_trace(go.Scatter3d(x=h1, y=uh1, z=charge1, marker_color=\'#1F77B4\', mode=\'markers\', name=First_lib_name, marker_size=3.0),row=2, col=3)\n+ fig.add_trace(go.Scatter3d(x=h2, y=uh2, z=charge2, marker_color=\'#FF7F0E\', mode=\'markers\', name=Second_lib_Name, marker_size=3.0), row=2, col=3)\n+ fig.update_layout(scene = dict(xaxis_title=\'Hydrophobicity\', yaxis_title=\'Hydrophobic Movement\', zaxis_title=\'Charge\'),uniformtext_minsize=4, font=dict(\n+ family="Times New Roman",\n+ size=12,\n+ color="black"))\n+ ###########################################\n+\n+ fig.update_xaxes(title_text="Amino Acid", row=1, col=1)\n+ fig.update_xaxes(title_text="Global Charge", row=1, col=2)\n+ fig.update_xaxes(title_text="Peptide dataset", showgrid=False, row=1, col=3)\n+ fig.update_xaxes(title_text="Peptide dataset", row=2, col=1)\n+ fig.update_xaxes(title_text="Peptide dataset", row=2, col=2)\n+\n+ fig.update_yaxes(title_text="Fraction", row=1, col=1)\n+ fig.update_yaxes(title_text="Fraction", row=1, col=2)\n+ fig.update_yaxes(title_text="Length", row=1, col=3)\n+ fig.update_yaxes(title_text="Global hydrophobicity", row=2, col=1)\n+ fig.update_yaxes(title_text="Global hydrophobic Movement", row=2, col=2)\n+ fig.write_html(os.path.join(Workdirpath, htmlOutDir, htmlFname))\n+ #fig.show()\n+\n+def ReturnPeptide(Infile):\n+\n+ file = open(Infile)\n+ lines = file.readlines()\n+\n+ Index = []\n+ Pep = []\n+\n+ for line in lines:\n+ if \'>\' in line:\n+ line = line.strip(\'\\n\')\n+ line = line.strip(\'\\r\')\n+ Index.append(line.strip(\'\\n\'))\n+ else:\n+ line = line.strip(\'\\n\')\n+ line = line.strip(\'\\r\')\n+ Pep.append(line)\n+ return Pep, Index\n+\n+if sys.argv[1] == \'CalcAAFreq\':\n+\n+ Pep, Index = ReturnPeptide(args.InFile)\n+ g = GlobalAnalysis(Pep)\n+ g.calc_aa_freq(plot=False, color=\'#83AF9B\')\n+ df1 = pd.DataFrame(g.aafreq[0], columns=[\'aa_freq\'])\n+ df1.to_csv(args.OutFile, sep=\'\\t\', index=None)\n+\n+elif sys.argv[1] == \'H\':\n+\n+ Pep, _ = ReturnPeptide(args.InFile)\n+ g = GlobalAnalysis(Pep)\n+ g.calc_H(args.Scale)\n+ df1 = pd.DataFrame(g.H[0].T, columns=[\'H\'])\n+ df1.to_csv(args.OutFile, sep=\'\\t\', index=None)\n+\n+elif sys.argv[1] == \'uH\':\n+\n+ Pep, _ = ReturnPeptide(args.InFile)\n+\n+ g = GlobalAnalysis(Pep)\n+ g.calc_uH(int(args.Window), int(args.Angle), args.Modality)\n+ df1 = pd.DataFrame(g.uH[0].T, columns=[\'uH\'])\n+ df1.to_csv(args.OutFile, sep=\'\\t\', index=None)\n+ \n+elif sys.argv[1] == \'charge\':\n+\n+ Pep, _ = ReturnPeptide(args.InFile)\n+\n+ g = GlobalAnalysis(Pep)\n+\n+ if args.Amide == \'true\':\n+ amide = True\n+ else:\n+ amide = False\n+\n+ g.calc_charge(float(args.ph), amide)\n+ df1 = pd.DataFrame(g.charge[0].T, columns=[\'charge\'])\n+ df1.to_csv(args.OutFile, sep=\'\\t\', index=None)\n+\n+elif sys.argv[1] == \'Len\':\n+\n+ Pep, _ = ReturnPeptide(args.InFile)\n+ df1 = pd.DataFrame([len(x) for x in Pep], columns=[\'c\'])\n+ df1.to_csv( args.OutFile, sep=\'\\t\', index=None)\n+\n+elif sys.argv[1] == "PlotSummary":\n+\n+ SummaryPlot(args.InFile1, args.InFile2, args.First_lib_name, args.Second_lib_name, args.Workdirpath, args.htmlOutDir, args.htmlFname)\n+\n+\n+\n+\n+\n+\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Sequence_Analysis/test-data/ACPs.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Sequence_Analysis/test-data/ACPs.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>ACP_1 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP_2 +GLFDIIKKIAESI +>ACP_3 +GLLDIVKKVVGAFGSL +>ACP_4 +GLFDIVKKVVGALGSL +>ACP_5 +GLFDIVKKVVGTLAGL +>ACP_6 +GLFDIAKKVIGVIGSL +>ACP_7 +GLFDIVKKIAGHIAGSI +>ACP_8 +GLFDIVKKIAGHIVSSI +>ACP_9 +AACARFIDDFCDTLTPNIYRPRDNGQRCYAVNGHRCDFTVFNTNNGGN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CGETCFGGTCNTPGCTCDPWPVCTRN +>ACP_95 +FVDLKKIANIINSIFGK +>ACP_96 +GSIPCGESCVFIPCISSVIGCACKSKVCYKN +>ACP_97 +GIPCGESCVFIPCISSVIGCSCSSKVCYRN +>ACP_98 +GSIPCGESCVFIPCISAVIGCSCSNKVCYKN +>ACP_99 +GSIPCEGSCVFIPCISAIIGCSCSNKVCYKN +>ACP_100 +GIPCGESCVFIPCLTSAIDCSCKSKVCYRN +>ACP_101 +GMWSKILGHLIR +>ACP_102 +GKWMSLLKHILK +>ACP_103 +GFGMALKLLKKVL +>ACP_104 +GTGLPMSERRKIMLMMR +>ACP_105 +GIACGESCVFLGCFIPGCSCKSKVCYFN +>ACP_106 +GVIPCGESCVFIPCISSVLGCSCKNKVCYRD +>ACP_107 +KLCGETCFKFKCYTPGCSCSYPFCK +>ACP_108 +GDACGETCFTGICFTAGCSCNPWPTCTRN +>ACP_109 +GIPCAESCVWIPPCTITALMGCSCKNNVCYNN +>ACP_110 +IPCGESCVWIPCITAIAGCSCKNKVCYT +>ACP_111 +AIPCGESCVWIPCISTVIGCSCSNKVCYR +>ACP_112 +GEYCGESCYLIPCFTPGCYCVSRQCVNKN +>ACP_113 +IPCGESCVWIPCISGMFGCSCKDKVCYS +>ACP_114 +FLGWLFKWASK +>ACP_115 +FLKWLFKWAKK +>ACP_116 +KWKSFLKTFKSAKKTVLHTALKAISS +>ACP_117 +KWKSFLKTFKSLKKTVLHTLLKAISS +>ACP_118 +MPFLFCNVNDVCNFASRNDYSCNYYSNSYSFWLASLNPER +>ACP_119 +KWKLFKKIGAVLKVL +>ACP_120 +GACFSIAHECGA +>ACP_121 +TCCATGACGTTCCTGACGTT +>ACP_122 +KRFKQDGGASHASPASS +>ACP_123 +KRAKAAGGWSHWSPWSSC +>ACP_124 +LLGDFFRKSKEKIGKEFKRIVQRIKDFLRNLVPRTES +>ACP_125 +FLGALFKVASKVLPSVKCAITKKC +>ACP_126 +GIGKFLKKAKKFGKAFVKILKK +>ACP_127 +GIGKFLKKAKKGIGAVLKVLTTGL +>ACP_128 +VECYGPNRPQF +>ACP_129 +KRFKQDGGWSHWSPWSSC +>ACP_130 +RQVFQVAYIIIKA +>ACP_131 +KAFDITYVRLKF +>ACP_132 +DFKLFAVTIKYR +>ACP_133 +DFKLFAVYIKYR +>ACP_134 +WHSDMEWWYLLG +>ACP_135 +HTMYYHHYQHHL +>ACP_136 +RLVSYNGIIFFLK +>ACP_137 +GRENYHGCTTHWGFTLC +>ACP_138 +ASSSYPLIHWRPWAR |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Sequence_Analysis/test-data/non_ACPs.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Sequence_Analysis/test-data/non_ACPs.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>non-ACP_1 +VIADDLPPTCIRP +>non-ACP_2 +MAEALLLRATFYLLIGSANAAKPD +>non-ACP_3 +LLSALTLETWVLLAVILVLLYRLG +>non-ACP_4 +MTTSLIWGIAIAACCCLWLILGIRRRQT +>non-ACP_5 +PQGFDVDRDAKKLNKACKGMGTNEAAIIEILSG +>non-ACP_6 +RHVGLLCATGPQRWRF +>non-ACP_7 +VGKSSKMLQHIDYRMRCILQDGRIFIGTFKA +>non-ACP_8 +LPGGLRVLVQTGH +>non-ACP_9 +RPKFALAQAQKCFALYRQAYTANNSSQVQAAMKGFEE +>non-ACP_10 +HLGRPSAPTIVAQPVSGLASPASFQPEQFQYTLDNNVLT +>non-ACP_11 +LHRAQDYRRELDTLQSLLTTSQSSELQAAAALLKC +>non-ACP_12 +AAVALARPKPPLRHQEHLQNEPDS +>non-ACP_13 +KAEVCMAVPWLSLQ +>non-ACP_14 +KMQGSRMDEQRCS +>non-ACP_15 +LVTPPKALLKPLSIPNQ +>non-ACP_16 +LCTSGLWTAQASTNESSNSHRGLAPTNV +>non-ACP_17 +AAALGPGVLQATRAFHTGQPRLAPLPPLPEYGGK +>non-ACP_18 +ALIQKLNSDPQFVLAQNVGTTHDLLDICLKRATVQRA +>non-ACP_19 +EWRDLKGRADINKDDVV +>non-ACP_20 +SWVEENRASFQPPVCNKLMHR +>non-ACP_21 +RRLVLQARTYAQAAASPAPAAGPGQMSFTFASPTQVFF +>non-ACP_22 +LVLLTVQNSALILTLNYSRIMPGYD +>non-ACP_23 +FYQNRAAAFEQLQKWKEVAQDCT +>non-ACP_24 +VFHRVRWAPELGASLG +>non-ACP_25 +MISNGIGTVTTGKRSMCLFPLLLIGLWGC +>non-ACP_26 +RPEPGGCCCRRTVRANGC +>non-ACP_27 +AASVNDEQHQRIIKYGRALVLDIVEQ +>non-ACP_28 +ASRQLLVAPPEAL +>non-ACP_29 +LKEERQRQKKEARIAAMASAEGQDSAEAQD +>non-ACP_30 +QTLVHNGGRLPPDLQLSAEDSSSTPS +>non-ACP_31 +RAKVLTLDGMNPRVRRVEYAVRGPIVQRALELEQELRQ +>non-ACP_32 +FLVSIAGLLYALVQLGQPCDCLPPLRAAA +>non-ACP_33 +AAGLPGAALPLRKRPLRAPSPEPAAPRGAAGLVV +>non-ACP_34 +RLGLWASGLILILGFLKLLRLLLRRQRLARAMD +>non-ACP_35 +RANALIKRGTMCMQQQQPMLSTQ +>non-ACP_36 +LLSLIGFCWAQYDP +>non-ACP_37 +MFATPLRQPTNASGARPAVSMDGQETPFQYEITD +>non-ACP_38 +NWLCLSRAQQLNGDLDKARHAYQ +>non-ACP_39 +MKNCFQLLCNLKVPAAGFKNTVKS +>non-ACP_40 +MNRLLQKGTSLVPSWRTR +>non-ACP_41 +GHGRLVEIQGRLGVRIER +>non-ACP_42 +YKELYYRLLTSPAADAGNTL +>non-ACP_43 +RNKLDLETLTDILEHQIR +>non-ACP_44 +WPGILVGGARVASCRYPALGPRLA +>non-ACP_45 +EPSTGLMLVEESRWVHLGRELLPATAP +>non-ACP_46 +VRACHKVCRCLLSGFGGRVDAGQPELLTER +>non-ACP_47 +LLLPEAAAERDAREKLALWDRRPDTTAPL +>non-ACP_48 +GNMEKAIDMFNKAINLAKSEMEMAHLYSLC +>non-ACP_49 +TIWRNQHTYKMATSASANLSKIVKKNYMELPQDGKVQ +>non-ACP_50 +NTNVTPHLLAGMRLIAVQQPEDPLRVL +>non-ACP_51 +MQESLRLQQQALEAR +>non-ACP_52 +TVLSPPQRFKRILQAMMLAVAVV +>non-ACP_53 +KKVVEKNADPETTLLVYLRRKLGLCGTKLGCGEG +>non-ACP_54 +FSPQRDRFQAEGS +>non-ACP_55 +TGCCIAGRLANLDDQNLTVAL +>non-ACP_56 +QALWLVLVLSMPPVLVAAVVGTLVSLVQ +>non-ACP_57 +ISRGLLLLAALCCLAPSFL +>non-ACP_58 +GSILGFLQIATVLTVLLLLLK +>non-ACP_59 +AAAALRARILQVSSKVN +>non-ACP_60 +KPLGLLKPSSLMKVSGRFKAHQDA +>non-ACP_61 +LLRSCPLQGSPGRPRSV +>non-ACP_62 +IARLREDGIQKRVIQEGRGELPDFQDG +>non-ACP_63 +CQNGRRANRTVRFARTA +>non-ACP_64 +MRPPRTLTSTATMSALSTSMPMEIDDVMDEDAVNGQA +>non-ACP_65 +GRVRSRCPGPALLLLLALAARPALAGPPAAALQ +>non-ACP_66 +TLDRDGTLVRLRFTMVALITVCCPLVAFFF +>non-ACP_67 +LFLTGCKVDLYTGISQKEGNEMLALL +>non-ACP_68 +QGKAGEVIVTGLRTEQLSLSDAKLLLEAAMR +>non-ACP_69 +LLALSLVLLYRYATYSHGFFKKLGIPGPKPLPLFGNVLS +>non-ACP_70 +VDREQLVQKARLAEQAERYDD +>non-ACP_71 +IACLLPRVSNLELKQGKAGEVIVTGLR +>non-ACP_72 +SHLELNNGTKMPTLGLGT +>non-ACP_73 +DSPDPMNGASSNALIAKMNSAKLLYQHY +>non-ACP_74 +TELLLAITVFCLGFWVVRALRTQVP +>non-ACP_75 +LLLVIIWTLFGPSGLGEELLSLSLASLLPAPASPGPP +>non-ACP_76 +LDAASPGPLALLGLLFAATLLLSALFLL +>non-ACP_77 +PAIQPVLSGLSRIVNGEEA +>non-ACP_78 +HLRGPADSGWMPQAAPCLSGAPQAS +>non-ACP_79 +RQQEFLLLNGWLQLQCGHAERACILLD +>non-ACP_80 +SVIHTQAHASGLQQVPQLVPAGPGGGGKAVAPSKQSK +>non-ACP_81 +ERFTSNQMFFDLAQASASGGLNNKKI +>non-ACP_82 +AARQIGSCLMRCRTLDTTSP +>non-ACP_83 +PNAKQSILQKNPDDVVIVAAYRTA +>non-ACP_84 +PGRSRSAADDINPAPANM +>non-ACP_85 +WVTVRSQQRGLFPAI +>non-ACP_86 +PNFSMETWLLLV +>non-ACP_87 +ENWRKQKRERWEKIQADKERRARLQAEAQE +>non-ACP_88 +PRPPSKTYRGAFQN +>non-ACP_89 +PTDSPLDRAIQHLQRLTIQELPDPPTDLPESNSNQ +>non-ACP_90 +VAGTTAVAGQVPIMGAVKFGGDVCAAG +>non-ACP_91 +AMELLLTATIFYLVLWVVKAFRLQVPKGLKSPPGP +>non-ACP_92 +GLLLLAGLCCLVFGIMAEDAQVAQGPSQQI +>non-ACP_93 +ARPRLDLQLVQRFVRIQKVF +>non-ACP_94 +TKGNDIADLDAVAQTLKKPADDANKAVN +>non-ACP_95 +LWARSKNDQLRISFPPGLCWG +>non-ACP_96 +YAKPGAVRSPAQILQWQVLPNTVPAKS +>non-ACP_97 +EAAMAAAAAPGSGNGVGGGGGTAG +>non-ACP_98 +AASVNPLAAVELQRLSAQER +>non-ACP_99 +ATRAAAARLVGTAASRTPAAARH +>non-ACP_100 +LNPDPCKPLAFI +>non-ACP_101 +LWRLCIGLHSAPRFLVAMAYLKYYQGTPC +>non-ACP_102 +LDRDGTLVRLRFTLVALVTVCCPLVAFLFCVL +>non-ACP_103 +VTLLFKLYCLA +>non-ACP_104 +LSITRGLLLLAALCCLAPIS +>non-ACP_105 +RKRLKEERQRQKKEARIAA +>non-ACP_106 +VVMNSLRVILQAS +>non-ACP_107 +PDPPADSPLDQTIQHLQGLTIQELPDPPTHLPE +>non-ACP_108 +QYLRIRTVQPEPDYGAAV +>non-ACP_109 +KHRTVLFRRWMAIICCLI +>non-ACP_110 +VSVDNPNDLMLMQWSLIRITIQEE +>non-ACP_111 +QQIQGGKELKDALAQL +>non-ACP_112 +RMAGPWLSLHEARLLGTRGAAAPKAV +>non-ACP_113 +PPMPSAPPVHPPP +>non-ACP_114 +LNDGHFMPVLGFGTYAPPEVPRNRAVEV +>non-ACP_115 +ARTLNNKLSLSKPKFSGFT +>non-ACP_116 +SVLVKGCQPFLSAPRECPGHPRVGT +>non-ACP_117 +APATPPRPLKRKKLQFTDVTPESSP +>non-ACP_118 +ASPTQTPPTTSTIRVARRSRVALVAM +>non-ACP_119 +RSVKGLVALITGGASGL +>non-ACP_120 +LTADLLGAPFFTLPKELQLALLERQTVFL +>non-ACP_121 +LLAAGFCPAVLCH +>non-ACP_122 +LGSGHHDGSGDSLEMSSLDRAQ +>non-ACP_123 +KNDFAALQAKLDADAAEIEKWWSDSR +>non-ACP_124 +HHKDSSIHHLRLSANDAEDSLRM +>non-ACP_125 +LRLIHFLHQTTDPYPQGPGTANQRRRR +>non-ACP_126 +WGCRGRRWAFARVDGGSCHRRGAPTGSTSNQIR +>non-ACP_127 +ELNPKYVKALFRRAKAHE +>non-ACP_128 +LTMMAPAVAQQTDDETFV +>non-ACP_129 +AKLRRKHDKAMDEYEAMNKKLTAQK +>non-ACP_130 +FLASYPQKCPAGSLPGTPGNTDE +>non-ACP_131 +APARRVLQVKRVMQESSLSPAHL +>non-ACP_132 +SLINQQITQVGHGGQAGRLTETNPLTENS +>non-ACP_133 +NATSSQDQFAKWARLNRKYEQLSQ +>non-ACP_134 +RPLRRVVLFYQGKLCSMAGNFWQSSHYLQW +>non-ACP_135 +LIWTIFILHIAIFLVNTIGAATIDNLLWLLYLKLP +>non-ACP_136 +GWVTTLGPGSRGYRAPPPPRRSRE +>non-ACP_137 +QRRQNDSSVFLAIMVAAAVES +>non-ACP_138 +QQEKEFLESYPQNCPPDALPGTPGNLD |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Sequence_Analysis/test-data/out1.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Sequence_Analysis/test-data/out1.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,139 @@ +H +0.1475757575757576 +0.3215384615384615 +0.44875 +0.44875 +0.45687500000000003 +0.48624999999999996 +0.4235294117647058 +0.4129411764705882 +-0.10278350515463919 +0.15153846153846157 +-0.296 +-0.14411764705882354 +-0.0019230769230769162 +0.20703703703703702 +0.2162962962962963 +0.28814814814814815 +0.24777777777777776 +0.4795833333333333 +0.35076923076923083 +0.03171428571428572 +-0.035128205128205144 +0.04405405405405406 +-0.1698809523809524 +0.17913043478260865 +0.11269230769230772 +0.28448275862068967 +0.07433333333333328 +-0.6266666666666666 +0.14071428571428576 +-0.43117647058823527 +-0.19765957446808508 +0.4856 +0.5168 +0.3433333333333333 +0.4583333333333333 +0.5745454545454545 +0.3282608695652174 +0.3733333333333333 +0.17192307692307696 +-0.3457142857142857 +0.1076 +0.4675 +0.4675 +-0.16962962962962963 +0.08749999999999998 +-0.3174358974358975 +0.4411111111111112 +-0.050120481927710826 +-0.025555555555555557 +0.24727272727272726 +-0.15142857142857138 +-0.066 +0.07142857142857142 +0.34882352941176475 +0.6842857142857143 +0.6666666666666666 +0.5438095238095239 +0.18681818181818183 +-0.231 +0.5955 +0.35541666666666666 +0.08687500000000001 +0.5977777777777777 +0.15000000000000002 +0.19517241379310335 +0.1663333333333333 +0.33566666666666667 +0.19225806451612903 +0.21999999999999997 +-0.2715662650602409 +0.28916666666666674 +0.2563157894736842 +-0.10543478260869568 +-0.12173913043478261 +-0.15695652173913047 +-0.43962962962962954 +-0.21695652173913044 +0.12199999999999997 +0.38833333333333336 +0.4166666666666667 +0.4054166666666666 +0.4258333333333333 +0.35625 +0.14285714285714288 +0.055333333333333366 +0.07533333333333335 +0.6094117647058823 +-0.21846153846153846 +-0.058333333333333334 +-0.2692857142857143 +0.20566666666666658 +0.00366666666666667 +0.1886206896551724 +0.13266666666666665 +0.24470588235294113 +0.2412903225806451 +0.23933333333333323 +0.264516129032258 +0.27419354838709675 +0.12766666666666668 +0.23583333333333334 +0.12916666666666668 +0.3400000000000001 +-0.16058823529411767 +0.33214285714285713 +0.19161290322580643 +0.0384 +0.12482758620689656 +0.2403125 +0.2882142857142857 +0.24965517241379304 +0.06206896551724138 +0.26321428571428573 +0.37636363636363634 +0.07636363636363636 +-0.034615384615384596 +0.0023076923076923396 +0.026500000000000013 +0.16733333333333336 +0.3899999999999999 +0.2585 +-0.24882352941176467 +-0.053333333333333316 +-0.29405405405405405 +0.23041666666666671 +-0.05090909090909091 +0.2141666666666667 +-0.11818181818181818 +-0.18722222222222226 +0.2615384615384615 +0.03583333333333333 +0.03583333333333331 +0.06166666666666661 +0.31583333333333335 +-0.031666666666666655 +0.3292307692307693 +0.02470588235294122 +-0.005333333333333309 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Sequence_Analysis/test-data/test1.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Sequence_Analysis/test-data/test1.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLFDIIKKIAESI +>ACP4 +GLLDIVKKVVGAFGSL +>ACP6 +GLFDIVKKVVGALGSL +>ACP8 +GLFDIVKKVVGTLAGL +>ACP10 +GLFDIAKKVIGVIGSL +>ACP12 +GLFDIVKKIAGHIAGSI +>ACP14 +GLFDIVKKIAGHIVSSI +>ACP16 +AACARFIDDFCDTLTPNIYRPRDNGQRCYAVNGHRCDFTVFNTNNGGNPIRASTPNCKTVLRTAANRCPTGGRGKINPNAPFLFAIDPNDGDCSTNF +>ACP18 +HGVSGHGQHGVHG +>ACP20 +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GWLIKGAIHAGKAIHGLIHRRRH +>ACP82 +GLFDVIKKVASVIGGL +>ACP84 +GLFDIIKKVASVVGGL +>ACP86 +GRFKRFRKKFKKLFKKLSPVIPLLHLG +>ACP88 +GGLRSLGRKILRAWKKYGPIIVPIIRIG +>ACP90 +RRRPRPPYLPRPRPPPFFPPRLPPRIPPGFPPRFPPRFP +>ACP92 +GLLGPLLKIAAKVGSNLL +>ACP94 +GLICESCRKIIQKLEDMVGPQPNEDTVTQAASQVCDKLKILRGLCKKIMRSFLRRISWDILTGKKPQAICVDIKICKEKTGLI +>ACP96 +DHYNCVSSGGQCLYSACPIFTKIQGTCYRGKAKCCK +>ACP98 +FFHHIFRGIVHVGKTIHRLVTG +>ACP100 +KLAKLAKKLAKLAK +>ACP102 +KTCENLADTFRGPCFATSNC +>ACP104 +IDWKKLLDAAKQIL +>ACP106 +FLIGMTQGLICLITRKC +>ACP108 +ILPILSLIGGLLGK +>ACP110 +GLLGLLGSVVSHVVPAIVGHF +>ACP112 +GLLGLLGSVVSHVLPAITQHL +>ACP114 +GIKCRFCCGCCTPGICGVCCRF +>ACP116 +QSHLSLCRWCCNCCRSNKGC +>ACP118 +ILGPVISTIGGVLGGLLKNL +>ACP120 +FLPILASLAAKFGPKLFCLVTKKC +>ACP122 +GLWSKIKEAAKAAGKAALNAVTGLVNQGDQPS +>ACP124 +LLGMIPLAISAISALSKL +>ACP126 +GLPVCGETCVGGTCNTPGCSCSWPVCTRN +>ACP128 +GVPICGETCTLGTCYTAGCSCSWPVCTRN +>ACP130 +GIPCGESCVWIPCISSAIGCSCKSKVCYRN +>ACP132 +GIPCAESCVWIPCTVTALIGCGCSNKVCYN +>ACP134 +GTFPCGESCVFIPCLTSAIGCSCKSKVCYKN +>ACP136 +GLLPCAESCVYIPCLTTVIGCSCKSKVCYKN +>ACP138 +GRDYRTCLTIVQKLKKMVDKPTQRSVSNAATRVCRTGRSRWRDVCRNFMRRYQSRVTQGLVAGETAQQICEDLRLCIPSTGPL +>ACP140 +GETDPNTQLLNDLGNNMAWGAALGAPGGLGSAALGAAGGALQTVGQGLIDHGPVNVFIPVLIGPSWNGSGSGYNSATSSSGSGS +>ACP142 +GFKDLLKGAAKALVKTVLF +>ACP144 +KSCCPNTTGRNIYNACRLTGAPRPTCAKLSGCKIISGSTCPSDYPK +>ACP146 +KSCCPNTTGRNIYNTCRFGGGSREVCARISGCKIISASTCPSDYPK +>ACP148 +KSCCPNTTGRNIYNTCRLTGSSRETCAKLSGCKIISASTCPSNYPK +>ACP150 +MRKEFHNVLSSGQLLADKRPARDYNRK +>ACP152 +KSCCKNTTGRNIYNTCRFAGGSRERCAKLSGCKIISASTCPSDYPK +>ACP154 +FIFHIIKGLFHAGKMIHGLVTRRRH +>ACP156 +FLPAIVGAAAKFLPKIFCAISKKC +>ACP158 +FLPIIAGVAAKVLPKIFCAISKKC +>ACP160 +FLPIIAGIAAKFLPKIFCTISKKC +>ACP162 +FLPVIAGVAANFLPKLFCAISKKC +>ACP164 +FLPIIAGAAAKVVQKIFCAISKKC +>ACP166 +GLMDTIKGVAKTVAASWLDKLKCKITGC +>ACP168 +VNWKKVLGKIIKVAK +>ACP170 +VNWKKILGKIIKVAK +>ACP172 +FFSLLPSLIGGLVSAIK +>ACP174 +RFRLPFRRPPIRIHPPPFYPPFRRFL +>ACP176 +KWKLFKKIPKFLHLAKKF +>ACP178 +YKQCHKKGGHCFPKEKICLPPSSDFGKMDCRWRWKCCKKGSG +>ACP180 +GIPCGESCVFIPCITGAIGCSCKSKVCYRN +>ACP182 +GEFLKCGESCVQGECYTPGCSCDWPICKKN +>ACP184 +GLPTCGETCTLGTCYVPDCSCSWPICMKN +>ACP186 +GLPVCGETCFGGTCNTPGCTCDPWPVCTRN +>ACP188 +FVDLKKIANIINSIFGK +>ACP190 +GSIPCGESCVFIPCISSVIGCACKSKVCYKN +>ACP192 +GIPCGESCVFIPCISSVIGCSCSSKVCYRN +>ACP194 +GSIPCGESCVFIPCISAVIGCSCSNKVCYKN +>ACP196 +GSIPCEGSCVFIPCISAIIGCSCSNKVCYKN +>ACP198 +GIPCGESCVFIPCLTSAIDCSCKSKVCYRN +>ACP200 +GMWSKILGHLIR +>ACP202 +GKWMSLLKHILK +>ACP204 +GFGMALKLLKKVL +>ACP206 +GTGLPMSERRKIMLMMR +>ACP208 +GIACGESCVFLGCFIPGCSCKSKVCYFN +>ACP210 +GVIPCGESCVFIPCISSVLGCSCKNKVCYRD +>ACP212 +KLCGETCFKFKCYTPGCSCSYPFCK +>ACP214 +GDACGETCFTGICFTAGCSCNPWPTCTRN +>ACP216 +GIPCAESCVWIPPCTITALMGCSCKNNVCYNN +>ACP218 +IPCGESCVWIPCITAIAGCSCKNKVCYT +>ACP220 +AIPCGESCVWIPCISTVIGCSCSNKVCYR +>ACP222 +GEYCGESCYLIPCFTPGCYCVSRQCVNKN +>ACP224 +IPCGESCVWIPCISGMFGCSCKDKVCYS +>ACP226 +FLGWLFKWASK +>ACP228 +FLKWLFKWAKK +>ACP230 +KWKSFLKTFKSAKKTVLHTALKAISS +>ACP232 +KWKSFLKTFKSLKKTVLHTLLKAISS +>ACP234 +MPFLFCNVNDVCNFASRNDYSCNYYSNSYSFWLASLNPER +>ACP236 +KWKLFKKIGAVLKVL +>ACP238 +GACFSIAHECGA +>ACP240 +TCCATGACGTTCCTGACGTT +>ACP242 +KRFKQDGGASHASPASS +>ACP244 +KRAKAAGGWSHWSPWSSC +>ACP246 +LLGDFFRKSKEKIGKEFKRIVQRIKDFLRNLVPRTES +>ACP248 +FLGALFKVASKVLPSVKCAITKKC +>ACP250 +GIGKFLKKAKKFGKAFVKILKK +>ACP252 +GIGKFLKKAKKGIGAVLKVLTTGL +>ACP254 +VECYGPNRPQF +>ACP256 +KRFKQDGGWSHWSPWSSC +>ACP258 +RQVFQVAYIIIKA +>ACP260 +KAFDITYVRLKF +>ACP262 +DFKLFAVTIKYR +>ACP264 +DFKLFAVYIKYR +>ACP266 +WHSDMEWWYLLG +>ACP268 +HTMYYHHYQHHL +>ACP270 +RLVSYNGIIFFLK +>ACP272 +GRENYHGCTTHWGFTLC +>ACP274 +ASSSYPLIHWRPWAR |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Sequence_Analysis/test-data/test1/out.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Sequence_Analysis/test-data/test1/out.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,21 @@ +aa_freq +0.07522371364653244 +0.07690156599552572 +0.019574944071588368 +0.024049217002237135 +0.047818791946308725 +0.10123042505592841 +0.02069351230425056 +0.07774049217002237 +0.10486577181208054 +0.08612975391498881 +0.007829977628635347 +0.03159955257270693 +0.04893736017897092 +0.018456375838926176 +0.0447427293064877 +0.06823266219239374 +0.04390380313199105 +0.06180089485458613 +0.018176733780760627 +0.0220917225950783 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Sequence_Analysis/test-data/test2.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Sequence_Analysis/test-data/test2.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>non-ACP0 +MTISLIWGIAMVVCCCIWVIFDRRRRKAGEPPL +>non-ACP2 +MFATPLRQPTNASGARPAVSMDGQETPFQYEITD +>non-ACP4 +LLWRKVAGATVGPGPVPA +>non-ACP6 +DSPDPMNGASSNALIAKMNSAKLLYQHY +>non-ACP8 +NNQEVIDAISQAISQTPGCVL +>non-ACP10 +KKVVEKNADPETTLLVYLRRKLGLCGTKLGCGEG +>non-ACP12 +CSRLLPSLAQEEG +>non-ACP14 +KNDFAALQAKLDADAAEIEKWWSDSR +>non-ACP16 +VDREQLVQKARLAEQAERYDD +>non-ACP18 +RPLRRVVLFYQGKLCSMAGNFWQSSHYLQW +>non-ACP20 +GAAGERKLCLLSLLLIGA +>non-ACP22 +MFRKLLKMWILLRPTHWLILIALCAVTCAGYWLLWSE +>non-ACP24 +HLRGPADSGWMPQAAPCLSGAPQAS +>non-ACP26 +NNPNNSNSHLRPHAYNNSRRDDSD +>non-ACP28 +VVILASLSVMFLVSLWQQKIRERLPPGPTPLPFIGNY +>non-ACP30 +ICLSCLISFFLWNQNRAKGKLPPG +>non-ACP32 +VVMNSLRVILQAS +>non-ACP34 +ARPRLDLQLVQRFVRIQKVF +>non-ACP36 +MLAKGLSLRSVLAKGCQPFLSPTWQSSVLATGGGANIS +>non-ACP38 +AAGLPGAALPLRKRPLRAPSPEPAAPRGAAGLVV +>non-ACP40 +PPMPSAPPVHPPP +>non-ACP42 +SCPIDKRRPLIAFLRRLRD +>non-ACP44 +RLGLWASGLILILGFLKLLRLLLRRQRLARAMD +>non-ACP46 +FSPQRDRFQAEGS +>non-ACP48 +GTLWALVFLGILVGMVVPSPAGTRANNTLLDSRG +>non-ACP50 +MNRLLQKGTSLVPSWRTR +>non-ACP52 +MTTSLIWGIAIAACCCLWLILGIRRRQT +>non-ACP54 +ATLANGMSLQPPLEEVS +>non-ACP56 +PLTATNSGLAVNN +>non-ACP58 +VRACHKVCRCLLSGFGGRVDAGQPELLTER +>non-ACP60 +TAGILLLLLLGTLEGS +>non-ACP62 +MEPSILLLLALLVGFLLLLVRGH +>non-ACP64 +MKNCFQLLCNLKVPAAGFKNTVKS +>non-ACP66 +SVIHTQAHASGLQQVPQLVPAGPGGGGKAVAPSKQSK +>non-ACP68 +KPLGLLKPSSLMKVSGRFKAHQDA +>non-ACP70 +ARTLNNKLSLSKPKFSGFT +>non-ACP72 +LLLVIIWTLFGPSGLGEELLSLSLASLLPAPASPGPP +>non-ACP74 +WPGILVGGARVASCRYPALGPRLA +>non-ACP76 +RSVKGLVALITGGASGL +>non-ACP78 +AAAALRARILQVSSKVN +>non-ACP80 +TGCCIAGRLANLDDQNLTVAL +>non-ACP82 +GSILGFLQIATVLTVLLLLLK +>non-ACP84 +AARQIGSCLMRCRTLDTTSP +>non-ACP86 +WGCRGRRWAFARVDGGSCHRRGAPTGSTSNQIR +>non-ACP88 +YAKPGAVRSPAQILQWQVLPNTVPAKS +>non-ACP90 +RMAGPWLSLHEARLLGTRGAAAPKAV +>non-ACP92 +SISNRAAVPEHGVAPDAERL +>non-ACP94 +PNFSMETWLLLV +>non-ACP96 +PRPPSKTYRGAFQN +>non-ACP98 +SVLVKGCQPFLSAPRECPGHPRVGT +>non-ACP100 +LVTPPKALLKPLSIPNQ +>non-ACP102 +KMQGSRMDEQRCS +>non-ACP104 +VIADDLPPTCIRP +>non-ACP106 +LPGGLRVLVQTGH +>non-ACP108 +GWIWRWGWGRRCLGRPGLPGPGPGPATPLFLLLL +>non-ACP110 +RGIRGSSAARPSGRRRDPAGRTTETGFNIFTQHD +>non-ACP112 +QQEKEFLESYPQNCPPDALPGTPGNLD +>non-ACP114 +APARRVLQVKRVMQESSLSPAHL +>non-ACP116 +KVAPGGPTGYPGNLTAEQEQKLGELKMILL +>non-ACP118 +FLASYPQKCPAGSLPGTPGNTDE +>non-ACP120 +MDAKARNCLLQHREALEKDIKTSY +>non-ACP122 +ASRQLLVAPPEAL +>non-ACP124 +MISNGIGTVTTGKRSMCLFPLLLIGLWGC +>non-ACP126 +MTLRNFGMGKRSIEDRVQEEARCLVEELRKTNASPC +>non-ACP128 +AVFGLGGVGLSVIMGCKAAGASRIIAVDIN +>non-ACP130 +PNAKQSILQKNPDDVVIVAAYRTA +>non-ACP132 +AMELLLTATIFYLVLWVVKAFRLQVPKGLKSPPGP +>non-ACP134 +LLAAGFCPAVLCH +>non-ACP136 +AASVNDEQHQRIIKYGRALVLDIVEQ +>non-ACP138 +IARLREDGIQKRVIQEGRGELPDFQDG +>non-ACP140 +FIVVMNILALTLPFLAAEVQN +>non-ACP142 +CQNGRRANRTVRFARTA +>non-ACP144 +WVTVRSQQRGLFPAI +>non-ACP146 +LLRSCPLQGSPGRPRSV +>non-ACP148 +LNDGHFMPVLGFGTYAPPEVPRNRAVEV +>non-ACP150 +HLGRPSAPTIVAQPVSGLASPASFQPEQFQYTLDNNVLT +>non-ACP152 +RPEPGGCCCRRTVRANGC +>non-ACP154 +SWVEENRASFQPPVCNKLMHR +>non-ACP156 +VFHRVRWAPELGASLG +>non-ACP158 +RAKVLTLDGMNPRVRRVEYAVRGPIVQRALELEQELRQ +>non-ACP160 +LLQRARLAEQAERYDDMASAMKAVTELNEPLS +>non-ACP162 +ALIQKLNSDPQFVLAQNVGTTHDLLDICLKRATVQRA +>non-ACP164 +AALPMLWTGLVLLGLLGFPQTPAQGHDTVQPNFQQ +>non-ACP166 +QRRQNDSSVFLAIMVAAAVES +>non-ACP168 +CNAPGCGQRFTNEDHLAVHKHKHEMTLKFGPARTDS +>non-ACP170 +LVLLTVQNSALILTLNYSRIMPGYD +>non-ACP172 +TVLSPPQRFKRILQAMMLAVAVV +>non-ACP174 +ISRGLLLLAALCCLAPSFL +>non-ACP176 +VAGTESAQGPPGPAASLELWLNKATDPS +>non-ACP178 +QYLRIRTVQPEPDYGAAV +>non-ACP180 +ASPTQTPPTTSTIRVARRSRVALVAM +>non-ACP182 +TIWRNQHTYKMATSASANLSKIVKKNYMELPQDGKVQ +>non-ACP184 +LSITRGLLLLAALCCLAPIS +>non-ACP186 +ILLSIWRQSSGRGKLPPGPIPLPIIGNIFQ +>non-ACP188 +LLLLSWVALGPRSLEGADPGTPGEAEGPACP +>non-ACP190 +LRVKRAMQEASFMPPLLPPAAHQRFSTVPAVP +>non-ACP192 +GLLLLAGLCCLVFGIMAEDAQVAQGPSQQI +>non-ACP194 +RHVGLLCATGPQRWRF +>non-ACP196 +AAVALARPKPPLRHQEHLQNEPDS +>non-ACP198 +SRVNDQSQASRNGLKGKVLTLDTMNPCV +>non-ACP200 +AAALGPGVLQATRAFHTGQPRLAPLPPLPEYGGK +>non-ACP202 +LCTSGLWTAQASTNESSNSHRGLAPTNV +>non-ACP204 +PAIQPVLSGLSRIVNGEEA +>non-ACP206 +GCQASLSTAQERLGHPGVPTREGVR +>non-ACP208 +RKVLILTLVVAACGFVLWSSNGR +>non-ACP210 +GRVRSRCPGPALLLLLALAARPALAGPPAAALQ +>non-ACP212 +CRITKPALLVLNQETAKVVQT +>non-ACP214 +KAEVCMAVPWLSLQ +>non-ACP216 +SHLELNNGTKMPTLGLGT +>non-ACP218 +LLLPEAAAERDAREKLALWDRRPDTTAPL +>non-ACP220 +LLALSLVLLYRYATYSHGFFKKLGIPGPKPLPLFGNVLS +>non-ACP222 +LLSLWRQSSGRGKLPPGPTPLPVIGNILQIGIKD +>non-ACP224 +AFKSMEVANFYYEADCLAAAYGGKAAPAAPPADRPGPR +>non-ACP226 +SLFWAARPLQRCGQLVRMAIRAQH +>non-ACP228 +MRPPRTLTSTATMSALSTSMPMEIDDVMDEDAVNGQA +>non-ACP230 +LLSLIGFCWAQYDP +>non-ACP232 +LWARSKNDQLRISFPPGLCWG +>non-ACP234 +PQGFDVDRDAKKLNKACKGMGTNEAAIIEILSG +>non-ACP236 +IFCLILWVVKAWQPRLPKGLKSPPGPWGWPLLG +>non-ACP238 +LDAASPGPLALLGLLFAATLLLSALFLL +>non-ACP240 +VTLLFKLYCLA +>non-ACP242 +ATRAAAARLVGTAASRTPAAARH +>non-ACP244 +RNKLDLETLTDILEHQIR +>non-ACP246 +RRLVLQARTYAQAAASPAPAAGPGQMSFTFASPTQVFF +>non-ACP248 +PGRSRSAADDINPAPANM +>non-ACP250 +LLSALTLETWVLLAVILVLLYRLG +>non-ACP252 +VMGHGLCPQGARAKAAIPAALRDHEST +>non-ACP254 +FLVSIAGLLYALVQLGQPCDCLPPLRAAA +>non-ACP256 +VRSVRAAVGGLRAISAPSAPCLPRPWGLRAG +>non-ACP258 +RGGCWPRGLQQLLVPGG +>non-ACP260 +APATPPRPLKRKKLQFTDVTPESSP +>non-ACP262 +EQAERYDDMAAAMKAVTEQGHELSNEERNL +>non-ACP264 +MPNDPSDNQLK +>non-ACP266 +TELLLAITVFCLGFWVVRALRTQVP +>non-ACP268 +LTADLLGAPFFTLPKELQLALLERQTVFL +>non-ACP270 +GHGRLVEIQGRLGVRIER +>non-ACP272 +LPFKLLLFVLLDGWTRLTH +>non-ACP274 +QALWLVLVLSMPPVLVAAVVGTLVSLVQ |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Sequence_Analysis/test-data/test2/out2.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Sequence_Analysis/test-data/test2/out2.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,139 @@ +H +0.1475757575757576 +0.3215384615384615 +0.44875 +0.44875 +0.45687500000000003 +0.48624999999999996 +0.4235294117647058 +0.4129411764705882 +-0.10278350515463919 +0.15153846153846157 +-0.296 +-0.14411764705882354 +-0.0019230769230769162 +0.20703703703703702 +0.2162962962962963 +0.28814814814814815 +0.24777777777777776 +0.4795833333333333 +0.35076923076923083 +0.03171428571428572 +-0.035128205128205144 +0.04405405405405406 +-0.1698809523809524 +0.17913043478260865 +0.11269230769230772 +0.28448275862068967 +0.07433333333333328 +-0.6266666666666666 +0.14071428571428576 +-0.43117647058823527 +-0.19765957446808508 +0.4856 +0.5168 +0.3433333333333333 +0.4583333333333333 +0.5745454545454545 +0.3282608695652174 +0.3733333333333333 +0.17192307692307696 +-0.3457142857142857 +0.1076 +0.4675 +0.4675 +-0.16962962962962963 +0.08749999999999998 +-0.3174358974358975 +0.4411111111111112 +-0.050120481927710826 +-0.025555555555555557 +0.24727272727272726 +-0.15142857142857138 +-0.066 +0.07142857142857142 +0.34882352941176475 +0.6842857142857143 +0.6666666666666666 +0.5438095238095239 +0.18681818181818183 +-0.231 +0.5955 +0.35541666666666666 +0.08687500000000001 +0.5977777777777777 +0.15000000000000002 +0.19517241379310335 +0.1663333333333333 +0.33566666666666667 +0.19225806451612903 +0.21999999999999997 +-0.2715662650602409 +0.28916666666666674 +0.2563157894736842 +-0.10543478260869568 +-0.12173913043478261 +-0.15695652173913047 +-0.43962962962962954 +-0.21695652173913044 +0.12199999999999997 +0.38833333333333336 +0.4166666666666667 +0.4054166666666666 +0.4258333333333333 +0.35625 +0.14285714285714288 +0.055333333333333366 +0.07533333333333335 +0.6094117647058823 +-0.21846153846153846 +-0.058333333333333334 +-0.2692857142857143 +0.20566666666666658 +0.00366666666666667 +0.1886206896551724 +0.13266666666666665 +0.24470588235294113 +0.2412903225806451 +0.23933333333333323 +0.264516129032258 +0.27419354838709675 +0.12766666666666668 +0.23583333333333334 +0.12916666666666668 +0.3400000000000001 +-0.16058823529411767 +0.33214285714285713 +0.19161290322580643 +0.0384 +0.12482758620689656 +0.2403125 +0.2882142857142857 +0.24965517241379304 +0.06206896551724138 +0.26321428571428573 +0.37636363636363634 +0.07636363636363636 +-0.034615384615384596 +0.0023076923076923396 +0.026500000000000013 +0.16733333333333336 +0.3899999999999999 +0.2585 +-0.24882352941176467 +-0.053333333333333316 +-0.29405405405405405 +0.23041666666666671 +-0.05090909090909091 +0.2141666666666667 +-0.11818181818181818 +-0.18722222222222226 +0.2615384615384615 +0.03583333333333333 +0.03583333333333331 +0.06166666666666661 +0.31583333333333335 +-0.031666666666666655 +0.3292307692307693 +0.02470588235294122 +-0.005333333333333309 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Sequence_Analysis/test-data/test3/out3.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Sequence_Analysis/test-data/test3/out3.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,139 @@ +uH +0.2774594853118652 +0.6893304784278844 +0.4942223886681905 +0.4879022569098747 +0.44928748941321683 +0.48806178738858674 +0.4669403105902714 +0.5036883970558701 +0.2154087258482626 +0.23979843502296416 +0.4148659428820385 +0.1336752433612987 +0.42050172623243376 +0.31929548629945326 +0.30940024725427256 +0.21702306187227818 +0.3299344419094044 +0.21076749332479502 +0.6823332724963809 +0.33227495617039615 +0.374280171875485 +0.27694439596355835 +0.19214123548230658 +0.4586310607350617 +0.3589698816442937 +0.3104846462036025 +0.07829845874025636 +0.22946874484220134 +0.431889304227059 +0.18795022241574336 +0.09334995188252893 +0.28651765021427744 +0.3123171568411732 +0.30020346522496427 +0.2306046045936626 +0.30742761594480517 +0.22580297575660496 +0.5160770736050732 +0.42418087568398827 +0.4662320267678134 +0.30510565290499236 +0.5153089915263588 +0.5066586478523495 +0.4348299376955373 +0.6294167809882232 +0.07341767238855738 +0.42048493885819194 +0.05979736465312132 +0.3011279514921717 +0.6697596118193816 +0.697249179019688 +0.32738385361185923 +0.4740530027406926 +0.2722451852258311 +0.377225347089546 +0.2663531832793621 +0.3328298763654114 +0.11146951283410829 +0.3101492391947477 +0.40528228849020076 +0.3007123184344794 +0.37876923909573884 +0.303340210193212 +0.07790563558928469 +0.1268522709352264 +0.05098768578867241 +0.05744793631087191 +0.04257177643688409 +0.01724636454950971 +0.21601775041714222 +0.02259044319726739 +0.41001485302954344 +0.13836717232597007 +0.16432649038670458 +0.15718388681304243 +0.08149375918061791 +0.16302510827881284 +0.3333834963264693 +0.3866785757046207 +0.33171565184196383 +0.33002512021176883 +0.3039772546746435 +0.36382522468683326 +0.21470872654453724 +0.5295796291832363 +0.539270061747465 +0.4415705665227539 +0.15827403805653534 +0.476096626614862 +0.1905601809470215 +0.06471272433607658 +0.10338737520665338 +0.16748789482560633 +0.15336689741837634 +0.4402545159172683 +0.0969067762942479 +0.079697967495238 +0.03889702720030025 +0.09073602009751042 +0.08878762429509186 +0.576351142919988 +0.5626876474168332 +0.5587627844989237 +0.2929055437237022 +0.041928757622971206 +0.03612895077373906 +0.1010583141843274 +0.19580711052239802 +0.09225114957906165 +0.016111803974935734 +0.08811374694676156 +0.18980623621727705 +0.029912035360840795 +0.48935076569394603 +0.7128266034647883 +0.4006561814688358 +0.4271052740293019 +0.10939133470727964 +0.4139307319247934 +0.1231691382233704 +0.0032321159995884778 +0.18851321484398556 +0.06017560056957848 +0.5624413407035735 +0.3690812500176626 +0.7088747699407729 +0.5636335289669467 +0.04743626398192347 +0.17977818302206242 +0.575438682276335 +0.16305715459762246 +0.10431035909837237 +0.10135202807902083 +0.16959375298472332 +0.11347169126959285 +0.10918994422833458 +0.10336817474245052 +0.24920727895691838 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Sequence_Analysis/test-data/test4/report_dir/report.html.re --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Sequence_Analysis/test-data/test4/report_dir/report.html.re Wed Oct 28 01:59:25 2020 +0000 |
[ |
b'@@ -0,0 +1,67 @@\n+\\<html\\>\\\n+\\<head\\>\\<meta\\ charset\\=\\"utf\\-8\\"\\ \\/\\>\\<\\/head\\>\\\n+\\<body\\>\\\n+\\ \\ \\ \\ \\<div\\>\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\<script\\ type\\=\\"text\\/javascript\\"\\>window\\.PlotlyConfig\\ \\=\\ \\{MathJaxConfig\\:\\ \\\'local\\\'\\}\\;\\<\\/script\\>\\\n+\\ \\ \\ \\ \\ \\ \\ \\ \\<script\\ type\\=\\"text\\/javascript\\"\\>\\/\\*\\*\\\n+\\*\\ plotly\\.js\\ v1\\.55\\.2\\\n+\\*\\ Copyright\\ 2012\\-2020\\,\\ Plotly\\,\\ Inc\\.\\\n+\\*\\ All\\ rights\\ reserved\\.\\\n+\\*\\ Licensed\\ under\\ the\\ MIT\\ license\\\n+\\*\\/\\\n+\\!function\\(t\\)\\{if\\(\\"object\\"\\=\\=typeof\\ exports\\&\\&\\"undefined\\"\\!\\=typeof\\ module\\)module\\.exports\\=t\\(\\)\\;else\\ if\\(\\"function\\"\\=\\=typeof\\ define\\&\\&define\\.amd\\)define\\(\\[\\]\\,t\\)\\;else\\{\\(\\"undefined\\"\\!\\=typeof\\ window\\?window\\:\\"undefined\\"\\!\\=typeof\\ global\\?global\\:\\"undefined\\"\\!\\=typeof\\ self\\?self\\:this\\)\\.Plotly\\=t\\(\\)\\}\\}\\(\\(function\\(\\)\\{return\\ function\\ t\\(e\\,r\\,n\\)\\{function\\ a\\(o\\,s\\)\\{if\\(\\!r\\[o\\]\\)\\{if\\(\\!e\\[o\\]\\)\\{var\\ l\\=\\"function\\"\\=\\=typeof\\ require\\&\\&require\\;if\\(\\!s\\&\\&l\\)return\\ l\\(o\\,\\!0\\)\\;if\\(i\\)return\\ i\\(o\\,\\!0\\)\\;var\\ c\\=new\\ Error\\(\\"Cannot\\ find\\ module\\ \\\'\\"\\+o\\+\\"\\\'\\"\\)\\;throw\\ c\\.code\\=\\"MODULE\\_NOT\\_FOUND\\"\\,c\\}var\\ u\\=r\\[o\\]\\=\\{exports\\:\\{\\}\\}\\;e\\[o\\]\\[0\\]\\.call\\(u\\.exports\\,\\(function\\(t\\)\\{return\\ a\\(e\\[o\\]\\[1\\]\\[t\\]\\|\\|t\\)\\}\\)\\,u\\,u\\.exports\\,t\\,e\\,r\\,n\\)\\}return\\ r\\[o\\]\\.exports\\}for\\(var\\ i\\=\\"function\\"\\=\\=typeof\\ require\\&\\&require\\,o\\=0\\;o\\<n\\.length\\;o\\+\\+\\)a\\(n\\[o\\]\\)\\;return\\ a\\}\\(\\{1\\:\\[function\\(t\\,e\\,r\\)\\{\\"use\\ strict\\"\\;var\\ n\\=t\\(\\"\\.\\.\\/src\\/lib\\"\\)\\,a\\=\\{\\"X\\,X\\ div\\"\\:\\"direction\\:ltr\\;font\\-family\\:\\\'Open\\ Sans\\\'\\,\\ verdana\\,\\ arial\\,\\ sans\\-serif\\;margin\\:0\\;padding\\:0\\;\\"\\,\\"X\\ input\\,X\\ button\\"\\:\\"font\\-family\\:\\\'Open\\ Sans\\\'\\,\\ verdana\\,\\ arial\\,\\ sans\\-serif\\;\\"\\,\\"X\\ input\\:focus\\,X\\ button\\:focus\\"\\:\\"outline\\:none\\;\\"\\,\\"X\\ a\\"\\:\\"text\\-decoration\\:none\\;\\"\\,\\"X\\ a\\:hover\\"\\:\\"text\\-decoration\\:none\\;\\"\\,\\"X\\ \\.crisp\\"\\:\\"shape\\-rendering\\:crispEdges\\;\\"\\,\\"X\\ \\.user\\-select\\-none\\"\\:\\"\\-webkit\\-user\\-select\\:none\\;\\-moz\\-user\\-select\\:none\\;\\-ms\\-user\\-select\\:none\\;\\-o\\-user\\-select\\:none\\;user\\-select\\:none\\;\\"\\,\\"X\\ svg\\"\\:\\"overflow\\:hidden\\;\\"\\,\\"X\\ svg\\ a\\"\\:\\"fill\\:\\#447adb\\;\\"\\,\\"X\\ svg\\ a\\:hover\\"\\:\\"fill\\:\\#3c6dc5\\;\\"\\,\\"X\\ \\.main\\-svg\\"\\:\\"position\\:absolute\\;top\\:0\\;left\\:0\\;pointer\\-events\\:none\\;\\"\\,\\"X\\ \\.main\\-svg\\ \\.draglayer\\"\\:\\"pointer\\-events\\:all\\;\\"\\,\\"X\\ \\.cursor\\-default\\"\\:\\"cursor\\:default\\;\\"\\,\\"X\\ \\.cursor\\-pointer\\"\\:\\"cursor\\:pointer\\;\\"\\,\\"X\\ \\.cursor\\-crosshair\\"\\:\\"cursor\\:crosshair\\;\\"\\,\\"X\\ \\.cursor\\-move\\"\\:\\"cursor\\:move\\;\\"\\,\\"X\\ \\.cursor\\-col\\-resize\\"\\:\\"cursor\\:col\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-row\\-resize\\"\\:\\"cursor\\:row\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ns\\-resize\\"\\:\\"cursor\\:ns\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ew\\-resize\\"\\:\\"cursor\\:ew\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-sw\\-resize\\"\\:\\"cursor\\:sw\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-s\\-resize\\"\\:\\"cursor\\:s\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-se\\-resize\\"\\:\\"cursor\\:se\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-w\\-resize\\"\\:\\"cursor\\:w\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-e\\-resize\\"\\:\\"cursor\\:e\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-nw\\-resize\\"\\:\\"cursor\\:nw\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-n\\-resize\\"\\:\\"cursor\\:n\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-ne\\-resize\\"\\:\\"cursor\\:ne\\-resize\\;\\"\\,\\"X\\ \\.cursor\\-grab\\"\\:\\"cursor\\:\\-webkit\\-grab\\;cursor\\:grab\\;\\"\\,\\"X\\ \\.modebar\\"\\:\\"position\\:absolute\\;top\\:2px\\;right\\:2px\\;\\"\\,\\"X\\ \\.ease\\-bg\\"\\:\\"\\-webkit\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-moz\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-ms\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\-o\\-transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;transition\\:background\\-color\\ 0\\.3s\\ ease\\ 0s\\;\\"\\,\\"X\\ \\.modebar\\-\\-hover\\>\\:not\\(\\.watermark\\)\\"\\:\\"opacity\\:0\\;\\-webkit\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-moz\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-ms\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\-o\\-transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;transition\\:opacity\\ 0\\.3s\\ ease\\ 0s\\;\\"\\,\\"X\\:hover\\ \\.modebar\\-\\-hover\\ \\.modebar\\-group\\"\\:\\"opacity\\:1\\;\\"\\,\\"X\\'..b' \\"\\#2a3f5f\\"\\}\\,\\ \\"geo\\"\\:\\ \\{\\"bgcolor\\"\\:\\ \\"white\\"\\,\\ \\"lakecolor\\"\\:\\ \\"white\\"\\,\\ \\"landcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"showlakes\\"\\:\\ true\\,\\ \\"showland\\"\\:\\ true\\,\\ \\"subunitcolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"hoverlabel\\"\\:\\ \\{\\"align\\"\\:\\ \\"left\\"\\}\\,\\ \\"hovermode\\"\\:\\ \\"closest\\"\\,\\ \\"mapbox\\"\\:\\ \\{\\"style\\"\\:\\ \\"light\\"\\}\\,\\ \\"paper\\_bgcolor\\"\\:\\ \\"white\\"\\,\\ \\"plot\\_bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"polar\\"\\:\\ \\{\\"angularaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"radialaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"scene\\"\\:\\ \\{\\"xaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\,\\ \\"zaxis\\"\\:\\ \\{\\"backgroundcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"gridwidth\\"\\:\\ 2\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"showbackground\\"\\:\\ true\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\}\\}\\,\\ \\"shapedefaults\\"\\:\\ \\{\\"line\\"\\:\\ \\{\\"color\\"\\:\\ \\"\\#2a3f5f\\"\\}\\}\\,\\ \\"ternary\\"\\:\\ \\{\\"aaxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"baxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\,\\ \\"bgcolor\\"\\:\\ \\"\\#E5ECF6\\"\\,\\ \\"caxis\\"\\:\\ \\{\\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\}\\}\\,\\ \\"title\\"\\:\\ \\{\\"x\\"\\:\\ 0\\.05\\}\\,\\ \\"xaxis\\"\\:\\ \\{\\"automargin\\"\\:\\ true\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"title\\"\\:\\ \\{\\"standoff\\"\\:\\ 15\\}\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\,\\ \\"zerolinewidth\\"\\:\\ 2\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"automargin\\"\\:\\ true\\,\\ \\"gridcolor\\"\\:\\ \\"white\\"\\,\\ \\"linecolor\\"\\:\\ \\"white\\"\\,\\ \\"ticks\\"\\:\\ \\"\\"\\,\\ \\"title\\"\\:\\ \\{\\"standoff\\"\\:\\ 15\\}\\,\\ \\"zerolinecolor\\"\\:\\ \\"white\\"\\,\\ \\"zerolinewidth\\"\\:\\ 2\\}\\}\\}\\,\\ \\"uniformtext\\"\\:\\ \\{\\"minsize\\"\\:\\ 4\\}\\,\\ \\"xaxis\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"y\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.0\\,\\ 0\\.2888888888888889\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Amino\\ Acid\\"\\}\\}\\,\\ \\"xaxis2\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"y2\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.35555555555555557\\,\\ 0\\.6444444444444445\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Global\\ Charge\\"\\}\\}\\,\\ \\"xaxis3\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"y3\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.7111111111111111\\,\\ 1\\.0\\]\\,\\ \\"showgrid\\"\\:\\ false\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Peptide\\ dataset\\"\\}\\}\\,\\ \\"xaxis4\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"y4\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.0\\,\\ 0\\.2888888888888889\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Peptide\\ dataset\\"\\}\\}\\,\\ \\"xaxis5\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"y5\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.35555555555555557\\,\\ 0\\.6444444444444445\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Peptide\\ dataset\\"\\}\\}\\,\\ \\"yaxis\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"x\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.625\\,\\ 1\\.0\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Fraction\\"\\}\\}\\,\\ \\"yaxis2\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"x2\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.625\\,\\ 1\\.0\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Fraction\\"\\}\\}\\,\\ \\"yaxis3\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"x3\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.625\\,\\ 1\\.0\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Length\\"\\}\\}\\,\\ \\"yaxis4\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"x4\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.0\\,\\ 0\\.375\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Global\\ hydrophobicity\\"\\}\\}\\,\\ \\"yaxis5\\"\\:\\ \\{\\"anchor\\"\\:\\ \\"x5\\"\\,\\ \\"domain\\"\\:\\ \\[0\\.0\\,\\ 0\\.375\\]\\,\\ \\"title\\"\\:\\ \\{\\"text\\"\\:\\ \\"Global\\ hydrophobic\\ Movement\\"\\}\\}\\}\\,\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\{\\"responsive\\"\\:\\ true\\}\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\)\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\}\\;\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\<\\/script\\>\\ \\ \\ \\ \\ \\ \\ \\ \\<\\/div\\>\\\n+\\<\\/body\\>\\\n+\\<\\/html\\>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Sequence_Analysis/test-data/test5/out5.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Sequence_Analysis/test-data/test5/out5.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,139 @@ +c +33 +13 +16 +16 +16 +16 +17 +17 +97 +13 +25 +17 +26 +27 +27 +27 +27 +24 +13 +35 +39 +37 +84 +23 +26 +29 +30 +18 +14 +17 +47 +25 +25 +24 +24 +22 +23 +18 +26 +21 +25 +16 +16 +27 +28 +39 +18 +83 +36 +22 +14 +20 +14 +17 +14 +21 +21 +22 +20 +20 +24 +32 +18 +29 +29 +30 +30 +31 +31 +83 +84 +19 +46 +46 +46 +27 +46 +25 +24 +24 +24 +24 +24 +28 +15 +15 +17 +26 +18 +42 +30 +30 +29 +30 +17 +31 +30 +31 +31 +30 +12 +12 +13 +17 +28 +31 +25 +29 +32 +28 +29 +29 +28 +11 +11 +26 +26 +40 +15 +12 +20 +17 +18 +37 +24 +22 +24 +11 +18 +13 +12 +12 +12 +12 +12 +13 +17 +15 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Sequence_Analysis/test-data/test6/out.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Sequence_Analysis/test-data/test6/out.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,139 @@ +charge +2.999 +-0.003 +0.996 +0.996 +0.996 +0.996 +1.095 +1.095 +2.624 +0.391 +7.86 +7.093 +5.994 +2.996 +3.094 +2.996 +2.996 +1.86 +1.996 +6.997 +5.096 +5.996 +-0.398 +3.095 +4.995 +2.996 +2.59 +4.725 +3.995 +5.724 +5.455 +0.293 +0.293 +2.194 +1.194 +0.195 +0.195 +0.996 +-0.001 +6.094 +5.391 +0.996 +0.996 +10.093 +6.994 +9.995 +1.995 +6.596 +3.687 +3.391 +5.995 +-0.205 +0.996 +1.861 +0.996 +0.193 +0.193 +2.455 +2.689 +0.996 +3.86 +1.997 +0.996 +-0.408 +-0.409 +1.591 +-0.409 +1.591 +1.59 +10.66 +-3.903 +2.996 +5.589 +4.59 +5.59 +4.096 +6.59 +5.391 +3.86 +3.86 +3.86 +2.86 +3.86 +2.861 +4.995 +4.995 +0.996 +7.094 +7.093 +7.788 +1.591 +-1.406 +-1.409 +-1.408 +1.996 +1.591 +0.591 +0.591 +0.591 +0.591 +2.094 +3.094 +2.995 +2.997 +0.591 +0.591 +2.59 +-1.408 +-0.409 +0.591 +0.591 +-0.409 +-0.409 +1.995 +3.995 +7.093 +7.093 +-1.208 +4.995 +-1.039 +-0.409 +2.095 +3.027 +6.0 +4.86 +8.994 +5.995 +-0.071 +2.027 +1.995 +1.995 +1.995 +1.994 +-1.904 +0.488 +1.995 +0.059 +2.094 |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Structure_Builder/PDAUG_Peptide_Structure_Builder.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Structure_Builder/PDAUG_Peptide_Structure_Builder.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,73 @@ +import tempfile +import pandas as pd +import shutil +import sys +import glob +import fragbuilder +import openbabel +from fragbuilder import peptide + +import os + + +def read_pep_file(pep_infile): + + file = open(pep_infile) + lines = file.readlines() + + Index = [] + list_pep_name = [] + + for line in lines: + if '>' in line: + Index.append(line.strip('\n')) + else: + line = line.strip('\n') + line = line.strip('\r') + list_pep_name.append(line.strip('\n')) + + return list_pep_name + +def structure_gen(pep_seq, out_dir): + + if not os.path.exists(os.path.join(out_dir, 'DataFile')): + os.makedirs(os.path.join(out_dir, 'DataFile')) + + b = len(pep_seq) + + for seq in pep_seq: + + pep = peptide.Peptide(seq, nterm = "charged", cterm = "neutral") + pep.regularize() + pep.write_pdb(os.path.join(out_dir, 'DataFile', seq+".pdb")) + + obConversion = openbabel.OBConversion() + obConversion.SetInAndOutFormats("pdb", "sdf") + mol = openbabel.OBMol() + obConversion.ReadFile(mol, os.path.join(out_dir, 'DataFile', seq+".pdb")) + + mol.AddHydrogens() + + +def main_process(str_pep_file, out_dir): + + my_pep = read_pep_file(str_pep_file) + structure_gen(my_pep, out_dir) + + +if __name__=="__main__": + + + import argparse + parser = argparse.ArgumentParser() + + parser.add_argument("-p", "--pep", required=True, default=None, help="pep file") + parser.add_argument("-o", "--OutDir", required=None, default=os.getcwd(), help="Path to out file") + + args = parser.parse_args() + main_process(args.pep, args.OutDir) + + + + + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Structure_Builder/test-data/DataFile/GLF.pdb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Structure_Builder/test-data/DataFile/GLF.pdb Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,104 @@ +COMPND 532b43383ef54805b372df2052770b55.xyz +AUTHOR GENERATED BY OPEN BABEL 2.4.1 +ATOM 1 H1 GLY A 1 -0.947 -3.845 0.857 1.00 0.00 H +ATOM 2 H2 GLY A 1 -0.713 -3.892 -0.803 1.00 0.00 H +ATOM 3 N GLY A 1 -0.621 -3.315 0.040 1.00 0.00 N +ATOM 4 H3 GLY A 1 0.386 -3.137 0.204 1.00 0.00 H +ATOM 5 CA GLY A 1 -1.319 -1.994 -0.077 1.00 0.00 C +ATOM 6 C GLY A 1 -0.309 -0.872 0.134 1.00 0.00 C +ATOM 7 HA1 GLY A 1 -1.785 -1.954 -1.064 1.00 0.00 H +ATOM 8 HA2 GLY A 1 -2.074 -1.955 0.712 1.00 0.00 H +ATOM 9 O GLY A 1 0.593 -1.038 0.954 1.00 0.00 O +ATOM 10 N LEU A 2 -0.429 0.219 -0.671 1.00 0.00 N +ATOM 11 H LEU A 2 -1.117 0.254 -1.426 1.00 0.00 H +ATOM 12 CA LEU A 2 0.459 1.393 -0.605 1.00 0.00 C +ATOM 13 HA LEU A 2 0.332 1.829 0.390 1.00 0.00 H +ATOM 14 CB LEU A 2 1.922 1.033 -0.902 1.00 0.00 C +ATOM 15 C LEU A 2 -0.074 2.337 -1.694 1.00 0.00 C +ATOM 16 HB1 LEU A 2 2.267 0.267 -0.198 1.00 0.00 H +ATOM 17 HB2 LEU A 2 1.979 0.568 -1.897 1.00 0.00 H +ATOM 18 CG LEU A 2 2.914 2.212 -0.852 1.00 0.00 C +ATOM 19 O LEU A 2 -0.481 1.887 -2.764 1.00 0.00 O +ATOM 20 HG LEU A 2 2.626 2.959 -1.601 1.00 0.00 H +ATOM 21 CD2 LEU A 2 2.950 2.886 0.520 1.00 0.00 C +ATOM 22 CD1 LEU A 2 4.316 1.715 -1.216 1.00 0.00 C +ATOM 23 HD21 LEU A 2 3.225 2.174 1.305 1.00 0.00 H +ATOM 24 HD22 LEU A 2 3.682 3.701 0.530 1.00 0.00 H +ATOM 25 HD23 LEU A 2 1.983 3.322 0.784 1.00 0.00 H +ATOM 26 HD11 LEU A 2 4.319 1.250 -2.208 1.00 0.00 H +ATOM 27 HD12 LEU A 2 5.030 2.544 -1.232 1.00 0.00 H +ATOM 28 HD13 LEU A 2 4.674 0.973 -0.493 1.00 0.00 H +ATOM 29 N PHE A 3 -0.097 3.669 -1.378 1.00 0.00 N +ATOM 30 H PHE A 3 0.245 4.000 -0.480 1.00 0.00 H +ATOM 31 CA PHE A 3 -0.582 4.687 -2.325 1.00 0.00 C +ATOM 32 HA PHE A 3 0.142 4.669 -3.141 1.00 0.00 H +ATOM 33 CB PHE A 3 -2.047 4.467 -2.753 1.00 0.00 C +ATOM 34 C PHE A 3 -0.462 6.046 -1.641 1.00 0.00 C +ATOM 35 HB1 PHE A 3 -2.452 3.593 -2.222 1.00 0.00 H +ATOM 36 HB2 PHE A 3 -2.657 5.319 -2.420 1.00 0.00 H +ATOM 37 CG PHE A 3 -2.358 4.263 -4.224 1.00 0.00 C +ATOM 38 O PHE A 3 -0.686 6.268 -0.459 1.00 0.00 O +ATOM 39 CD2 PHE A 3 -3.706 4.066 -4.576 1.00 0.00 C +ATOM 40 CD1 PHE A 3 -1.405 4.261 -5.249 1.00 0.00 C +ATOM 41 HD2 PHE A 3 -4.477 4.061 -3.809 1.00 0.00 H +ATOM 42 CE2 PHE A 3 -4.083 3.880 -5.907 1.00 0.00 C +ATOM 43 CE1 PHE A 3 -1.784 4.075 -6.582 1.00 0.00 C +ATOM 44 HD1 PHE A 3 -0.345 4.400 -5.059 1.00 0.00 H +ATOM 45 HE2 PHE A 3 -5.130 3.733 -6.160 1.00 0.00 H +ATOM 46 CZ PHE A 3 -3.121 3.887 -6.910 1.00 0.00 C +ATOM 47 HE1 PHE A 3 -1.027 4.082 -7.363 1.00 0.00 H +ATOM 48 HZ PHE A 3 -3.412 3.745 -7.949 1.00 0.00 H +ATOM 49 OXT PHE A 3 -0.036 7.020 -2.465 1.00 0.00 O +ATOM 50 HXT PHE A 3 0.006 7.834 -1.917 1.00 0.00 H +CONECT 1 3 +CONECT 2 3 +CONECT 3 2 5 4 1 +CONECT 4 3 +CONECT 5 7 3 6 8 +CONECT 6 9 5 10 +CONECT 7 5 +CONECT 8 5 +CONECT 9 6 +CONECT 10 11 6 12 +CONECT 11 10 +CONECT 12 14 15 10 13 +CONECT 13 12 +CONECT 14 17 16 18 12 +CONECT 15 19 29 12 +CONECT 16 14 +CONECT 17 14 +CONECT 18 22 14 20 21 +CONECT 19 15 +CONECT 20 18 +CONECT 21 18 23 24 25 +CONECT 22 26 28 27 18 +CONECT 23 21 +CONECT 24 21 +CONECT 25 21 +CONECT 26 22 +CONECT 27 22 +CONECT 28 22 +CONECT 29 15 31 30 +CONECT 30 29 +CONECT 31 32 29 34 33 +CONECT 32 31 +CONECT 33 31 37 36 35 +CONECT 34 38 31 49 +CONECT 35 33 +CONECT 36 33 +CONECT 37 40 33 39 +CONECT 38 34 +CONECT 39 37 42 41 +CONECT 40 44 43 37 +CONECT 41 39 +CONECT 42 46 39 45 +CONECT 43 47 40 46 +CONECT 44 40 +CONECT 45 42 +CONECT 46 43 48 42 +CONECT 47 43 +CONECT 48 46 +CONECT 49 34 50 +CONECT 50 49 +MASTER 0 0 0 0 0 0 0 0 50 0 50 0 +END |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Peptide_Structure_Builder/test-data/test.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Peptide_Structure_Builder/test-data/test.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,2 @@ +>sequences_0 +GLF \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Based_Peptide_Generation/PDAUG_Sequence_Based_Peptide_Generation.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Sequence_Based_Peptide_Generation/PDAUG_Sequence_Based_Peptide_Generation.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,154 @@ +import sys +import itertools +import pandas as pd +import random +import os +from itertools import permutations +from random import shuffle +import argparse, sys +import pandas as pd + + +def MutatedPeptides(input_file, index_list, AA, outputFile): + + + index_list = [int(x) for x in index_list.split(',')] + out_put = [] + AA = AA.split(',') + l = len(index_list) + + replacements = [x for x in itertools.permutations(AA,l)] + + + counter = 0 + to_modify = [x for x in input_file] + + for replacement in replacements: + for i,index in enumerate(index_list): + to_modify[index_list[i]-1] = replacement[i] + + counter = counter + 1 + out_put.append("".join(to_modify).upper()) + + w = open(outputFile, 'w') + + for i, f in enumerate(out_put): + + + w.write(">sequence_"+str(i)+'\n') + w.write(f+'\n') + +def RandomPeptides(AAs, pep_length, out_pep_num, outputFile): + + + if int(pep_length) > 20: + print ("Max peptide lenth 20") + exit() + else: + pass + + if int(out_pep_num) > 10000: + print ("Max peptide library 10000") + exit() + else: + pass + + out_pep_lib = [] + raw = AAs.split(',') + + for x in range(int(out_pep_num)): + un_seq = [] + for i in range(int(pep_length)): + un_seq.append(random.choice(raw)) + out_pep_lib.append("".join(un_seq)) + + + w = open(outputFile, 'w') + + + for i, f in enumerate(out_pep_lib): + + w.write(">sequence_"+str(i)+'\n') + w.write(f+'\n') + +def SlidingWindowPeptide(infile, window_size, frag_size, outputFile): + + + if int(window_size) > 10: + print ("Max window_size 10") + exit() + else: + pass + if int(frag_size) > 20: + print ("Max frag size is 20") + exit() + else: + pass + + + pep_list = [] + + f = open(infile) + + lines = f.readlines() + + flines = [] + + for line in lines: + if '>' in line: + pass + else: + flines.append(line.strip('\n')) + sequence = "".join(flines) + + for i in range(int(frag_size)): + if int(frag_size) == len(sequence[i*int(window_size):i*int(window_size)+int(frag_size)]): + pep_list.append(sequence[i*int(window_size):i*int(window_size)+int(frag_size)]) + else: + break + + w = open(outputFile, 'w') + + + for i, f in enumerate(pep_list): + + w.write(">sequence_"+str(i)+'\n') + w.write(f+'\n') + +if __name__=='__main__': + + parser = argparse.ArgumentParser(description='Deployment tool') + subparsers = parser.add_subparsers() + + Mp = subparsers.add_parser('MutatedPeptides') + Mp.add_argument("-s","--sequence") + Mp.add_argument("-m","--mutation_site_list") + Mp.add_argument("-a","--AA_list") + Mp.add_argument("-d", "--outputFile", required=None, default='out.fasta', help="Path to out file") + + Rp = subparsers.add_parser('RandomPeptides') + Rp.add_argument("-a","--AA_list") + Rp.add_argument("-l","--pep_length") + Rp.add_argument("-o","--out_pep_lenght") + Rp.add_argument("-d", "--outputFile", required=None, default=os.path.join(os.getcwd(),'report_dirr'), help="Path to out file") + + Sp = subparsers.add_parser('SlidingWindowPeptide') + Sp.add_argument("-i","--InFile") + Sp.add_argument("-w","--winSize") + Sp.add_argument("-s","--FragSize") + Sp.add_argument("-d", "--outputFile", required=None, default=os.path.join(os.getcwd(),'report_dirr'), help="Path to out file") + + args = parser.parse_args() + + if sys.argv[1] == 'MutatedPeptides': + MutatedPeptides(args.sequence, args.mutation_site_list, args.AA_list, args.outputFile) + + elif sys.argv[1] == 'RandomPeptides': + RandomPeptides(args.AA_list, args.pep_length, args.out_pep_lenght, args.outputFile) + + elif sys.argv[1] == 'SlidingWindowPeptide': + SlidingWindowPeptide(args.InFile, args.winSize, args.FragSize, args.outputFile) + + else: + print("In Correct Option:") + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Based_Peptide_Generation/test-data/out1.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Sequence_Based_Peptide_Generation/test-data/out1.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,4 @@ +>sequence_0 +KGLKLLKKKLLK +>sequence_1 +KYLKLLKKKLLK |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Based_Peptide_Generation/test-data/out2.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Sequence_Based_Peptide_Generation/test-data/out2.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,14 @@ +>sequence_0 +FKFGG +>sequence_1 +GDDLGGV +>sequence_2 +GVKKK +>sequence_3 +GFDDFV +>sequence_4 +GGLFKF +>sequence_5 +VKDVG +>sequence_6 +FFKDDIL |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Based_Peptide_Generation/test-data/out3.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Sequence_Based_Peptide_Generation/test-data/out3.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,14 @@ +>sequence_0 +MNRLTFA +>sequence_1 +LTFAVFL +>sequence_2 +AVFLSAL +>sequence_3 +LSALGFL +>sequence_4 +LGFLVCA +>sequence_5 +LVCAAGN +>sequence_6 +AAGNPCC |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Based_Peptide_Generation/test-data/test1.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Sequence_Based_Peptide_Generation/test-data/test1.fasta Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,10 @@ +>AHC69389.1 COX-2 [Pagrus major] +MNRLTFAVFLSALGFLVCAAGNPCCSEPCQNRGVCTALGSDNYECDCTRTGYRGQNCTTPEFLTWLKVSL +KPSPNTVHYILTHFKDFWNIINNISFLRDAIMRYVLTSRSHMIDSPPTFNADYGYKNWEAYSNLSYYTRT +LPPVPEDCPTPMGVEGKKELPDAKILAEKLLMRREFIPDPQGTSLMFAFFAQHFTHQFFKSDMKRGPAFT +AAQGHGVDLSHIYGDNLVRQHKLRLFKDGKLKHQILDGEMYPPTVKEVGAEMHHPPHVPDAYRFAVGHEA +FGLVPGLMMYATIWLREHNRVCDVLKEVHPDWDDERLFQTTRLILIGETIKIVIEDYVQHLSGYNFKLKF +DPELLFNQRFQYQNRIASEFNTLYHWHPLMPDSFHIEEKEYSYKEFVFNTSVVTEHGISNLVESFSKQIA +GRVAGGRNVPGPIMYVAIKSIENSRKMRYQSLNAYRKRFSLKPYSSFEDMTGEKEMAAVLEEMYGHIDAM +ELYPGLLVEKPRENAIFGETMVEMGAPFSLKGLMGNPICSPEYWKPSTFGGTVGFDIVNTASLQRLVCNN +ANGPCPVASFHVPDVKETGSMIINSSTSNSRSSDINPTVILKERTTEL \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Network/PDAUG_Sequence_Network.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Sequence_Network/PDAUG_Sequence_Network.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,53 @@ +import Levenshtein +import matplotlib.pyplot as plt +import networkx as nx +import os + + +def SeqSimilarityNetwork(InFile, OutFile): + + f = open(InFile) + lines = f.readlines() + + record = [] + seq = [] + + G = nx.Graph() + + for line in lines: + + if ">" in line: + record.append(line.strip('\n')) + else: + seq.append(line.strip('\n')) + + for x, i in enumerate(seq): + for X, I in enumerate(seq): + L = Levenshtein.ratio(i, I ) + if L >= 0.4: + G.add_edge(record[x], record[X], weight=float(Levenshtein.ratio(i, I ))) + + elarge = [(u, v) for (u, v, d) in G.edges(data=True) if d['weight'] >= 0.4] + + pos = nx.spring_layout(G) + nx.draw_networkx_nodes(G, pos, node_size=10) + nx.draw_networkx_edges(G, pos, edgelist=elarge,width=1) + plt.axis('off') + + plt.savefig(OutFile) + + + +if __name__=="__main__": + + import argparse + + parser = argparse.ArgumentParser() + + parser.add_argument("-I", "--InFile", required=True, default=None, help="Path to target tsv file") + parser.add_argument("-O","--OutFile", required=False, help="HTML out file", default="out.png") + args = parser.parse_args() + + SeqSimilarityNetwork(args.InFile, args.OutFile) + + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Network/test-data/out.png |
b |
Binary file PDAUG_Sequence_Network/test-data/out.png has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Network/test-data/positive.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Sequence_Network/test-data/positive.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLFDIIKKIAESI +>ACP4 +GLLDIVKKVVGAFGSL +>ACP6 +GLFDIVKKVVGALGSL +>ACP8 +GLFDIVKKVVGTLAGL +>ACP10 +GLFDIAKKVIGVIGSL +>ACP12 +GLFDIVKKIAGHIAGSI +>ACP14 +GLFDIVKKIAGHIVSSI +>ACP16 +AACARFIDDFCDTLTPNIYRPRDNGQRCYAVNGHRCDFTVFNTNNGGNPIRASTPNCKTVLRTAANRCPTGGRGKINPNAPFLFAIDPNDGDCSTNF +>ACP18 +HGVSGHGQHGVHG +>ACP20 +FKCRRW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AIHAGKAIHGLIHRRRH +>ACP82 +GLFDVIKKVASVIGGL +>ACP84 +GLFDIIKKVASVVGGL +>ACP86 +GRFKRFRKKFKKLFKKLSPVIPLLHLG +>ACP88 +GGLRSLGRKILRAWKKYGPIIVPIIRIG +>ACP90 +RRRPRPPYLPRPRPPPFFPPRLPPRIPPGFPPRFPPRFP +>ACP92 +GLLGPLLKIAAKVGSNLL +>ACP94 +GLICESCRKIIQKLEDMVGPQPNEDTVTQAASQVCDKLKILRGLCKKIMRSFLRRISWDILTGKKPQAICVDIKICKEKTGLI +>ACP96 +DHYNCVSSGGQCLYSACPIFTKIQGTCYRGKAKCCK +>ACP98 +FFHHIFRGIVHVGKTIHRLVTG +>ACP100 +KLAKLAKKLAKLAK +>ACP102 +KTCENLADTFRGPCFATSNC +>ACP104 +IDWKKLLDAAKQIL +>ACP106 +FLIGMTQGLICLITRKC +>ACP108 +ILPILSLIGGLLGK +>ACP110 +GLLGLLGSVVSHVVPAIVGHF +>ACP112 +GLLGLLGSVVSHVLPAITQHL +>ACP114 +GIKCRFCCGCCTPGICGVCCRF +>ACP116 +QSHLSLCRWCCNCCRSNKGC +>ACP118 +ILGPVISTIGGVLGGLLKNL +>ACP120 +FLPILASLAAKFGPKLFCLVTKKC +>ACP122 +GLWSKIKEAAKAAGKAALNAVTGLVNQGDQPS +>ACP124 +LLGMIPLAISAISALSKL +>ACP126 +GLPVCGETCVGGTCNTPGCSCSWPVCTRN +>ACP128 +GVPICGETCTLGTCYTAGCSCSWPVCTRN +>ACP130 +GIPCGESCVWIPCISSAIGCSCKSKVCYRN +>ACP132 +GIPCAESCVWIPCTVTALIGCGCSNKVCYN +>ACP134 +GTFPCGESCVFIPCLTSAIGCSCKSKVCYKN +>ACP136 +GLLPCAESCVYIPCLTTVIGCSCKSKVCYKN +>ACP138 +GRDYRTCLTIVQKLKKMVDKPTQRSVSNAATRVCRTGRSRWRDVCRNFMRRYQSRVTQGLVAGETAQQICEDLRLCIPSTGPL +>ACP140 +GETDPNTQLLNDLGNNMAWGAALGAPGGLGSAALGAAGGALQTVGQGLIDHGPVNVFIPVLIGPSWNGSGSGYNSATSSSGSGS +>ACP142 +GFKDLLKGAAKALVKTVLF +>ACP144 +KSCCPNTTGRNIYNACRLTGAPRPTCAKLSGCKIISGSTCPSDYPK +>ACP146 +KSCCPNTTGRNIYNTCRFGGGSREVCARISGCKIISASTCPSDYPK +>ACP148 +KSCCPNTTGRNIYNTCRLTGSSRETCAKLSGCKIISASTCPSNYPK +>ACP150 +MRKEFHNVLSSGQLLADKRPARDYNRK +>ACP152 +KSCCKNTTGRNIYNTCRFAGGSRERCAKLSGCKIISASTCPSDYPK +>ACP154 +FIFHIIKGLFHAGKMIHGLVTRRRH +>ACP156 +FLPAIVGAAAKFLPKIFCAISKKC +>ACP158 +FLPIIAGVAAKVLPKIFCAISKKC +>ACP160 +FLPIIAGIAAKFLPKIFCTISKKC +>ACP162 +FLPVIAGVAANFLPKLFCAISKKC +>ACP164 +FLPIIAGAAAKVVQKIFCAISKKC +>ACP166 +GLMDTIKGVAKTVAASWLDKLKCKITGC +>ACP168 +VNWKKVLGKIIKVAK +>ACP170 +VNWKKILGKIIKVAK +>ACP172 +FFSLLPSLIGGLVSAIK +>ACP174 +RFRLPFRRPPIRIHPPPFYPPFRRFL +>ACP176 +KWKLFKKIPKFLHLAKKF +>ACP178 +YKQCHKKGGHCFPKEKICLPPSSDFGKMDCRWRWKCCKKGSG +>ACP180 +GIPCGESCVFIPCITGAIGCSCKSKVCYRN +>ACP182 +GEFLKCGESCVQGECYTPGCSCDWPICKKN +>ACP184 +GLPTCGETCTLGTCYVPDCSCSWPICMKN +>ACP186 +GLPVCGETCFGGTCNTPGCTCDPWPVCTRN +>ACP188 +FVDLKKIANIINSIFGK +>ACP190 +GSIPCGESCVFIPCISSVIGCACKSKVCYKN +>ACP192 +GIPCGESCVFIPCISSVIGCSCSSKVCYRN +>ACP194 +GSIPCGESCVFIPCISAVIGCSCSNKVCYKN +>ACP196 +GSIPCEGSCVFIPCISAIIGCSCSNKVCYKN +>ACP198 +GIPCGESCVFIPCLTSAIDCSCKSKVCYRN +>ACP200 +GMWSKILGHLIR +>ACP202 +GKWMSLLKHILK +>ACP204 +GFGMALKLLKKVL +>ACP206 +GTGLPMSERRKIMLMMR +>ACP208 +GIACGESCVFLGCFIPGCSCKSKVCYFN +>ACP210 +GVIPCGESCVFIPCISSVLGCSCKNKVCYRD +>ACP212 +KLCGETCFKFKCYTPGCSCSYPFCK +>ACP214 +GDACGETCFTGICFTAGCSCNPWPTCTRN +>ACP216 +GIPCAESCVWIPPCTITALMGCSCKNNVCYNN +>ACP218 +IPCGESCVWIPCITAIAGCSCKNKVCYT +>ACP220 +AIPCGESCVWIPCISTVIGCSCSNKVCYR +>ACP222 +GEYCGESCYLIPCFTPGCYCVSRQCVNKN +>ACP224 +IPCGESCVWIPCISGMFGCSCKDKVCYS +>ACP226 +FLGWLFKWASK +>ACP228 +FLKWLFKWAKK +>ACP230 +KWKSFLKTFKSAKKTVLHTALKAISS +>ACP232 +KWKSFLKTFKSLKKTVLHTLLKAISS +>ACP234 +MPFLFCNVNDVCNFASRNDYSCNYYSNSYSFWLASLNPER +>ACP236 +KWKLFKKIGAVLKVL +>ACP238 +GACFSIAHECGA +>ACP240 +TCCATGACGTTCCTGACGTT +>ACP242 +KRFKQDGGASHASPASS +>ACP244 +KRAKAAGGWSHWSPWSSC +>ACP246 +LLGDFFRKSKEKIGKEFKRIVQRIKDFLRNLVPRTES +>ACP248 +FLGALFKVASKVLPSVKCAITKKC +>ACP250 +GIGKFLKKAKKFGKAFVKILKK +>ACP252 +GIGKFLKKAKKGIGAVLKVLTTGL +>ACP254 +VECYGPNRPQF +>ACP256 +KRFKQDGGWSHWSPWSSC +>ACP258 +RQVFQVAYIIIKA +>ACP260 +KAFDITYVRLKF +>ACP262 +DFKLFAVTIKYR +>ACP264 +DFKLFAVYIKYR +>ACP266 +WHSDMEWWYLLG +>ACP268 +HTMYYHHYQHHL +>ACP270 +RLVSYNGIIFFLK +>ACP272 +GRENYHGCTTHWGFTLC +>ACP274 +ASSSYPLIHWRPWAR |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Property_Based_Descriptors/Out.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Sequence_Property_Based_Descriptors/Out.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,1 @@ + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Property_Based_Descriptors/PDAUG_Sequence_Property_Based_Descriptors.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Sequence_Property_Based_Descriptors/PDAUG_Sequence_Property_Based_Descriptors.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,158 @@ +import pandas as pd +from pydpi.pypro import PyPro +import os + + +def BinaryDescriptor(seq): + + BinaryCode = { + + 'A':"1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0", + 'C':"0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0", + 'D':"0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0", + 'E':"0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0", + 'F':"0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0", + 'G':"0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0", + 'H':"0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0", + 'I':"0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0", + 'K':"0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0", + 'L':"0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0", + 'M':"0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0", + 'N':"0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0", + 'P':"0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0", + 'Q':"0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0", + 'R':"0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0", + 'S':"0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0", + 'T':"0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0", + 'V':"0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0", + 'W':"0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0", + 'Y':"0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1", + } + + lines = [] + Df = [] + + + for s in seq: + des = [] + for n in s: + des.append(BinaryCode[n.upper()]) + lines.append(','.join(des).split(',')) + + df = pd.DataFrame(lines) + + return df + +def Decriptor_generator(InFile, Lamda, Weight, DesType, Out_file): + + list_pep_name = [] + f = open(InFile) + lines = f.readlines() + + for line in lines: + if ">" in line: + pass + else: + list_pep_name.append(line.strip('\n')) + + out_df = pd.DataFrame() + + for seq in list_pep_name: + + protein = PyPro() + protein.ReadProteinSequence(seq) + + if DesType == 'PAAC': + DS = protein.GetPAAC(lamda=int(Lamda), weight=float(Weight)) + df = pd.DataFrame(DS, index=[0]) + elif DesType == 'APAAC': + DS = protein.GetAPAAC(lamda=int(Lamda), weight=float(Weight)) + df = pd.DataFrame(DS, index=[0]) + elif DesType == 'CTD': + DS = protein.GetCTD() + df = pd.DataFrame(DS, index=[0]) + elif DesType == 'DPComp': + DS = protein.GetDPComp() + df = pd.DataFrame(DS, index=[0]) + elif DesType == 'GearyAuto': + DS = protein.GetGearyAuto() + df = pd.DataFrame(DS, index=[0]) + elif DesType == 'MoranAuto': + DS = protein.GetMoranAuto() + df = pd.DataFrame(DS, index=[0]) + elif DesType == 'MoreauBrotoAuto': + DS = protein.GetMoreauBrotoAuto() + df = pd.DataFrame(DS, index=[0]) + elif DesType == 'QSO': + DS = protein.GetQSO() + df = pd.DataFrame(DS, index=[0]) + elif DesType == 'SOCN': + DS = protein.GetSOCN() + df = pd.DataFrame(DS, index=[0]) + elif DesType == 'TPComp': + DS = protein.GetTPComp() + df = pd.DataFrame(DS, index=[0]) + elif DesType == 'All': + DS_1 = protein.GetPAAC(lamda=int(Lamda), weight=float(Weight)) + DS_2 = protein.GetAPAAC(lamda=int(Lamda), weight=float(Weight)) + DS_3 = protein.GetCTD() + DS_4 = protein.GetDPComp() + DS_5 = protein.GetGearyAuto() + DS_6 = protein.GetMoranAuto() + DS_7 = protein.GetMoreauBrotoAuto() + DS_8 = protein.GetQSO() + DS_9 = protein.GetSOCN() + DS_10 = protein.GetTPComp() + + DS = {} + + for D in (DS_1, DS_2, DS_3, DS_4, DS_5, DS_6, DS_7, DS_8, DS_9, DS_10): + DS.update(D) + + df = pd.DataFrame(DS, index=[0]) + + if DesType == 'BinaryDescriptor': + out_df = BinaryDescriptor(list_pep_name) + else: + out_df = pd.concat([out_df, df], axis=0) + + + out_df.to_csv(Out_file, index=False, sep='\t') + + +if __name__=="__main__": + + + import argparse + + parser = argparse.ArgumentParser() + + parser.add_argument("-I", "--InFile", + required=True, + default=None, + help="pep file") + + parser.add_argument("-l", "--Lamda", + required=False, + default=50, + help="pep file") + + parser.add_argument("-w", "--Weight", + required=False, + default=0.5, + help="pep file") + + parser.add_argument("-t", "--DesType", + required=True, + default=None, + help="out put file name for str Descriptors") + + parser.add_argument("-O", "--Out_file", + required=False, + default="Out.tsv", + help="Path to target tsv file") + + args = parser.parse_args() + Decriptor_generator(args.InFile, args.Lamda, args.Weight, args.DesType, args.Out_file) + + \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Property_Based_Descriptors/test-data/Out.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Sequence_Property_Based_Descriptors/test-data/Out.tsv Wed Oct 28 01:59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t0\t0\t0\t0\t0.0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0.0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0.0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0.0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0.0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0.0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0.0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0.0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0.0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0.118\t0.824\t0.059\t41.176\t47.059\t41.176\t41.176\t47.059\t5.882\t17.647\t58.824\t76.471\t100.0\t23.529\t23.529\t23.529\t23.529\t23.529\t0.125\t0.0\t0.125\t0.176\t0.353\t0.471\t23.529\t47.059\t23.529\t41.176\t47.059\t5.882\t5.882\t64.706\t70.588\t94.118\t11.765\t17.647\t35.294\t76.471\t100.0\t0.0\t0.25\t0.313\t0.353\t0.412\t0.235\t5.882\t5.882\t58.824\t64.706\t94.118\t11.765\t11.765\t35.294\t76.471\t100.0\t17.647\t17.647\t41.176\t47.059\t70.588\t0.313\t0.125\t0.25\t0.471\t0.0\t0.176\t11.765\t17.647\t35.294\t76.471\t100.0\t0.0\t0.0\t0.0\t0.0\t0.0\t41.176\t70.588\t41.176\t47.059\t70.588\t0.0\t0.188\t0.0\t0.353\t0.412\t0.235\t5.882\t5.882\t58.824\t64.706\t94.118\t11.765\t11.765\t35.294\t76.471\t100.0\t17.647\t17.647\t41.176\t47.059\t70.588\t0.313\t0.125\t0.25\t0.294\t0.412\t0.294\t11.765\t11.765\t41.176\t47.059\t70.588\t17.647\t17.647\t35.294\t76.471\t100.0\t5.882\t5.882\t23.529\t64.706\t94.118\t0.313\t0.188\t0.25\t0.647\t0.176\t0.176\t5.882\t11.765\t35.294\t64.706\t100.0\t23.529\t47.059\t23.529\t41.176\t47.059\t70.588\t94.118\t70.588\t88.235\t94.118\t0.25\t0.25\t0.0\t5.523\t2.186\t1.314\t1.113\t1.429\t0.238\t0.025\t0.35\t0.0\t0.0\t0.0\t7.66\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t4.911\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t3.171\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t4.7\t5.058\t3.807\t2.541\t3.165\t5.523\t2.186\t1.314\t1.113\t1.429\t0.238\t0.025\t0.35\t0.0\t0.0\t0.0\t7.66\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t4.911\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t3.171\t0.0\t0.0\t0.0\t0.0\t0.0\t0.0\t4.7\t5.058\t3.807\t2.541\t3.165\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Property_Based_Descriptors/test-data/Out1.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Sequence_Property_Based_Descriptors/test-data/Out1.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,9 @@\n+0\t1\t2\t3\t4\t5\t6\t7\t8\t9\t10\t11\t12\t13\t14\t15\t16\t17\t18\t19\t20\t21\t22\t23\t24\t25\t26\t27\t28\t29\t30\t31\t32\t33\t34\t35\t36\t37\t38\t39\t40\t41\t42\t43\t44\t45\t46\t47\t48\t49\t50\t51\t52\t53\t54\t55\t56\t57\t58\t59\t60\t61\t62\t63\t64\t65\t66\t67\t68\t69\t70\t71\t72\t73\t74\t75\t76\t77\t78\t79\t80\t81\t82\t83\t84\t85\t86\t87\t88\t89\t90\t91\t92\t93\t94\t95\t96\t97\t98\t99\t100\t101\t102\t103\t104\t105\t106\t107\t108\t109\t110\t111\t112\t113\t114\t115\t116\t117\t118\t119\t120\t121\t122\t123\t124\t125\t126\t127\t128\t129\t130\t131\t132\t133\t134\t135\t136\t137\t138\t139\t140\t141\t142\t143\t144\t145\t146\t147\t148\t149\t150\t151\t152\t153\t154\t155\t156\t157\t158\t159\t160\t161\t162\t163\t164\t165\t166\t167\t168\t169\t170\t171\t172\t173\t174\t175\t176\t177\t178\t179\t180\t181\t182\t183\t184\t185\t186\t187\t188\t189\t190\t191\t192\t193\t194\t195\t196\t197\t198\t199\t200\t201\t202\t203\t204\t205\t206\t207\t208\t209\t210\t211\t212\t213\t214\t215\t216\t217\t218\t219\t220\t221\t222\t223\t224\t225\t226\t227\t228\t229\t230\t231\t232\t233\t234\t235\t236\t237\t238\t239\t240\t241\t242\t243\t244\t245\t246\t247\t248\t249\t250\t251\t252\t253\t254\t255\t256\t257\t258\t259\t260\t261\t262\t263\t264\t265\t266\t267\t268\t269\t270\t271\t272\t273\t274\t275\t276\t277\t278\t279\t280\t281\t282\t283\t284\t285\t286\t287\t288\t289\t290\t291\t292\t293\t294\t295\t296\t297\t298\t299\t300\t301\t302\t303\t304\t305\t306\t307\t308\t309\t310\t311\t312\t313\t314\t315\t316\t317\t318\t319\t320\t321\t322\t323\t324\t325\t326\t327\t328\t329\t330\t331\t332\t333\t334\t335\t336\t337\t338\t339\t340\t341\t342\t343\t344\t345\t346\t347\t348\t349\t350\t351\t352\t353\t354\t355\t356\t357\t358\t359\t360\t361\t362\t363\t364\t365\t366\t367\t368\t369\t370\t371\t372\t373\t374\t375\t376\t377\t378\t379\t380\t381\t382\t383\t384\t385\t386\t387\t388\t389\t390\t391\t392\t393\t394\t395\t396\t397\t398\t399\t400\t401\t402\t403\t404\t405\t406\t407\t408\t409\t410\t411\t412\t413\t414\t415\t416\t417\t418\t419\t420\t421\t422\t423\t424\t425\t426\t427\t428\t429\t430\t431\t432\t433\t434\t435\t436\t437\t438\t439\t440\t441\t442\t443\t444\t445\t446\t447\t448\t449\t450\t451\t452\t453\t454\t455\t456\t457\t458\t459\t460\t461\t462\t463\t464\t465\t466\t467\t468\t469\t470\t471\t472\t473\t474\t475\t476\t477\t478\t479\t480\t481\t482\t483\t484\t485\t486\t487\t488\t489\t490\t491\t492\t493\t494\t495\t496\t497\t498\t499\t500\t501\t502\t503\t504\t505\t506\t507\t508\t509\t510\t511\t512\t513\t514\t515\t516\t517\t518\t519\t520\t521\t522\t523\t524\t525\t526\t527\t528\t529\t530\t531\t532\t533\t534\t535\t536\t537\t538\t539\t540\t541\t542\t543\t544\t545\t546\t547\t548\t549\t550\t551\t552\t553\t554\t555\t556\t557\t558\t559\t560\t561\t562\t563\t564\t565\t566\t567\t568\t569\t570\t571\t572\t573\t574\t575\t576\t577\t578\t579\t580\t581\t582\t583\t584\t585\t586\t587\t588\t589\t590\t591\t592\t593\t594\t595\t596\t597\t598\t599\t600\t601\t602\t603\t604\t605\t606\t607\t608\t609\t610\t611\t612\t613\t614\t615\t616\t617\t618\t619\t620\t621\t622\t623\t624\t625\t626\t627\t628\t629\t630\t631\t632\t633\t634\t635\t636\t637\t638\t639\t640\t641\t642\t643\t644\t645\t646\t647\t648\t649\t650\t651\t652\t653\t654\t655\t656\t657\t658\t659\n+0\t0\t0\t0\t0\t1\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t1\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\t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t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Sequence_Property_Based_Descriptors/test-data/positive.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Sequence_Property_Based_Descriptors/test-data/positive.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,16 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLFDIIKKIAESI +>ACP4 +GLLDIVKKVVGAFGSL +>ACP6 +GLFDIVKKVVGALGSL +>ACP8 +GLFDIVKKVVGTLAGL +>ACP10 +GLFDIAKKVIGVIGSL +>ACP12 +GLFDIVKKIAGHIAGSI +>ACP14 +GLFDIVKKIAGHIVSSI |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_TSVtoFASTA/PDAUG_TSVtoFASTA.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_TSVtoFASTA/PDAUG_TSVtoFASTA.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,57 @@ +import os +import argparse + + +def TSVtoFASTA(InFile, Method, Positive, Negative, OutFile): + + if Method == 'WithClassLabel': + + f = open(InFile) + lines = f.readlines() + + of1 = open(Positive,'w') + of2 = open(Negative,'w') + + n = 0 + m = 0 + + for line in lines: + + if '1' in line.split('\t')[1].strip('\n'): + n= n+1 + of1.write('>peptide_'+str(n)+'\n') + of1.write(line.split('\t')[0]+'\n') + + if '0' in line.split('\t')[1].strip('\n'): + m= m+1 + of2.write('>peptide_'+str(m)+'\n') + of2.write(line.split('\t')[0]+'\n') + + elif Method == 'NoClassLabel': + + f = open(InFile) + lines = f.readlines() + of1 = open(OutFile,'w') + + for i, line in enumerate(lines[1:]): + of1.write('>peptide_'+str(i)+'\n') + of1.write(line.split('\t')[0]+'\n') + + else: + pass + +if __name__=="__main__": + + import argparse + + parser = argparse.ArgumentParser() + + parser.add_argument("-I", "--InFile", required=True, default=None, help=".fasta or .tsv") + parser.add_argument("-P", "--Postvs", required=False, default='Positive.fasta', help="Path to target tsv file") + parser.add_argument("-N", "--Negtvs", required=False, default='Negative.fasta', help="Path to target tsv file") + parser.add_argument("-O", "--OutFile", required=False, default='OutFile.fasta', help="Path to target tsv file") + parser.add_argument("-M", "--Method", required=True, default=None, help="Path to target tsv file") + args = parser.parse_args() + + TSVtoFASTA(args.InFile, args.Method, args.Postvs, args.Negtvs, args.OutFile) + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_TSVtoFASTA/test-data/test1.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_TSVtoFASTA/test-data/test1.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,24 @@ +Peptides Class_label +GLFDIVKKVVGALG 0 +KLLKLLKKKLLK 0 +KLLLLKLLK 0 +GLFDIVKKVVGALG 0 +GLFDIVKKVVGALG 0 +KLLKLLKKKLLK 0 +KLLLLKLLK 0 +GLFDIVKKVVGALG 0 +GLFDIVKKVVGALG 0 +KLLKLLKKKLLK 0 +KLLLLKLLK 0 +GLFDIVKKVVGALG 0 +GLFDIVKKVVGALG 1 +KLLKLLKKKLLK 1 +KLLLLKLLK 1 +GLFDIVKKVVGALG 1 +GLFDIVKKVVGALG 1 +KLLKLLKKKLLK 1 +KLLLLKLLK 1 +GLFDIVKKVVGALG 1 +KLLKLLKKKLLK 1 +KLLLLKLLK 1 +GLFDIVKKVVGALG 1 \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_TSVtoFASTA/test-data/test1/Negative.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_TSVtoFASTA/test-data/test1/Negative.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,24 @@ +>peptide_1 +GLFDIVKKVVGALG +>peptide_2 +KLLKLLKKKLLK +>peptide_3 +KLLLLKLLK +>peptide_4 +GLFDIVKKVVGALG +>peptide_5 +GLFDIVKKVVGALG +>peptide_6 +KLLKLLKKKLLK +>peptide_7 +KLLLLKLLK +>peptide_8 +GLFDIVKKVVGALG +>peptide_9 +GLFDIVKKVVGALG +>peptide_10 +KLLKLLKKKLLK +>peptide_11 +KLLLLKLLK +>peptide_12 +GLFDIVKKVVGALG |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_TSVtoFASTA/test-data/test1/Positive.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_TSVtoFASTA/test-data/test1/Positive.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,22 @@ +>peptide_1 +GLFDIVKKVVGALG +>peptide_2 +KLLKLLKKKLLK +>peptide_3 +KLLLLKLLK +>peptide_4 +GLFDIVKKVVGALG +>peptide_5 +GLFDIVKKVVGALG +>peptide_6 +KLLKLLKKKLLK +>peptide_7 +KLLLLKLLK +>peptide_8 +GLFDIVKKVVGALG +>peptide_9 +KLLKLLKKKLLK +>peptide_10 +KLLLLKLLK +>peptide_11 +GLFDIVKKVVGALG |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_TSVtoFASTA/test-data/test2.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_TSVtoFASTA/test-data/test2.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,24 @@ +Peptides +GLFDIVKKVVGALG +KLLKLLKKKLLK +KLLLLKLLK +GLFDIVKKVVGALG +GLFDIVKKVVGALG +KLLKLLKKKLLK +KLLLLKLLK +GLFDIVKKVVGALG +GLFDIVKKVVGALG +KLLKLLKKKLLK +KLLLLKLLK +GLFDIVKKVVGALG +GLFDIVKKVVGALG +KLLKLLKKKLLK +KLLLLKLLK +GLFDIVKKVVGALG +GLFDIVKKVVGALG +KLLKLLKKKLLK +KLLLLKLLK +GLFDIVKKVVGALG +KLLKLLKKKLLK +KLLLLKLLK +GLFDIVKKVVGALG \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_TSVtoFASTA/test-data/test2/Out.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_TSVtoFASTA/test-data/test2/Out.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,69 @@ +>peptide_0 +GLFDIVKKVVGALG + +>peptide_1 +KLLKLLKKKLLK + +>peptide_2 +KLLLLKLLK + +>peptide_3 +GLFDIVKKVVGALG + +>peptide_4 +GLFDIVKKVVGALG + +>peptide_5 +KLLKLLKKKLLK + +>peptide_6 +KLLLLKLLK + +>peptide_7 +GLFDIVKKVVGALG + +>peptide_8 +GLFDIVKKVVGALG + +>peptide_9 +KLLKLLKKKLLK + +>peptide_10 +KLLLLKLLK + +>peptide_11 +GLFDIVKKVVGALG + +>peptide_12 +GLFDIVKKVVGALG + +>peptide_13 +KLLKLLKKKLLK + +>peptide_14 +KLLLLKLLK + +>peptide_15 +GLFDIVKKVVGALG + +>peptide_16 +GLFDIVKKVVGALG + +>peptide_17 +KLLKLLKKKLLK + +>peptide_18 +KLLLLKLLK + +>peptide_19 +GLFDIVKKVVGALG + +>peptide_20 +KLLKLLKKKLLK + +>peptide_21 +KLLLLKLLK + +>peptide_22 +GLFDIVKKVVGALG + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Uversky_Plot/PDAUG_Uversky_Plot.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Uversky_Plot/PDAUG_Uversky_Plot.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,61 @@ +import matplotlib +matplotlib.use('Agg') +import os +import sys +sys.path.insert(0, os.path.abspath('..')) +from quantiprot.utils.io import load_fasta_file +from quantiprot.utils.feature import Feature, FeatureSet +from quantiprot.utils.sequence import compact +from quantiprot.metrics.aaindex import get_aa2charge, get_aa2hydropathy +from quantiprot.metrics.basic import average, average_absolute +from matplotlib import pyplot as plt + + + +def Run_Uverskey(Fasta1, Fasta2, OutFile): + + + amyload_seq = load_fasta_file(Fasta1) + disprot_seq = load_fasta_file(Fasta2) + + net_abs_charge = Feature(get_aa2charge(default=0)).then(average_absolute) + mean_hydropathy = Feature(get_aa2hydropathy(default=0)).then(average) + + uversky_fs = FeatureSet("uversky") + uversky_fs.add(mean_hydropathy, name="mean_hydropathy") + uversky_fs.add(net_abs_charge, name="net_abs_charge") + + amyload_uversky_seq = uversky_fs(amyload_seq) + disprot_uversky_seq = uversky_fs(disprot_seq) + + + amyload_data_x = amyload_uversky_seq.columns(feature="mean_hydropathy")[0] + amyload_data_y = amyload_uversky_seq.columns(feature="net_abs_charge")[0] + plt.plot(amyload_data_x, amyload_data_y,'.', label="Amyload") + + disprot_data = compact(disprot_uversky_seq).columns() + plt.plot(disprot_data[0], disprot_data[1],'.', label="Disprot") + + plt.plot([-0.78, 0.835], [0.0, 0.5],'k') + plt.xlabel("mean hydrophobicity") + plt.ylabel("net abs charge") + plt.legend() + + plt.savefig(OutFile) + + + +if __name__=="__main__": + + import argparse + + parser = argparse.ArgumentParser() + parser.add_argument("-f1", "--Fasta1", required=True, default=None, help="pep file") + parser.add_argument("-f2", "--Fasta2", required=True, default=None, help="out put file name for str Descriptors") + parser.add_argument("--OutFile", required=False, help="HTML out file", default="out.png") + + + + args = parser.parse_args() + + Run_Uverskey(args.Fasta1, args.Fasta2, args.OutFile) |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Uversky_Plot/test-data/out.png |
b |
Binary file PDAUG_Uversky_Plot/test-data/out.png has changed |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Uversky_Plot/test-data/test1.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Uversky_Plot/test-data/test1.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>ACP0 +GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV +>ACP2 +GLFDIIKKIAESI +>ACP4 +GLLDIVKKVVGAFGSL +>ACP6 +GLFDIVKKVVGALGSL +>ACP8 +GLFDIVKKVVGTLAGL +>ACP10 +GLFDIAKKVIGVIGSL +>ACP12 +GLFDIVKKIAGHIAGSI +>ACP14 +GLFDIVKKIAGHIVSSI +>ACP16 +AACARFIDDFCDTLTPNIYRPRDNGQRCYAVNGHRCDFTVFNTNNGGNPIRASTPNCKTVLRTAANRCPTGGRGKINPNAPFLFAIDPNDGDCSTNF +>ACP18 +HGVSGHGQHGVHG +>ACP20 +FKCRRWQWRMKKLGAPSITCVRRAF +>ACP22 +KWKLFKKIKFLHSAKKF +>ACP24 +KSSAYSLQMGATAIKQVKKLFKKWGW +>ACP26 +GIGTKILGGVKTALKGALKELASTYAN +>ACP28 +GIGGKILSGLKTALKGAAKELASTYLH +>ACP30 +GIGGVLLSAGKAALKGLAKVLAEKYAN +>ACP32 +SIGAKILGGVKTFFKGALKELASTYLQ +>ACP34 +FLPLLAGLAANFLPTIICKISYKC +>ACP36 +FVQWFSKFLGRIL +>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KKIMRSFLRRISWDILTGKKPQAICVDIKICKEKTGLI +>ACP96 +DHYNCVSSGGQCLYSACPIFTKIQGTCYRGKAKCCK +>ACP98 +FFHHIFRGIVHVGKTIHRLVTG +>ACP100 +KLAKLAKKLAKLAK +>ACP102 +KTCENLADTFRGPCFATSNC +>ACP104 +IDWKKLLDAAKQIL +>ACP106 +FLIGMTQGLICLITRKC +>ACP108 +ILPILSLIGGLLGK +>ACP110 +GLLGLLGSVVSHVVPAIVGHF +>ACP112 +GLLGLLGSVVSHVLPAITQHL +>ACP114 +GIKCRFCCGCCTPGICGVCCRF +>ACP116 +QSHLSLCRWCCNCCRSNKGC +>ACP118 +ILGPVISTIGGVLGGLLKNL +>ACP120 +FLPILASLAAKFGPKLFCLVTKKC +>ACP122 +GLWSKIKEAAKAAGKAALNAVTGLVNQGDQPS +>ACP124 +LLGMIPLAISAISALSKL +>ACP126 +GLPVCGETCVGGTCNTPGCSCSWPVCTRN +>ACP128 +GVPICGETCTLGTCYTAGCSCSWPVCTRN +>ACP130 +GIPCGESCVWIPCISSAIGCSCKSKVCYRN +>ACP132 +GIPCAESCVWIPCTVTALIGCGCSNKVCYN +>ACP134 +GTFPCGESCVFIPCLTSAIGCSCKSKVCYKN +>ACP136 +GLLPCAESCVYIPCLTTVIGCSCKSKVCYKN +>ACP138 +GRDYRTCLTIVQKLKKMVDKPTQRSVSNAATRVCRTGRSRWRDVCRNFMRRYQSRVTQGLVAGETAQQICEDLRLCIPSTGPL +>ACP140 +GETDPNTQLLNDLGNNMAWGAALGAPGGLGSAALGAAGGALQTVGQGLIDHGPVNVFIPVLIGPSWNGSGSGYNSATSSSGSGS +>ACP142 +GFKDLLKGAAKALVKTVLF +>ACP144 +KSCCPNTTGRNIYNACRLTGAPRPTCAKLSGCKIISGSTCPSDYPK +>ACP146 +KSCCPNTTGRNIYNTCRFGGGSREVCARISGCKIISASTCPSDYPK +>ACP148 +KSCCPNTTGRNIYNTCRLTGSSRETCAKLSGCKIISASTCPSNYPK +>ACP150 +MRKEFHNVLSSGQLLADKRPARDYNRK +>ACP152 +KSCCKNTTGRNIYNTCRFAGGSRERCAKLSGCKIISASTCPSDYPK +>ACP154 +FIFHIIKGLFHAGKMIHGLVTRRRH +>ACP156 +FLPAIVGAAAKFLPKIFCAISKKC +>ACP158 +FLPIIAGVAAKVLPKIFCAISKKC +>ACP160 +FLPIIAGIAAKFLPKIFCTISKKC +>ACP162 +FLPVIAGVAANFLPKLFCAISKKC +>ACP164 +FLPIIAGAAAKVVQKIFCAISKKC +>ACP166 +GLMDTIKGVAKTVAASWLDKLKCKITGC +>ACP168 +VNWKKVLGKIIKVAK +>ACP170 +VNWKKILGKIIKVAK +>ACP172 +FFSLLPSLIGGLVSAIK +>ACP174 +RFRLPFRRPPIRIHPPPFYPPFRRFL +>ACP176 +KWKLFKKIPKFLHLAKKF +>ACP178 +YKQCHKKGGHCFPKEKICLPPSSDFGKMDCRWRWKCCKKGSG +>ACP180 +GIPCGESCVFIPCITGAIGCSCKSKVCYRN +>ACP182 +GEFLKCGESCVQGECYTPGCSCDWPICKKN +>ACP184 +GLPTCGETCTLGTCYVPDCSCSWPICMKN +>ACP186 +GLPVCGETCFGGTCNTPGCTCDPWPVCTRN +>ACP188 +FVDLKKIANIINSIFGK +>ACP190 +GSIPCGESCVFIPCISSVIGCACKSKVCYKN +>ACP192 +GIPCGESCVFIPCISSVIGCSCSSKVCYRN +>ACP194 +GSIPCGESCVFIPCISAVIGCSCSNKVCYKN +>ACP196 +GSIPCEGSCVFIPCISAIIGCSCSNKVCYKN +>ACP198 +GIPCGESCVFIPCLTSAIDCSCKSKVCYRN +>ACP200 +GMWSKILGHLIR +>ACP202 +GKWMSLLKHILK +>ACP204 +GFGMALKLLKKVL +>ACP206 +GTGLPMSERRKIMLMMR +>ACP208 +GIACGESCVFLGCFIPGCSCKSKVCYFN +>ACP210 +GVIPCGESCVFIPCISSVLGCSCKNKVCYRD +>ACP212 +KLCGETCFKFKCYTPGCSCSYPFCK +>ACP214 +GDACGETCFTGICFTAGCSCNPWPTCTRN +>ACP216 +GIPCAESCVWIPPCTITALMGCSCKNNVCYNN +>ACP218 +IPCGESCVWIPCITAIAGCSCKNKVCYT +>ACP220 +AIPCGESCVWIPCISTVIGCSCSNKVCYR +>ACP222 +GEYCGESCYLIPCFTPGCYCVSRQCVNKN +>ACP224 +IPCGESCVWIPCISGMFGCSCKDKVCYS +>ACP226 +FLGWLFKWASK +>ACP228 +FLKWLFKWAKK +>ACP230 +KWKSFLKTFKSAKKTVLHTALKAISS +>ACP232 +KWKSFLKTFKSLKKTVLHTLLKAISS +>ACP234 +MPFLFCNVNDVCNFASRNDYSCNYYSNSYSFWLASLNPER +>ACP236 +KWKLFKKIGAVLKVL +>ACP238 +GACFSIAHECGA +>ACP240 +TCCATGACGTTCCTGACGTT +>ACP242 +KRFKQDGGASHASPASS +>ACP244 +KRAKAAGGWSHWSPWSSC +>ACP246 +LLGDFFRKSKEKIGKEFKRIVQRIKDFLRNLVPRTES +>ACP248 +FLGALFKVASKVLPSVKCAITKKC +>ACP250 +GIGKFLKKAKKFGKAFVKILKK +>ACP252 +GIGKFLKKAKKGIGAVLKVLTTGL +>ACP254 +VECYGPNRPQF +>ACP256 +KRFKQDGGWSHWSPWSSC +>ACP258 +RQVFQVAYIIIKA +>ACP260 +KAFDITYVRLKF +>ACP262 +DFKLFAVTIKYR +>ACP264 +DFKLFAVYIKYR +>ACP266 +WHSDMEWWYLLG +>ACP268 +HTMYYHHYQHHL +>ACP270 +RLVSYNGIIFFLK +>ACP272 +GRENYHGCTTHWGFTLC +>ACP274 +ASSSYPLIHWRPWAR |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Uversky_Plot/test-data/test2.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Uversky_Plot/test-data/test2.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
@@ -0,0 +1,276 @@ +>non-ACP0 +MTISLIWGIAMVVCCCIWVIFDRRRRKAGEPPL +>non-ACP2 +MFATPLRQPTNASGARPAVSMDGQETPFQYEITD +>non-ACP4 +LLWRKVAGATVGPGPVPA +>non-ACP6 +DSPDPMNGASSNALIAKMNSAKLLYQHY +>non-ACP8 +NNQEVIDAISQAISQTPGCVL +>non-ACP10 +KKVVEKNADPETTLLVYLRRKLGLCGTKLGCGEG +>non-ACP12 +CSRLLPSLAQEEG +>non-ACP14 +KNDFAALQAKLDADAAEIEKWWSDSR +>non-ACP16 +VDREQLVQKARLAEQAERYDD +>non-ACP18 +RPLRRVVLFYQGKLCSMAGNFWQSSHYLQW +>non-ACP20 +GAAGERKLCLLSLLLIGA +>non-ACP22 +MFRKLLKMWILLRPTHWLILIALCAVTCAGYWLLWSE +>non-ACP24 +HLRGPADSGWMPQAAPCLSGAPQAS +>non-ACP26 +NNPNNSNSHLRPHAYNNSRRDDSD +>non-ACP28 +VVILASLSVMFLVSLWQQKIRERLPPGPTPLPFIGNY +>non-ACP30 +ICLSCLISFFLWNQNRAKGKLPPG +>non-ACP32 +VVMNSLRVILQAS +>non-ACP34 +ARPRLDLQLVQRFVRIQKVF +>non-ACP36 +MLAKGLSLRSVLAKGCQPFLSPTWQSSVLATGGGANIS +>non-ACP38 +AAGLPGAALPLRKRPLRAPSPEPAAPRGAAGLVV +>non-ACP40 +PPMPSAPPVHPPP +>non-ACP42 +SCPIDKRRPLIAFLRRLRD +>non-ACP44 +RLGLWASGLILILGFLKLLRLLLRRQRLARAMD +>non-ACP46 +FSPQRDRFQAEGS +>non-ACP48 +GTLWALVFLGILVGMVVPSPAGTRANNTLLDSRG +>non-ACP50 +MNRLLQKGTSLVPSWRTR +>non-ACP52 +MTTSLIWGIAIAACCCLWLILGIRRRQT +>non-ACP54 +ATLANGMSLQPPLEEVS +>non-ACP56 +PLTATNSGLAVNN +>non-ACP58 +VRACHKVCRCLLSGFGGRVDAGQPELLTER +>non-ACP60 +TAGILLLLLLGTLEGS +>non-ACP62 +MEPSILLLLALLVGFLLLLVRGH +>non-ACP64 +MKNCFQLLCNLKVPAAGFKNTVKS +>non-ACP66 +SVIHTQAHASGLQQVPQLVPAGPGGGGKAVAPSKQSK +>non-ACP68 +KPLGLLKPSSLMKVSGRFKAHQDA +>non-ACP70 +ARTLNNKLSLSKPKFSGFT +>non-ACP72 +LLLVIIWTLFGPSGLGEELLSLSLASLLPAPASPGPP +>non-ACP74 +WPGILVGGARVASCRYPALGPRLA +>non-ACP76 +RSVKGLVALITGGASGL +>non-ACP78 +AAAALRARILQVSSKVN +>non-ACP80 +TGCCIAGRLANLDDQNLTVAL +>non-ACP82 +GSILGFLQIATVLTVLLLLLK +>non-ACP84 +AARQIGSCLMRCRTLDTTSP +>non-ACP86 +WGCRGRRWAFARVDGGSCHRRGAPTGSTSNQIR +>non-ACP88 +YAKPGAVRSPAQILQWQVLPNTVPAKS +>non-ACP90 +RMAGPWLSLHEARLLGTRGAAAPKAV +>non-ACP92 +SISNRAAVPEHGVAPDAERL +>non-ACP94 +PNFSMETWLLLV +>non-ACP96 +PRPPSKTYRGAFQN +>non-ACP98 +SVLVKGCQPFLSAPRECPGHPRVGT +>non-ACP100 +LVTPPKALLKPLSIPNQ +>non-ACP102 +KMQGSRMDEQRCS +>non-ACP104 +VIADDLPPTCIRP +>non-ACP106 +LPGGLRVLVQTGH +>non-ACP108 +GWIWRWGWGRRCLGRPGLPGPGPGPATPLFLLLL +>non-ACP110 +RGIRGSSAARPSGRRRDPAGRTTETGFNIFTQHD +>non-ACP112 +QQEKEFLESYPQNCPPDALPGTPGNLD +>non-ACP114 +APARRVLQVKRVMQESSLSPAHL +>non-ACP116 +KVAPGGPTGYPGNLTAEQEQKLGELKMILL +>non-ACP118 +FLASYPQKCPAGSLPGTPGNTDE +>non-ACP120 +MDAKARNCLLQHREALEKDIKTSY +>non-ACP122 +ASRQLLVAPPEAL +>non-ACP124 +MISNGIGTVTTGKRSMCLFPLLLIGLWGC +>non-ACP126 +MTLRNFGMGKRSIEDRVQEEARCLVEELRKTNASPC +>non-ACP128 +AVFGLGGVGLSVIMGCKAAGASRIIAVDIN +>non-ACP130 +PNAKQSILQKNPDDVVIVAAYRTA +>non-ACP132 +AMELLLTATIFYLVLWVVKAFRLQVPKGLKSPPGP +>non-ACP134 +LLAAGFCPAVLCH +>non-ACP136 +AASVNDEQHQRIIKYGRALVLDIVEQ +>non-ACP138 +IARLREDGIQKRVIQEGRGELPDFQDG +>non-ACP140 +FIVVMNILALTLPFLAAEVQN +>non-ACP142 +CQNGRRANRTVRFARTA +>non-ACP144 +WVTVRSQQRGLFPAI +>non-ACP146 +LLRSCPLQGSPGRPRSV +>non-ACP148 +LNDGHFMPVLGFGTYAPPEVPRNRAVEV +>non-ACP150 +HLGRPSAPTIVAQPVSGLASPASFQPEQFQYTLDNNVLT +>non-ACP152 +RPEPGGCCCRRTVRANGC +>non-ACP154 +SWVEENRASFQPPVCNKLMHR +>non-ACP156 +VFHRVRWAPELGASLG +>non-ACP158 +RAKVLTLDGMNPRVRRVEYAVRGPIVQRALELEQELRQ +>non-ACP160 +LLQRARLAEQAERYDDMASAMKAVTELNEPLS +>non-ACP162 +ALIQKLNSDPQFVLAQNVGTTHDLLDICLKRATVQRA +>non-ACP164 +AALPMLWTGLVLLGLLGFPQTPAQGHDTVQPNFQQ +>non-ACP166 +QRRQNDSSVFLAIMVAAAVES +>non-ACP168 +CNAPGCGQRFTNEDHLAVHKHKHEMTLKFGPARTDS +>non-ACP170 +LVLLTVQNSALILTLNYSRIMPGYD +>non-ACP172 +TVLSPPQRFKRILQAMMLAVAVV +>non-ACP174 +ISRGLLLLAALCCLAPSFL +>non-ACP176 +VAGTESAQGPPGPAASLELWLNKATDPS +>non-ACP178 +QYLRIRTVQPEPDYGAAV +>non-ACP180 +ASPTQTPPTTSTIRVARRSRVALVAM +>non-ACP182 +TIWRNQHTYKMATSASANLSKIVKKNYMELPQDGKVQ +>non-ACP184 +LSITRGLLLLAALCCLAPIS +>non-ACP186 +ILLSIWRQSSGRGKLPPGPIPLPIIGNIFQ +>non-ACP188 +LLLLSWVALGPRSLEGADPGTPGEAEGPACP +>non-ACP190 +LRVKRAMQEASFMPPLLPPAAHQRFSTVPAVP +>non-ACP192 +GLLLLAGLCCLVFGIMAEDAQVAQGPSQQI +>non-ACP194 +RHVGLLCATGPQRWRF +>non-ACP196 +AAVALARPKPPLRHQEHLQNEPDS +>non-ACP198 +SRVNDQSQASRNGLKGKVLTLDTMNPCV +>non-ACP200 +AAALGPGVLQATRAFHTGQPRLAPLPPLPEYGGK +>non-ACP202 +LCTSGLWTAQASTNESSNSHRGLAPTNV +>non-ACP204 +PAIQPVLSGLSRIVNGEEA +>non-ACP206 +GCQASLSTAQERLGHPGVPTREGVR +>non-ACP208 +RKVLILTLVVAACGFVLWSSNGR +>non-ACP210 +GRVRSRCPGPALLLLLALAARPALAGPPAAALQ +>non-ACP212 +CRITKPALLVLNQETAKVVQT +>non-ACP214 +KAEVCMAVPWLSLQ +>non-ACP216 +SHLELNNGTKMPTLGLGT +>non-ACP218 +LLLPEAAAERDAREKLALWDRRPDTTAPL +>non-ACP220 +LLALSLVLLYRYATYSHGFFKKLGIPGPKPLPLFGNVLS +>non-ACP222 +LLSLWRQSSGRGKLPPGPTPLPVIGNILQIGIKD +>non-ACP224 +AFKSMEVANFYYEADCLAAAYGGKAAPAAPPADRPGPR +>non-ACP226 +SLFWAARPLQRCGQLVRMAIRAQH +>non-ACP228 +MRPPRTLTSTATMSALSTSMPMEIDDVMDEDAVNGQA +>non-ACP230 +LLSLIGFCWAQYDP +>non-ACP232 +LWARSKNDQLRISFPPGLCWG +>non-ACP234 +PQGFDVDRDAKKLNKACKGMGTNEAAIIEILSG +>non-ACP236 +IFCLILWVVKAWQPRLPKGLKSPPGPWGWPLLG +>non-ACP238 +LDAASPGPLALLGLLFAATLLLSALFLL +>non-ACP240 +VTLLFKLYCLA +>non-ACP242 +ATRAAAARLVGTAASRTPAAARH +>non-ACP244 +RNKLDLETLTDILEHQIR +>non-ACP246 +RRLVLQARTYAQAAASPAPAAGPGQMSFTFASPTQVFF +>non-ACP248 +PGRSRSAADDINPAPANM +>non-ACP250 +LLSALTLETWVLLAVILVLLYRLG +>non-ACP252 +VMGHGLCPQGARAKAAIPAALRDHEST +>non-ACP254 +FLVSIAGLLYALVQLGQPCDCLPPLRAAA +>non-ACP256 +VRSVRAAVGGLRAISAPSAPCLPRPWGLRAG +>non-ACP258 +RGGCWPRGLQQLLVPGG +>non-ACP260 +APATPPRPLKRKKLQFTDVTPESSP +>non-ACP262 +EQAERYDDMAAAMKAVTEQGHELSNEERNL +>non-ACP264 +MPNDPSDNQLK +>non-ACP266 +TELLLAITVFCLGFWVVRALRTQVP +>non-ACP268 +LTADLLGAPFFTLPKELQLALLERQTVFL +>non-ACP270 +GHGRLVEIQGRLGVRIER +>non-ACP272 +LPFKLLLFVLLDGWTRLTH +>non-ACP274 +QALWLVLVLSMPPVLVAAVVGTLVSLVQ |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Word_Vector_Descriptor/PDAUG_Word_Vector_Descriptor.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Word_Vector_Descriptor/PDAUG_Word_Vector_Descriptor.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,59 @@ +import numpy as np +import os +import pandas as pd +from Bio import SeqIO +from nltk import bigrams +from nltk import trigrams +import gensim +import argparse + +parser = argparse.ArgumentParser() + +parser.add_argument("-M", "--ModelInput", required=True, default=None, help="Path to target tsv file") +parser.add_argument("-R", "--row", required=True, default=None, help="Path to target tsv file") +parser.add_argument("-I", "--InputFasta", required=True, default=6, help="Path to target tsv file") +parser.add_argument("-O", "--OutFile", required=False, default='model.txt', help="Path to target tsv file") +parser.add_argument("-P", "--positive", required=True, help="Path to target tsv file") +parser.add_argument("-N", "--negative", required=True, help="Path to target tsv file") + +args = parser.parse_args() + +seed = 42 +np.random.seed(seed) + +new_model = gensim.models.KeyedVectors.load_word2vec_format(args.ModelInput, binary=False) + +import time +t0 = time.time() + +temp_word = np.zeros(shape=(int(args.row), 200)) + +for index, seqs in enumerate(SeqIO.parse(args.InputFasta, 'fasta')): + seq_sum = 0 + tri_seq = trigrams(seqs.seq) + for item in ((tri_seq)): + tri_str = item[0] + item[1] + item[2] + if tri_str not in list(new_model.wv.vocab): + continue + seq_sum = seq_sum + new_model[tri_str] + + temp_word[index] = seq_sum + +t1 = time.time() + + +temp_word = temp_word + + +clm = [x for x in range(0,temp_word.shape[1])] +y_temp_word = np.vstack((np.ones((int(args.positive), 1)), np.zeros((int(args.negative),1)))) + +c, r = y_temp_word.shape +y_temp_word = y_temp_word.reshape(c,) + +class_label = pd.DataFrame(y_temp_word, columns=["Class_label"]) + +df = pd.DataFrame(temp_word, columns=clm) +df = pd.concat([df,class_label], axis=1) + +df.to_csv(args.OutFile, index=None, sep="\t") \ No newline at end of file |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Word_Vector_Descriptor/test-data/Out.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Word_Vector_Descriptor/test-data/Out.tsv Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,277 @@\n+0\t1\t2\t3\t4\t5\t6\t7\t8\t9\t10\t11\t12\t13\t14\t15\t16\t17\t18\t19\t20\t21\t22\t23\t24\t25\t26\t27\t28\t29\t30\t31\t32\t33\t34\t35\t36\t37\t38\t39\t40\t41\t42\t43\t44\t45\t46\t47\t48\t49\t50\t51\t52\t53\t54\t55\t56\t57\t58\t59\t60\t61\t62\t63\t64\t65\t66\t67\t68\t69\t70\t71\t72\t73\t74\t75\t76\t77\t78\t79\t80\t81\t82\t83\t84\t85\t86\t87\t88\t89\t90\t91\t92\t93\t94\t95\t96\t97\t98\t99\t100\t101\t102\t103\t104\t105\t106\t107\t108\t109\t110\t111\t112\t113\t114\t115\t116\t117\t118\t119\t120\t121\t122\t123\t124\t125\t126\t127\t128\t129\t130\t131\t132\t133\t134\t135\t136\t137\t138\t139\t140\t141\t142\t143\t144\t145\t146\t147\t148\t149\t150\t151\t152\t153\t154\t155\t156\t157\t158\t159\t160\t161\t162\t163\t164\t165\t166\t167\t168\t169\t170\t171\t172\t173\t174\t175\t176\t177\t178\t179\t180\t181\t182\t183\t184\t185\t186\t187\t188\t189\t190\t191\t192\t193\t194\t195\t196\t197\t198\t199\tClass_label\n+0.002876069862395525\t0.002013152465224266\t-0.0005238864105194807\t0.0017881660023704171\t0.000319159182254225\t-0.0071934545412659645\t0.0039251516573131084\t-0.000510123441927135\t-0.0010993408504873514\t-0.0002281799679622054\t0.0014749051770195365\t-0.004189853556454182\t0.0018875706009566784\t-0.0007796559948474169\t-0.003969023935496807\t0.001283580670133233\t-0.0017550631891936064\t0.0013466394739225507\t-3.155902959406376e-06\t-0.0033632917329669\t0.001160646672360599\t-0.0004998227814212441\t0.003861493431031704\t0.00011926196748390794\t-0.0016997053753584623\t0.005056729074567556\t0.005311000160872936\t-0.0008090301416814327\t0.00044636079110205173\t-0.0045272731222212315\t0.004110256675630808\t-0.0015549850650131702\t-0.0007750039803795516\t0.00042370252776890993\t-0.0017250602832064033\t0.001877370523288846\t-0.003908749204128981\t-0.0010796056594699621\t-0.003010125830769539\t-0.0028565460816025734\t0.002224354073405266\t-0.0004807154182344675\t0.003372298553586006\t-0.00043598588672466576\t0.0031427869107574224\t-0.004692027345299721\t0.001822689431719482\t0.002597606973722577\t-0.004055988974869251\t-0.0029732491821050644\t-0.0010350901866331697\t-0.006303225643932819\t-0.002266238210722804\t-0.0005199923180043697\t0.0019003931665793061\t-0.0008069402538239956\t-0.0037824236787855625\t0.004136097617447376\t-0.0016465353546664119\t-0.0023379067424684763\t0.004037674516439438\t0.002427662257105112\t0.0011565430322661996\t0.004617234691977501\t0.0019813119433820248\t0.0052543869242072105\t-0.002208664081990719\t-0.0004645588924176991\t-0.00480070011690259\t-0.0032663242891430855\t-0.0023334191646426916\t-0.0005391393206082284\t0.0021192007698118687\t0.007203095592558384\t0.0042351591400802135\t-0.001509595662355423\t0.0014238443691283464\t-0.0014259959571063519\t-0.00013511617726180702\t0.0014671704266220331\t-0.0005564049351960421\t-5.0973379984498024e-05\t0.0009148565586656332\t-0.007398918271064758\t0.001923304982483387\t-0.0008495715446770191\t0.0021623754873871803\t-0.0013175734784454107\t0.00027500116266310215\t0.004394028801470995\t0.00329958857037127\t0.0021894993260502815\t0.005145960953086615\t0.004010985139757395\t0.003553807269781828\t0.0032821199856698513\t-0.001331946114078164\t0.0019571897573769093\t-0.006515602581202984\t0.0001817885786294937\t-0.004057625774294138\t0.0036399890668690205\t-0.0022683748975396156\t0.0024700951762497425\t-0.002987832296639681\t-0.0006394851952791214\t0.0017209271900355816\t-0.004949362017214298\t0.0019073416478931904\t0.002606908557936549\t0.0011787557741627097\t-0.002450707368552685\t0.0057587577030062675\t-0.0026086405850946903\t0.0022303923033177853\t0.0007399451569654047\t-0.0032068295404314995\t0.0020249306689947844\t0.001498427358455956\t-0.0031375070102512836\t-0.0006856690160930157\t0.0009135162690654397\t0.005077754147350788\t0.0023851783480495214\t-0.0016735880635678768\t-0.003467921633273363\t-0.001806486165151\t-0.002326409798115492\t-0.003571863751858473\t0.0016521911602467299\t0.005409293808043003\t0.0008614042308181524\t-0.0018883243901655078\t-0.004356382414698601\t0.0009951991960406303\t0.0013880426995456219\t0.0006064275512471795\t-0.001376464730128646\t0.00035494938492774963\t-0.0025893808342516422\t0.0025832278188318014\t0.003092242404818535\t0.0008804391254670918\t-0.0013823560439050198\t0.0044525726698338985\t0.0003783945576287806\t-0.004836831241846085\t0.00022665434516966343\t0.00'..b'3\t0.002033377531915903\t-0.0026495899073779583\t0.002146740909665823\t-0.005084071774035692\t-0.0010867954697459936\t0.0017109132604673505\t0.0019064857624471188\t-0.003993979189544916\t0.00200260104611516\t0.0022234623320400715\t0.0028521092608571053\t0.0021870594937354326\t0.0027028180193156004\t-0.0045691849663853645\t0.0034677640069276094\t0.001078806002624333\t-0.0010664219735190272\t-0.0010229990584775805\t-0.0020179725252091885\t0.003001515520736575\t0.0009787147864699364\t-0.0018394901417195797\t-0.0015334836207330227\t0.0012183168437331915\t0.005557340569794178\t-0.0017923970008268952\t0.002285949420183897\t0.0030673318542540073\t-0.0013355279807001352\t-0.0034485021606087685\t0.0016355663537979126\t-0.0017150099156424403\t0.0040694791823625565\t0.0010080684442073107\t0.0020960234105587006\t-0.0015460578724741936\t0.0028469825629144907\t9.360769763588905e-05\t-0.0016592501197010279\t-0.0005022701225243509\t-4.412431735545397e-05\t-0.00196050270460546\t0.0015608107205480337\t-0.00174264598172158\t-0.005660944618284702\t0.003711904864758253\t0.0008348884875886142\t-0.00013417145237326622\t0.004527514800429344\t-0.0037523191422224045\t0.002789597027003765\t0.000997038558125496\t0.0031428660731762648\t-0.001756354351527989\t0.0018667889526113868\t0.0008270492544397712\t0.002706748666241765\t0.0007649101316928864\t-0.0005131432553753257\t0.00034426688216626644\t-0.0022627299185842276\t0.0011590005597099662\t-0.0022002009209245443\t-0.0034168404527008533\t-0.004467727616429329\t0.003177420701831579\t-0.0005226427456364036\t0.0042040697298944\t-0.0030558709986507893\t0.004326421767473221\t-0.0016975236358121037\t-0.0003952878760173917\t0.0008066416485235095\t0.0018664784729480743\t-0.0018165820511057973\t0.0005419421358965337\t0.0022178234066814184\t0.000628881505690515\t-7.982354145497084e-05\t-0.0016444545472040772\t-0.002902406733483076\t0.0037457230500876904\t-0.0019539780914783478\t0.0015197801403701305\t0.000745776342228055\t-0.0003599014598876238\t-0.002844651695340872\t-0.0006909091025590897\t0.0017599982675164938\t-0.0030136406421661377\t-0.0017590030329301953\t-8.64422763697803e-05\t0.004559090360999107\t-0.0015828449977561831\t-0.0022629951126873493\t0.004861973226070404\t0.0032848936971277\t-0.0013864852953702211\t-6.155087612569332e-05\t0.0005701519548892975\t0.002744334051385522\t-0.0023324661888182163\t-0.005110220052301884\t-0.0004792588297277689\t0.00275358441285789\t0.002323353197425604\t-0.002174009568989277\t-7.152129546739161e-05\t-0.0007479352643713355\t-0.005641515366733074\t-0.0005789418937638402\t0.002562497276812792\t-0.0033412668853998184\t0.0002948753535747528\t0.0022669844329357147\t0.0016388337826356292\t-0.0016872378764674067\t0.0019724280573427677\t0.0004413030110299587\t-0.0011283005587756634\t-0.004985513631254435\t-0.0024801865220069885\t-0.0033964915201067924\t0.0005892310291528702\t-0.00017090002074837685\t-0.0014938743552193046\t-0.003953130915760994\t0.0009515190031379461\t0.0032097846269607544\t0.002102007158100605\t-0.00268644280731678\t-0.0022746622562408447\t8.743599755689502e-05\t-0.0013649433385580778\t-0.0010014381259679794\t-0.0024304050020873547\t-0.003323193173855543\t0.0010726468171924353\t0.0019294435624033213\t-0.0003883003955706954\t-0.0009873459348455071\t-0.002969208871945739\t0.004465979523956776\t-0.002358919009566307\t-0.0005277839954942465\t-0.0006823883159086108\t-0.0024182540364563465\t0.0022963325027376413\t-0.002697575371712446\t0.0033806872088462114\t-0.0013889697147533298\t-0.003314778907224536\t-0.0008117287652567029\t-0.0015981912147253752\t0.003896045498549938\t0.0007022572681307793\t0.00019068783149123192\t0.00027302082162350416\t0.00047537568025290966\t0.002580575877800584\t0.002524399198591709\t-0.0033303508535027504\t-0.0011188435601070523\t-0.0038763759657740593\t-0.000309227267280221\t-0.0030350249726325274\t0.003388240933418274\t-0.0028431022074073553\t0.004577266052365303\t0.0011421998497098684\t0.0043875896371901035\t0.003427102230489254\t-0.0007279752753674984\t-0.001616594148799777\t0.004729143343865871\t0.002331980038434267\t0.0027535008266568184\t-2.4315551854670048e-05\t0.004995718598365784\t-0.0018620858900249004\t0.0\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Word_Vector_Descriptor/test-data/model.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Word_Vector_Descriptor/test-data/model.txt Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,567 @@\n+566 200\n+SLK 0.001365332 -0.0017459366 -0.00080282777 0.0011080382 -0.0020799749 0.0023665277 0.00064222724 -0.00020277791 -0.0024961173 0.0017166281 0.0016223168 -0.00068261253 -0.0018985914 0.002186477 -0.001368902 -0.0022669677 -0.0009672694 0.0020265202 -0.00024468428 -0.0013020429 -0.0017395875 0.0016356348 -0.00079645164 0.0023032813 0.0024860792 -0.002388357 -0.0014398484 0.00140585 -0.0003748012 -0.0018963028 -0.00017838413 -0.00024190723 0.00024986145 0.002378538 -0.0017191146 0.0023616562 0.001670377 -0.0006269774 -0.0010054546 -0.0011329858 -0.002181357 -0.0020793916 0.002035759 -0.0010104823 0.001482032 -0.0010092463 0.001162038 -0.0023821024 0.00028114635 9.705908e-05 0.0016195059 -0.00094875274 0.0009430515 -0.002029896 0.0018548059 0.0015280207 -0.00028816742 -6.1781415e-05 -0.00077087915 0.0020475688 8.588983e-05 0.00056099205 6.22821e-05 -0.0013446079 -0.0014237356 0.00075389433 -0.00020252455 -0.00095345493 -0.0007824703 -6.162045e-05 0.0013330202 0.0012728372 0.00080652465 0.0008436353 -0.00021207609 -0.00042457427 0.0024297654 -0.0019191144 0.0012694756 -0.001921155 -0.002058659 -0.0018455927 -0.00024249138 0.0005863274 0.001842689 0.0017758207 0.0018838848 0.00086066633 0.0009819923 0.0008530649 0.002333635 -0.00085565896 0.0010997982 0.00025894376 0.0006055406 0.0023264794 -0.0022238959 -0.0010392709 -0.0014932489 -0.00032574497 0.0016898713 6.475457e-05 -0.00020890188 -0.0020446135 0.001034813 0.0024149076 0.00049705803 0.00037050515 -0.0010721524 0.0014172499 4.999024e-05 -0.0023446355 -0.0006348178 -0.0012540983 0.0018404622 -0.0003905339 0.00080044504 -0.0023580764 -0.0022149365 0.0020088993 -0.0017798219 -0.0015909666 0.001320036 0.0014704384 0.0014685178 0.001332087 0.0014647129 0.00032574587 0.0011028486 -0.0016243214 -0.0009946597 -0.00050526607 -0.00020703339 -0.00022913209 0.0010527589 -0.0023309358 0.0007664553 -5.982858e-05 -0.00026066264 -0.0006642904 -0.0017259198 -0.0019114831 -0.0002447919 -0.000932948 0.0011330452 0.00060474453 -0.00040816146 0.0024577135 0.0020908166 -0.00016210739 -0.0013720029 0.0022247606 -0.0004630553 -0.002023366 0.0010714133 0.0010599708 0.0024086582 1.5625536e-05 -0.00033240227 0.0007969802 0.0024127767 -0.0005245974 0.0023930564 -0.002065922 -0.00049742655 0.00075228175 0.0012057236 -0.0021796646 -0.0017681125 0.002240387 -0.0015084597 2.8815777e-05 0.00062441436 0.0017449431 -0.00060599134 -0.00016037462 -0.0019211516 -0.00083369436 -0.0017688617 -0.0012831012 0.0018926467 -0.00082292286 0.00015296093 -0.00056383596 -0.000414889 -0.0004348078 -0.0021617427 -0.0022588358 -0.0018406851 -0.00062651787 0.0017154918 0.0023480973 -0.0023299463 0.00028671883 0.0012787611 -0.0020714088 0.0011408264 -0.0013465516 0.0015014345 -0.0017432373\n+LVC -1.2101434e-05 -0.0022298675 0.001447321 -0.0013246932 0.00057933765 -0.002318466 0.001946672 -0.0009749499 -0.0020036546 -0.00085358316 -0.0008264022 -0.0002964486 0.000796339 0.0021234967 0.0016650832 0.0008551463 -0.0019276019 0.0011267059 2.823315e-05 -0.0015146568 -0.001965077 0.0006863515 -0.0015384579 0.0024484461 0.0018394345 -0.00084675086 -6.0793493e-05 0.002531608 0.0024579482 0.00036317756 0.00021481325 -0.0014953372 -0.0010072981 -0.0020482857 -0.0017800514 -0.0012966199 0.0017186782 0.0011799947 0.0007498256 -0.0021813198 0.0006652456 0.0021067823 -2.0717955e-05 0.002445156 -0.002240867 0.00045164707 0.0018858616 -0.0023328154 0.0011247616 -0.0003575369 0.0011778875 -0.0008954814 -0.0017944037 0.0015972335 0.0008786754 0.000983835 -0.00030637544 0.0005728325 0.002248167 0.0008306682 0.00105836 0.0018650618 0.0022743535 0.00028581268 0.00071605446 -0.00024169416 0.0011736357 0.0006689531 -0.0018869323 -0.00023115014 0.0009952596 -0.0015211194 0.0015442141 -0.000500582 -0.0014211049 -0.0018496842 -0.000335584 -0.0007210559 0.00015120191 0.00039644202 0.0010430668 -0.00044082105 -0.0017261596 0.0001878975 -6.498627e-06 -0.00041374264 -0.0022203664 0.0018215046 0.00023135482 0.00062350027 0.0021234509'..b'9329166 0.00083683885 -0.0012966121 -0.000420821 0.0012175398 -0.0014267633 0.001252249 0.0016301421 -0.0019441452 -0.0007565895 0.0023559122 -7.5507046e-06 -0.0013640765 -0.0014484831 0.0013146921 -0.00070724834 0.0006098803 0.001090075 0.0017408988 -0.001816694 0.00065133127 0.0014607466 -0.0019121281 -0.0019158301 0.00092410535 0.0023605211 0.0004920717 0.00088350684 0.0010997092 3.324904e-06 0.0021491952 0.0011182296 -9.8608805e-05 0.0020175215 0.0016764243 1.0548103e-05 -0.0017188648 -0.00072903285 0.0024229095 -0.0010821237 0.0009385571 -0.0013538856 -0.0016275204 -0.0018933859 0.000107686 0.0013027365 -0.0019094732 -0.00116395 0.0007673889 0.0023619593 0.0007082056 0.00045266104 -0.0020115129 0.002031747 -0.0019755852 0.00026481098 0.0003243022 -0.0020673268 0.0014138616 0.00065170706 -0.0011964287 -0.002201478 -0.0012715297 -0.0010389787 -0.0014538697 -0.0018862948 0.0010369697 0.0020708728 0.000986399 1.6503946e-05 -0.00059497467 0.0005850068 -0.0005638295 -0.002096313 0.002155895 -0.0017137764 0.0019099646 0.00109993 -0.0009016919 -0.00026621978 0.0011989886 -0.00095179136 3.3868637e-05 0.001603786 0.0006490003 0.000836424 0.0014219693 0.0015205769 0.0006233736 -0.0026071914 -0.0017951333 0.0010369756 -7.279905e-06 -0.00030341622 0.0020297645\n+RTT 0.0008749674 0.00096788583 0.00046035784 0.0016080411 -0.0014414618 0.0014620025 -4.0255152e-05 0.00045544843 0.001784968 0.0023198745 -4.6789242e-05 -0.0008355484 0.000529331 -0.0012765506 0.00095468503 0.0014647499 -0.00076876057 0.0010658011 0.0016611569 0.0013699844 0.0023904063 0.0012192386 0.0011243214 -0.0012805273 -0.0006703495 -0.0012319596 0.00051839405 0.001952754 0.0008436256 -0.0015916091 -0.0011713775 0.000609642 -0.0014617583 0.0022987772 -0.0008756762 -0.0002850732 -9.186468e-05 0.0015565944 0.0021467975 0.001879534 -0.0009571439 0.0025193726 0.00070011965 0.00014257328 -0.0012639355 -0.0017070648 0.00011292961 0.001955303 -0.0023525355 -0.0024229723 0.0016758887 -0.001555089 -0.0012256737 -0.0014706277 -0.0011813928 -0.0008920257 -0.00070989813 0.0016142618 6.2340194e-05 -0.0013028994 -0.00041547752 0.0017577651 -0.0013958853 0.00019386491 -0.0011342029 0.0009555548 0.0015859862 0.0010165847 0.0023251616 0.0024807346 -0.0001621106 0.0009780871 -0.0021544576 -0.0016797123 -0.0019976767 0.0023287062 -0.0005807063 -0.0010508454 -0.0011735009 0.0009913616 -0.0023642706 0.0010660653 -0.0011858979 0.00059610215 0.0008311239 -0.00092363905 0.0013755945 0.00037625633 0.002422985 -0.0016978119 -0.0013139286 0.000529977 -0.0011911308 -0.0023673559 0.00020641256 -0.0015232897 -0.0002883984 -0.0012487182 -0.00046426966 -0.0009833992 0.0018450054 0.0002375337 0.001846433 -0.0017698813 -0.002041315 -0.0008291253 -0.0005597482 0.0011917122 0.00015343283 -0.0011826177 0.002399056 0.0006649859 -0.0017162617 -0.00086710486 0.00016337876 -0.0008963979 -0.0014059466 -0.0023056318 -0.00063665456 0.0013866306 0.001834191 0.0024510582 -0.0008367855 9.572251e-07 0.0019129917 -0.00024920254 -0.002109615 0.0014992991 0.002470077 -0.0015247426 0.0021252346 0.0003277864 -0.00013354525 0.00068446604 0.0024241658 -0.001372545 0.0012075508 -0.0018025833 -0.00038149007 0.00037644224 0.0018547113 0.0018578246 -0.0020145597 -1.42324225e-05 0.0021410969 0.00025578332 8.691112e-05 -0.0017239064 -0.0012059687 -0.0019051972 0.00064171746 0.0024287626 0.0007367608 0.0012890009 0.0012271192 0.00032794752 0.0010868037 -0.0010993943 0.00021350925 0.001333526 -5.4828255e-05 0.0011917402 0.0011615263 0.001149004 0.00055940665 0.00021172808 0.0007953479 -0.00045935702 -0.0015195387 0.0016530926 0.0018495353 0.0010670543 0.00029422963 -0.0010919494 0.0010870786 -0.0021665462 -0.0007957788 -0.002275716 -0.0012395901 -0.001598635 0.00031872877 -0.00020240767 -0.0020836846 -0.00056924846 -0.0019875302 -0.0013354532 -0.0006294266 0.0022098403 -0.0008797699 -0.00035938426 -0.0023506682 0.0018134243 0.0018999709 0.0014204925 -0.00048301555 -0.001929654 0.0013711938 0.00044136978 -0.00092774484 0.0009801525\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Word_Vector_Descriptor/test-data/test.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Word_Vector_Descriptor/test-data/test.fasta Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,552 @@\n+>ACP\n+GLWSKIKEVGKEAAKAAAKAAGKAALGAVSEAV\n+>ACP\n+GLFDIIKKIAESI\n+>ACP\n+GLLDIVKKVVGAFGSL\n+>ACP\n+GLFDIVKKVVGALGSL\n+>ACP\n+GLFDIVKKVVGTLAGL\n+>ACP\n+GLFDIAKKVIGVIGSL\n+>ACP\n+GLFDIVKKIAGHIAGSI\n+>ACP\n+GLFDIVKKIAGHIVSSI\n+>ACP\n+AACARFIDDFCDTLTPNIYRPRDNGQRCYAVNGHRCDFTVFNTNNGGNPIRASTPNCKTVLRTAANRCPTGGRGKINPNAPFLFAIDPNDGDCSTNF\n+>ACP\n+HGVSGHGQHGVHG\n+>ACP\n+FKCRRWQWRMKKLGAPSITCVRRAF\n+>ACP\n+KWKLFKKIKFLHSAKKF\n+>ACP\n+KSSAYSLQMGATAIKQVKKLFKKWGW\n+>ACP\n+GIGTKILGGVKTALKGALKELASTYAN\n+>ACP\n+GIGGKILSGLKTALKGAAKELASTYLH\n+>ACP\n+GIGGVLLSAGKAALKGLAKVLAEKYAN\n+>ACP\n+SIGAKILGGVKTFFKGALKELASTYLQ\n+>ACP\n+FLPLLAGLAANFLPTIICKISYKC\n+>ACP\n+FVQWFSKFLG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LNQETAKVVQT\n+>non-ACP\n+KAEVCMAVPWLSLQ\n+>non-ACP\n+SHLELNNGTKMPTLGLGT\n+>non-ACP\n+LLLPEAAAERDAREKLALWDRRPDTTAPL\n+>non-ACP\n+LLALSLVLLYRYATYSHGFFKKLGIPGPKPLPLFGNVLS\n+>non-ACP\n+LLSLWRQSSGRGKLPPGPTPLPVIGNILQIGIKD\n+>non-ACP\n+AFKSMEVANFYYEADCLAAAYGGKAAPAAPPADRPGPR\n+>non-ACP\n+SLFWAARPLQRCGQLVRMAIRAQH\n+>non-ACP\n+MRPPRTLTSTATMSALSTSMPMEIDDVMDEDAVNGQA\n+>non-ACP\n+LLSLIGFCWAQYDP\n+>non-ACP\n+LWARSKNDQLRISFPPGLCWG\n+>non-ACP\n+PQGFDVDRDAKKLNKACKGMGTNEAAIIEILSG\n+>non-ACP\n+IFCLILWVVKAWQPRLPKGLKSPPGPWGWPLLG\n+>non-ACP\n+LDAASPGPLALLGLLFAATLLLSALFLL\n+>non-ACP\n+VTLLFKLYCLA\n+>non-ACP\n+ATRAAAARLVGTAASRTPAAARH\n+>non-ACP\n+RNKLDLETLTDILEHQIR\n+>non-ACP\n+RRLVLQARTYAQAAASPAPAAGPGQMSFTFASPTQVFF\n+>non-ACP\n+PGRSRSAADDINPAPANM\n+>non-ACP\n+LLSALTLETWVLLAVILVLLYRLG\n+>non-ACP\n+VMGHGLCPQGARAKAAIPAALRDHEST\n+>non-ACP\n+FLVSIAGLLYALVQLGQPCDCLPPLRAAA\n+>non-ACP\n+VRSVRAAVGGLRAISAPSAPCLPRPWGLRAG\n+>non-ACP\n+RGGCWPRGLQQLLVPGG\n+>non-ACP\n+APATPPRPLKRKKLQFTDVTPESSP\n+>non-ACP\n+EQAERYDDMAAAMKAVTEQGHELSNEERNL\n+>non-ACP\n+MPNDPSDNQLK\n+>non-ACP\n+TELLLAITVFCLGFWVVRALRTQVP\n+>non-ACP\n+LTADLLGAPFFTLPKELQLALLERQTVFL\n+>non-ACP\n+GHGRLVEIQGRLGVRIER\n+>non-ACP\n+LPFKLLLFVLLDGWTRLTH\n+>non-ACP\n+QALWLVLVLSMPPVLVAAVVGTLVSLVQ\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Word_Vector_Model/PDAUG_Word_Vector_Model.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Word_Vector_Model/PDAUG_Word_Vector_Model.py Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,38 @@ +import nltk +from nltk import trigrams +import pandas as pd +from Bio import SeqIO +import gensim, logging +import argparse + +parser = argparse.ArgumentParser() + +parser.add_argument("-I", "--Input", required=True, default=None, help="Path to target fasta file") +parser.add_argument("-M", "--min_count", required=False, default=0, help="Path to target tsv file") +parser.add_argument("-W", "--window", required=False, default=5, help="Path to target tsv file") +parser.add_argument("-O", "--OutFile", required=False, default='model.txt', help="Path to target tsv file") + +args = parser.parse_args() + +class ProteinSeq(object): + def __init__(self): + pass + def __iter__(self): + for index, record in enumerate(SeqIO.parse(args.Input, 'fasta')): + for loop_num in range(0, 3): + Ngram_list = [] + tri_tokens = trigrams(record.seq) + for index1, item in enumerate(tri_tokens): + if index1 % 3 == loop_num: + tri_pep = item[0] + item[1] + item[2] + Ngram_list.append(tri_pep) + yield Ngram_list +#min_count = 0 +size = 200 +#window = 5 +sg = 1 + +sentences = ProteinSeq() +model = gensim.models.Word2Vec(sentences, min_count=int(args.min_count), size=size, window=int(args.window), sg = sg, workers = 10) +model.wv.save_word2vec_format(args.OutFile, binary=False) + |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Word_Vector_Model/test-data/model.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Word_Vector_Model/test-data/model.txt Wed Oct 28 01:59:25 2020 +0000 |
b |
b'@@ -0,0 +1,567 @@\n+566 200\n+SLK -0.0010030628 0.000100835154 -0.0019347421 -0.00076493184 0.0014542947 0.0014068135 0.00084618153 0.0020921843 -0.0019026415 -0.0006590894 0.0022805685 -0.00096782576 -0.0024763828 0.0007323335 0.00061047205 -0.0022421663 -0.000654532 -0.0011798553 -0.00060771394 -0.00050038786 -0.0007698266 0.00084362755 -0.0011791416 -0.0016665208 -0.0005201962 0.0019055296 -1.512186e-05 -0.0019836018 -0.0012254894 -0.0022825655 0.0010594992 0.0018288207 -0.0006668121 0.0021907832 0.00094542024 -0.00170071 0.00183659 -0.0005609948 -0.0008470077 0.0024044297 -0.0006272259 -0.0015420591 -0.0015622115 0.0022688601 0.00055790844 0.00022420083 0.0021307333 -0.002215041 -9.6654316e-05 0.0014316123 0.0010925673 0.0023748777 0.0017993941 -0.0010667549 -0.0010471892 0.001276248 -0.0010441451 -0.0013733016 -0.0017143694 0.0008117987 -0.002100952 0.0005481462 0.0012565582 -0.00027537628 0.00060161017 0.0005101376 -0.00082007336 0.0009339486 -0.0017269732 -0.00015142813 0.00080418744 0.0013757494 -0.0009887083 8.432536e-05 0.002368311 0.00069492083 -0.0023838778 0.0010613009 4.0552673e-06 -0.0012329626 -0.0020130351 -0.0019470055 -0.0023918888 -0.0016396545 -0.0009881324 -0.0011715402 0.001962593 -0.00018947676 0.0022470367 0.0016972214 -0.001412244 0.002093491 0.0007775214 -0.0022779112 0.00067085406 -0.0020114318 0.00066405896 -0.002079473 0.0007314552 0.00023783054 0.00052206067 -0.00213498 -0.0011686112 0.00062618905 -0.0006196545 -0.00065055385 0.0016532214 -1.8988281e-05 -0.0014523834 0.0022160858 -0.00019177794 0.0021167719 -0.0020362854 -0.00040376265 0.0007045411 0.0006447945 -6.798684e-05 0.0010527554 0.0020198557 0.0006721824 4.0404648e-05 -0.0011978751 0.00034359843 -0.001697562 -0.002398286 0.0023275372 -0.000497055 0.0011098448 -0.0021362582 -0.0006785072 0.0005731353 -0.0021288977 0.0024249821 -0.0019835131 -0.0010200157 -0.001747614 -0.0021896977 0.0007778393 -0.0014301152 0.0004458818 0.0013275212 0.0012406965 -0.0007275597 0.0022300016 0.0020351794 0.0007773101 0.0010185415 0.00054066326 -0.00065416447 -0.001602047 -0.0009327506 -0.0015748533 -0.0017828726 -0.0016216517 -0.00064577936 0.00032859002 -0.0020514058 -0.0020315524 2.8936416e-05 -0.0016045409 -0.0020136943 -0.001464344 -0.0009834922 0.00060522277 0.0021689925 0.00021460328 0.00028584892 -0.001936293 0.0014174379 0.00021913492 -0.0014197932 -0.0024451527 -0.0018287416 0.0020558643 -0.0011970316 0.0025154531 -0.00033851096 0.0002898627 0.0022417586 0.0015096798 0.0020330683 -5.9363232e-05 0.0016878136 0.0015900587 0.00081262534 -0.00079336023 0.0020084986 0.0015118823 0.001884626 0.002055723 -0.0019471188 0.0005348844 -0.0013935537 -0.002366717 0.0012977426 -0.00059789 -0.0020364467 -0.00046651036 -0.000643891 -0.0013259477\n+LVC -0.0014843112 0.002325912 0.00041341965 -0.000457389 -0.0012172903 0.00088795676 -0.0017862645 0.0020845444 0.00040228703 9.997711e-05 0.0016066885 -0.0019978404 0.0006969608 0.0009175631 0.0023191834 0.0004208282 0.0008670355 0.00038776512 -0.0025192345 -9.802296e-05 0.00043508506 -0.0006363904 -0.0008578444 -0.0024026074 -0.0023426889 -0.0024238671 -0.0021346405 -0.00149934 -0.00090742245 0.0024012309 0.0017329991 -0.0018813327 0.00025454137 0.0005085536 0.0024462014 0.0014462607 -0.0010761742 0.0011953603 0.0008221692 -0.0022875224 -0.0012190182 1.1843196e-05 -0.00017557543 -0.0012803815 0.0018995996 -0.0019943821 -0.0014854127 0.002213123 -0.001961487 0.00042818586 0.0010908546 -5.6944273e-06 -1.9310939e-05 -0.0018969487 -0.0021200387 -0.0015931877 0.001627026 -0.0006712538 0.0012969036 0.0007962202 -0.00017555853 0.0022312454 0.0011899339 0.00038646816 -0.00037665278 -0.00056664605 0.0017358738 0.001199929 -0.000121993726 0.0016059761 -0.0015569519 -0.001968228 0.0005684576 -0.0025150208 -0.0016744407 -0.001195666 -0.0021972128 -0.0024457898 0.0007898712 -0.0013959116 -0.0014921167 -0.00026803298 -0.0017856187 0.00052666117 -0.0010324508 -0.002182621 0.00084328605 0.002562451 -8.9075715e-05 -0.0006066804 0.00245605'..b'924 0.0021821025 -0.0014032001 -0.0009744811 0.0010769261 -0.00034137678 0.000214921 0.0024331359 -0.0020255684 0.0020676758 0.0017541476 0.0018737108 0.0015129836 0.0010686504 0.002332911 0.0001992582 0.0011322168 0.0003263395 -0.0009947193 0.0022501221 -0.0023565881 -0.00039700672 0.0021902514 0.0018467497 -0.0018980933 0.0003773999 -0.0011028886 -0.0024948912 0.00058945455 -0.0011515784 0.0015930029 -0.0005651209 4.1423882e-05 0.0017315708 6.154556e-05 0.00067807746 -0.0007624985 0.0014497186 -0.0011262009 -0.00094811886 0.0007234749 0.0002620769 -0.0007772993 0.0017874188 -0.0015540041 -0.0023920804 0.0006855838 -0.0010742402 -0.00021710082 0.0011857314 -0.0023305858 0.0023731578 0.0012189841 -0.00069491967 -0.0010127571 0.0005580876 0.001036492 -0.0021085378 -0.0003845184 -0.0019605139 0.0022725107 0.0018582217 -0.00018812898 0.0006322817 -0.0024015135 0.002275918 -0.0012636826 -0.0023785608 0.0020010332 -0.002370117 -0.00044299682 -0.00078391156 0.0023472942 -0.0018125535 0.0020114002 -0.002014159 0.0012666982 0.0021298465 -0.0011994458 0.002128024 -0.001189568 0.0019846351 -0.0021721057 -0.0020807649 -8.474351e-05 0.0020009486 -0.0002868331 -0.0011943501 0.0020324918 -0.0020747124 0.00047011115 -0.0021956079 0.00034764616 -0.0018886229 0.0018471953 0.00047610325\n+RTT 0.000800459 0.0022807189 0.000614407 0.00043291523 0.0013266976 0.0016516823 -0.00017887352 0.0001774865 0.0022674256 0.0007991084 -0.0017937184 -0.0012809283 0.00034525068 0.0010474691 -0.0011773593 -0.00020316518 0.00071664935 0.0004490933 0.0005864967 0.0023711638 0.0012197499 -0.0009967296 0.0012682456 0.0015518359 0.000651693 0.0008096255 0.0004684565 -0.001262113 -0.0011209914 0.00018294278 -0.00013294513 0.00014597994 0.00041009023 -0.0013152343 -0.00050766 0.00033145904 0.00056744565 0.0008613704 0.0007503846 -0.001847496 -0.0016863405 0.0022872342 0.0009217861 -0.0011331631 0.0013246123 -0.002163321 0.0023381775 -0.0013936638 0.0022097866 -0.0023730479 0.0014418369 -0.0015951154 -0.0017479687 -1.1758027e-05 0.0012897338 0.0007854197 0.00087452476 -0.0019004125 0.0017956524 0.0019462679 0.0014046035 0.0014048805 -0.001382155 -0.0015547818 0.0009136546 0.0013969156 -0.002408568 -0.00095783925 -0.0012149756 0.0013561236 0.00081642164 -0.0005703783 -0.0020031298 0.00029171846 -0.0018983197 0.0008232627 -0.00067786424 0.0015696628 0.0005483555 -0.0008685772 -0.0004985128 0.0015814694 -0.0019487073 -0.00022380968 -0.0024199411 -0.0018035958 -0.001738709 -0.001768671 0.0023001665 0.0011826147 0.0013505309 -0.001520888 -0.0022249857 0.0015392177 8.096851e-05 0.00019641909 -0.00217602 -0.0008343077 0.00033551097 -0.00075170374 -0.0019082596 0.0015030898 -0.0021043406 -0.00062664493 0.0012989572 -0.0019294041 0.00089970586 -0.0021291745 0.00081388105 -0.0014019778 0.002488779 -0.00050189596 -2.1637376e-05 0.0010064129 -0.000278038 0.0019295008 0.00056200475 0.0023637 -0.0021872418 -0.0007958102 -0.0016448909 0.0002751693 0.0017254049 0.0006061145 -0.00071685784 0.0024198801 -0.0014178854 0.0017153893 0.0022203254 0.0025270556 -0.00053209305 0.0022114152 0.0022816851 -0.0013134214 0.0017226143 0.002457915 0.0014352301 -0.00053877925 0.0018859431 0.001810429 -0.0024067212 -0.0019813501 -0.002387521 -0.00020712892 0.0013106425 0.0007510423 -0.0016320832 0.0011793209 0.00049539725 0.0010422879 0.0012776309 0.0008611337 -0.0022205974 -0.00247682 0.0006492324 -0.0011322489 -0.0010332862 -0.0014822948 6.4873646e-05 0.0014633074 -0.00056768797 -0.0018850511 -0.00024886813 -0.0012680636 0.0023715075 0.0012950113 -2.916198e-06 -0.0024495733 -0.0020298546 0.0012903305 0.00018515662 0.0012265041 0.0001239143 -0.00017969421 -0.0018547528 0.0004504478 0.0021181984 -0.0017624114 -0.00014107149 0.0016415552 -0.00047895184 0.00086379354 0.002456045 -0.00063980406 0.001173198 -0.0021613056 0.0022272768 0.0012139239 0.00215961 0.0012713169 6.230853e-05 -0.00018173548 -0.0012579496 -0.0013567571 0.00051431364 -0.0023164214 0.0014994337 0.0011433125 0.00029282333 -0.0015467361\n' |
b |
diff -r 000000000000 -r 6c12ca9f5d88 PDAUG_Word_Vector_Model/test-data/test.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_Word_Vector_Model/test-data/test.fasta Wed Oct 28 01:59:25 2020 +0000 |
[ |
@@ -0,0 +1,11 @@ +>AHC69389.1 COX-2 [Pagrus major] +MNRLTFAVFLSALGFLVCAAGNPCCSEPCQNRGVCTALGSDNYECDCTRTGYRGQNCTTPEFLTWLKVSL +KPSPNTVHYILTHFKDFWNIINNISFLRDAIMRYVLTSRSHMIDSPPTFNADYGYKNWEAYSNLSYYTRT +LPPVPEDCPTPMGVEGKKELPDAKILAEKLLMRREFIPDPQGTSLMFAFFAQHFTHQFFKSDMKRGPAFT +AAQGHGVDLSHIYGDNLVRQHKLRLFKDGKLKHQILDGEMYPPTVKEVGAEMHHPPHVPDAYRFAVGHEA +>jai +FGLVPGLMMYATIWLREHNRVCDVLKEVHPDWDDERLFQTTRLILIGETIKIVIEDYVQHLSGYNFKLKF +DPELLFNQRFQYQNRIASEFNTLYHWHPLMPDSFHIEEKEYSYKEFVFNTSVVTEHGISNLVESFSKQIA +GRVAGGRNVPGPIMYVAIKSIENSRKMRYQSLNAYRKRFSLKPYSSFEDMTGEKEMAAVLEEMYGHIDAM +ELYPGLLVEKPRENAIFGETMVEMGAPFSLKGLMGNPICSPEYWKPSTFGGTVGFDIVNTASLQRLVCNN +ANGPCPVASFHVPDVKETGSMIINSSTSNSRSSDINPTVILKERTTEL |