Skip to content

Single cell analysis performance with worse results #287

Closed

Description

@daichengxin

Description of the bug

Analyzing single cell dataset PXD016291. The results folder can be found in here. The MBR is enabled. The results looks quite different from original paper. The less proteins are quantified in single cell samples than original results. And more proteins are misquantified in blank sample than original results. The original paper used MaxQuant with as follows parameters:

All raw files were processed using MaxQuant (version 1.6.3.3) for feature detection, database searching, and protein/peptide quantification. MS/MS spectra were searched against the UniProtKB/Swiss-Prot human database (downloaded on October 26, 2018, containing 20 397 reviewed sequences). N-Terminal protein acetylation and methionine oxidation were selected as variable modifications. Carbamidomethylation of cysteine residues was set as a fixed modification. The peptide mass tolerances of the first search and main search (recalibrated) were <30 and 5 ppm, respectively. The minimum peptide length was six amino acids, and the maximum peptide mass was 4600 Da. Only two missed cleavages were allowed for each peptide. The second peptide search was activated to identify coeluting and cofragmented peptides from one MS/MS spectrum. Both peptides and proteins were filtered with a maximum false discovery rate (FDR) of 0.01. The MBR feature with a matching window of 0.7 min and an alignment window of 20 min, was activated. Label-free quantitation (LFQ) calculations were performed separately in each parameter group containing similar cell loadings. Both unique and razor peptides were selected for protein quantification. Other unmentioned parameters were the MaxQuant default settings. Potential contaminants and reverse sequences were filtered out.

QQ截图20230919173108

Command used and terminal output

$ nextflow run /hps/nobackup/juan/pride/reanalysis/quantms/main.nf -c /hps/nobackup/juan/pride/reanalysis/quantms/nextflow.config -profile ebislurm --input PXD016921-MBR.sdrf.tsv --search_engines comet,msgf --root_folder /hps/nobackup/juan/pride/reanalysis/single-cell/PXD016921/ --local_input_type raw --outdir PXD016921-MBR --database /hps/nobackup/juan/pride/reanalysis/multiomics-configs/databases/Homo-sapiens-uniprot-reviewed-contaminants-decoy-202210.fasta --protein_level_fdr_cutoff 0.01 --psm_level_fdr_cutoff 0.01 --quantify_decoys true --transfer_ids mean --targeted_only false --skip_post_msstats false --enable_pmultiqc true -resume

Relevant files

Original MaxQuant results
quantms results

System information

No response

