This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
A single thread function to get the total amount of time spent being insured. | |
""" | |
def get_time_being_insured(intervals) -> float: | |
"""Get the time being insured""" | |
events = [] | |
for start, end in intervals: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim /etc/dnf/dnf.conf | |
# # speed optimizations | |
# fastestmirror=True | |
# max_parallel_downloads=10 | |
# keepcache=True | |
sudo dnf install vim alacritty i3 byobu arandr flameshot arandr | |
sudo dnf copr enable kallepm/tuxedo-keyboard | |
sudo dnf install tuxedo-keyboard | |
sudo dnf install kallepm/tuxedo-control-center |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
# holy settings | |
K = 100 | |
# static sequences | |
sequences = [ | |
list( |
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 50 columns, instead of 24 in line 1.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
peptide proteins num_proteins filename scannr precursor_id frame_id rank label expmass calcmass charge peptide_len missed_cleavages isotope_error precursor_ppm precursor_signed_ppm fragment_ppm fragment_signed_ppm hyperscore delta_next delta_best ion_mobility rt aligned_rt predicted_rt delta_rt_model matched_peaks longest_b longest_y longest_y_pct matched_intensity_pct scored_candidates poisson sage_discriminant_score posterior_error spectrum_q peptide_q protein_q ms1_intensity ms2_intensity longest_b_exp_mz longest_y_exp_mz longest_b_calc_mz longest_y_calc_mz matched_b_exp_mz matched_y_exp_mz matched_b_calc_mz matched_y_calc_mz MS1_ClusterID | |
HLHFTLVK sp|P00489|PYGM_RABIT;sp|P06737|PYGL_HUMAN;sp|P11216|PYGB_HUMAN;sp|P11217|PYGM_HUMAN 4 [email protected] "_.1796.1796.2 File:""G8027.d"", NativeID:""merged=8630 frame=8631 scanStart=794 scanEnd=821"", IonMobility:""0.7284""" 0 0 1 1 994.57874 993.576 3 8 0 1.00335 0.60733896 -0.60733896 0.365797 0.17182219 27.22087946471433 4.391146980615357 0.0 0.0 989 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library("impute") | |
# simulating a matrix | |
peptideCnt = 1000 | |
runsCnt = 6 | |
expressions = matrix( | |
data=rnorm(peptideCnt*runsCnt, mean=1000, sd=400), | |
nrow=peptideCnt, | |
ncol=runsCnt |
OlderNewer