pyprophet/main.py
def export(infile, outfile, format, outcsv, transition_quantification, max_transition_pep, ipf, ipf_max_peptidoform_pep, max_rs_peakgroup_qvalue, peptide, max_global_peptide_qvalue, protein, max_global_protein_qvalue):
    """
    Export TSV/CSV tables
    """
    if format == "score_plots":
        export_score_plots(infile)
    else:
        if outfile is None:
            if outcsv:
                outfile = infile.split(".osw")[0] + ".csv"
            else:
                outfile = infile.split(".osw")[0] + ".tsv"
        else:
            outfile = outfile

        export_tsv(infile, outfile, format, outcsv, transition_quantification, max_transition_pep, ipf, ipf_max_peptidoform_pep, max_rs_peakgroup_qvalue, peptide, max_global_peptide_qvalue, protein, max_global_protein_qvalue)
def export(infile, outfile, format, outcsv, transition_quantification, max_transition_pep, ipf, ipf_max_peptidoform_pep, max_rs_peakgroup_qvalue, peptide, max_global_peptide_qvalue, protein, max_global_protein_qvalue):
    """
    Export TSV/CSV tables
    """
    if format == "score_plots":
        export_score_plots(infile)
    else:
        if outfile is None:
            if outcsv:
                outfile = infile.split(".osw")[0] + ".csv"
            else:
                outfile = infile.split(".osw")[0] + ".tsv"
        else:
            outfile = outfile

        export_tsv(infile, outfile, format, outcsv, transition_quantification, max_transition_pep, ipf, ipf_max_peptidoform_pep, max_rs_peakgroup_qvalue, peptide, max_global_peptide_qvalue, protein, max_global_protein_qvalue)
def export ( infile , outfile , format , outcsv , transition_quantification , max_transition_pep , ipf , ipf_max_peptidoform_pep , max_rs_peakgroup_qvalue , peptide , max_global_peptide_qvalue , protein , max_global_protein_qvalue ) : if format == "score_plots" : export_score_plots ( infile ) else : if outfile is None : if outcsv : outfile = infile . split ( ".osw" ) [ 0 ] + ".csv" else : outfile = infile . split ( ".osw" ) [ 0 ] + ".tsv" else : outfile = outfile export_tsv ( infile , outfile , format , outcsv , transition_quantification , max_transition_pep , ipf , ipf_max_peptidoform_pep , max_rs_peakgroup_qvalue , peptide , max_global_peptide_qvalue , protein , max_global_protein_qvalue )
Export TSV/CSV tables
Export TSV / CSV tables