Activity

  1. added
    bug
    on Sep 19, 2023
  2. added
    enhancement
    help wanted
    question
    and removed
    bug
    on Sep 19, 2023
  3. ypriverol commented on Sep 19, 2023

    @ypriverol
    Contributor

    @daichengxin can you add some description about How the data was analyzed with MaxQuant and the original paper.

  4. jpfeuffer commented on Sep 19, 2023

    @jpfeuffer
    Collaborator

    Thank you for the analysis. Very interesting. Can we maybe run the analysis with looser FDR cutoffs to see if it's more an identification problem or a quantification problem?

  5. ypriverol commented on Sep 19, 2023

    @ypriverol
    Contributor

    @jpfeuffer a couple of ideas:

    In single cell, looks for me that MBR would be doing most of the job for the single cell runs. If you see we ID most of the peptides in the 20 and 100 samples (complex samples), more than MQ. Those samples are used as "channels" to look for poor signals from the single cell files. My point is the following:

    The MBR feature with a matching window of 0.7 min and an alignment window of 20 min, was activated.

    Do you think this 20 min window that they use for MBR in MQ can be the difference with us?

    Do you think we need to do something in the experimental design.? For the MBR we are annotating every sample as a biological replicate to enable MBRs.

  6. jpfeuffer commented on Sep 19, 2023

    @jpfeuffer
    Collaborator

    Yes, if we find out that it's not the identification performance we will check quantification.
    But if you have only 100 proteins that pass FDR, you cannot quantify more than that and it is useless to check quantification.

  7. ypriverol commented on Sep 19, 2023

    @ypriverol
    Contributor

    @daichengxin can we check in the output of MQ of the original project how many peptides from the single cell samples are quantify/identified using MBR, I think MQ use a notation like No MS/MS or something like that.

  8. daichengxin commented on Sep 19, 2023

    @daichengxin
    CollaboratorAuthor

    More than half of the unique peptides originated with the MBR.
    image

  9. 49 remaining items

  10. timosachsenberg commented on Oct 8, 2023

    @timosachsenberg

    Here is my script. And i try to run @timosachsenberg command, but got different values from @timosachsenberg.

    This is interesting. I used the old id files that Yasset provided in the original analysis and ran them through the ProteomicsLFQ tool. I got numbers much closer to MQ. I am currently traveling but would like to dig into the exact parameters used a bit more.

  11. daichengxin commented on Oct 8, 2023

    @daichengxin
    CollaboratorAuthor

    image

  12. jpfeuffer commented on Oct 8, 2023

    @jpfeuffer
    Collaborator

    Thank you very much for the quick table. Surprisingly very few changes. This must mean that all unidentified Features have scores either below 0.6 or above 0.9.
    Maybe an FDR approach is really really needed

  13. jpfeuffer commented on Oct 8, 2023

    @jpfeuffer
    Collaborator

    @timosachsenberg exact parameters are always visible in the pipeline_info folder

  14. timosachsenberg commented on Oct 9, 2023

    @timosachsenberg

    That's the command I used. FDR settings seem the be the same. Do you see anything I missed?

    /ceph/ibmi/abi/projects/sachsenb/OpenMS/openms-build/bin/ProteomicsLFQ \
    -in Blank.mzML Singlecell1.mzML Singlecell2.mzML Singlecell3.mzML Singlecell4.mzML 20HeLacells.mzML 100HeLacells.mzML \
    -ids Blank_consensus_fdr_filter.idXML Singlecell1_consensus_fdr_filter.idXML Singlecell2_consensus_fdr_filter.idXML Singlecell3_consensus_fdr_filter.idXML Singlecell4_consensus_fdr_filter.idXML 20HeLacells_consensus_fdr_filter.idXML 100HeLacells_consensus_fdr_filter.idXML \
        -design PXD016921-MBR.sdrf_openms_design.tsv \
        -out_cxml notransfer_1.0_1000_star.consensusXML \
        -out_msstats notransfer_1.0_1000_star.csv \
        -out notransfer_1.0_1000_star.mzTab \
        -fasta Homo-sapiens-uniprot-reviewed-contaminants-decoy-202210.fasta \
        -threads 40 \
        -Seeding:intThreshold 1000.0 \
        -protein_inference aggregation \
        -quantification_method feature_intensity \
        -feature_with_id_min_score 0.25 \
        -feature_without_id_min_score 0.75 \
        -targeted_only false \
        -mass_recalibration false \
        -protein_quantification unique_peptides \
        -alignment_order star \
        -PeptideQuantification:quantify_decoys \
        -psmFDR 0.01 \
        -proteinFDR 0.01 \
        -picked_proteinFDR true \
        2>&1 | tee notransfer_1.0_1000_star.txt
    
  15. jpfeuffer commented on Oct 9, 2023

    @jpfeuffer
    Collaborator
  16. jpfeuffer commented on Oct 9, 2023

    @jpfeuffer
    Collaborator

    Maybe the idxmls changed meanwhile? Changes in Sage or percolator adapter? No idea.

  17. timosachsenberg commented on Oct 9, 2023

    @timosachsenberg

    No, looks the same as the 0.25_0.75 directory. @timosachsenberg can you maybe download the Msstats file and run your command on your computer?

    https://ftp.pride.ebi.ac.uk/pub/databases/pride/resources/proteomes/quantms-benchmark/PXD016921-MBR-newSVM-0.25-0.75/proteomicslfq/

    I can confirm that these outputs match the ones Dai reported. Will now check if -Seeding:intThreshold 1000.0 makes such a difference.

  18. ypriverol commented on Oct 9, 2023

    @ypriverol
    Contributor

    It looks like we are using the default parameter for -Seeding:intThreshold. Our command now for proteomicsLFQ is:

        ProteomicsLFQ \\
            -threads ${task.cpus} \\
            -in ${mzml_sorted.join(' ')} \\
            -ids ${id_sorted.join(' ')} \\
            -design ${expdes} \\
            -fasta ${fasta} \\
            -protein_inference ${params.protein_inference_method} \\
            -quantification_method ${params.quantification_method} \\
            -targeted_only ${params.targeted_only} \\
            ${feature_with_id_min_score} \\
            ${feature_without_id_min_score} \\
            -mass_recalibration ${params.mass_recalibration} \\
            -protein_quantification ${params.protein_quant} \\
            -alignment_order ${params.alignment_order} \\
            ${decoys_present} \\
            -psmFDR ${params.psm_level_fdr_cutoff} \\
            -proteinFDR ${params.protein_level_fdr_cutoff} \\
            -picked_proteinFDR ${params.picked_fdr} \\
            -out_cxml ${expdes.baseName}_openms.consensusXML \\
            -out ${expdes.baseName}_openms.mzTab \\
            ${msstats_present} \\
            ${triqler_present} \\
            $args \\
            2>&1 | tee proteomicslfq.log
    
  19. timosachsenberg commented on Oct 9, 2023

    @timosachsenberg

    Yep, main reason seems to be the intensity threshold.
    I ran it with 0.1 and 0.9 and get:

    intensity > 1000
    8
    2964
    2068
    3114
    3343
    7671
    10669
    
    intensity > 10000
    7
    1563
    1408
    2358
    3334
    7619
    10503
    

    Dai would it be possible to generate the results for different thresholds using the new parameter?

  20. jpfeuffer commented on Oct 10, 2023

    @jpfeuffer
    Collaborator

    Numbers look really good. I wonder if MQ has a min. feature ity. cutoff.

    I guess we need to see the effect on UPS

  21. daichengxin commented on Oct 10, 2023

    @daichengxin
    CollaboratorAuthor

    1000 intensity threshold:

    image

  22. ypriverol commented on Oct 10, 2023

    @ypriverol
    Contributor

    Looks like the rigth parameters are close to 0.20 - 0.80. @jpfeuffer @timosachsenberg

  23. ypriverol commented on Oct 13, 2023

    @ypriverol
    Contributor

    I will close the current issue in favor of #303 . All discussions about MBR LFQ must be move to that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementhelp wantedhigh-priorityquestion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions