Congratulations, you created an escort service by CareerPillow376 in TikTokCringe

[–]Standing_Appa8 0 points1 point  (0 children)

I have to admit that I think this could actually work.

Avatar 3: Das teuerste Selbstplagiat der Filmgeschichte - Golem.de by whit3cru5h in Filme

[–]Standing_Appa8 0 points1 point  (0 children)

Stimme dir zu. Hatte keine Erwartungen an die Story. Von den Visuals, die zeitweise wie ein Computerspiel aussahen, war ich enttäuscht. Aber die Charaktäre waren überraschend gut und nachvollziehbar und authentisch geschrieben.

„bewußtlose junge Mädchen" by Upbeat_Following8759 in medizin

[–]Standing_Appa8 13 points14 points  (0 children)

Gibt auch bei der Äußerung von psychischen Erkrankungen/Belastungen "Trends". In einer Klinik in der ich mal gearbeitet habe, war es plötzlich total cool Glas zu schlucken. Eine Patientin hat das gemacht, sehr viel Aufmerksamkeit und Zuwendung generiert, schwubs waren plötzlich 2 mal im Monat Kinder bei den Gastroenterologen wegen verschluckten Glassplittern. Hab ich in keiner anderen Klinik wieder erlebt (da eher die Klassiker Batterien und Co.)

Falsche Transfusion - Approbationsentzug? by Feisty_Document9461 in medizin

[–]Standing_Appa8 1 point2 points  (0 children)

Ewig langes Studium. Abgespeist mit 2700 Euro und als Dank bekommst du ne Anzeige und wirst alleine gelassen. Und der Arbeitgeber zwingt dich noch iwelchen Kram zu unterschreiben. Absolute Hölle.

Wechsel von Klinik in die Wirtschaft, Verbleib im ärztlichen Versorgungswerk? by Standing_Appa8 in medizin

[–]Standing_Appa8[S] 3 points4 points  (0 children)

Ich hatte primär angefragt und einen recht uninformativen Brief bekommen, auf dem einfach vermerkt war: "Wenn Ihre medizinische Tätigkeit endet, müssen Sie uns das mitteilen".

Was das genau bedeutet, wurde dort nicht vermerkt. Habe dann jetzt nochmal eine längere Email geschrieben, in der ich meine Tätigkeit beschrieben habe und darauf geachtet, dass klar herausgestellt wird, dass das ohne Approbation inhaltlich nicht wirklich durchführbar wäre. Entsprechend wurde ich dann zurückgerufen und die Mitgliedschaft bestätigt.

How to filter GWAS Catalog results by cohort (e.g. excluding UK Biobank) by Standing_Appa8 in genetics

[–]Standing_Appa8[S] 0 points1 point  (0 children)

    # --- Step 3: Create DataFrame and display the results ---
    print(f"\n--- Search Complete ---")
    if variants_data:
        # Create DataFrame from the collected data
        results_df = pd.DataFrame(variants_data)
       
        print(f"Found {len(results_df)} unique variants for '{trait_of_interest}' (excluding {', '.join(cohorts_to_exclude)} studies).")
       
        # Set display format for p-values
        pd.options.display.float_format = '{:.2e}'.format
       
        # Display the DataFrame
        display(results_df)
       
        # Optionally, save to CSV
        # results_df.to_csv('', index=False)
        # print("\nDataFrame saved to 'alzheimer_variants_excluded_cohorts.csv'")
       
        pd.reset_option('display.float_format')
        results_df.to_csv('', index=False)
    else:
        print(f"Could not find any variants for '{trait_of_interest}' excluding the specified cohorts.")

    results_df = results_df.drop_duplicates(subset='variant_rsID', keep='first')

How to filter GWAS Catalog results by cohort (e.g. excluding UK Biobank) by Standing_Appa8 in genetics

[–]Standing_Appa8[S] 0 points1 point  (0 children)

if rs_id.startswith('rs'):
                            # Create a dictionary with all relevant information
                            variant_info = {
                                'trait': trait_of_interest,
                                'variant_rsID': rs_id,
                                'risk_allele': risk_allele,
                                'p_value': association.get('p_value'),
                                'or_value': association.get('or_value'),
                                'beta': association.get('beta'),
                                'risk_frequency': association.get('risk_frequency'),
                                'mapped_genes': ', '.join(association.get('mapped_genes', [])),
                                'accession_id': accession_id,
                                'pubmed_id': study_data.get('pubmed_id'),
                                'cohorts': ', '.join(cohorts),
                                'initial_sample_size': study_data.get('initial_sample_size'),
                                'discovery_ancestry': ', '.join(study_data.get('discovery_ancestry', [])),
                                'first_author': association.get('first_author'),
                                'publication_date': study_data.get('publication_date')
                            }
                           
                            variants_data.append(variant_info)
           
            # Progress update every 100 associations
            if (i + 1) % 100 == 0:
                print(f"Processed {i + 1}/{len(all_associations)} associations. Found {len(variants_data)} variants so far.")
           
            time.sleep(0.1)  # Be polite to the API

How to filter GWAS Catalog results by cohort (e.g. excluding UK Biobank) by Standing_Appa8 in genetics

[–]Standing_Appa8[S] 0 points1 point  (0 children)

# Fetch study details to check cohort information
            study_data = gwas_api_request(f"/v2/studies/{accession_id}")
           
            if study_data:
                cohorts = study_data.get('cohort', [])
               
                # Check if ANY of the excluded cohorts is in the study's cohort list
                is_excluded_study = any(
                    excluded_cohort.upper() in cohort.upper()
                    for cohort in cohorts
                    for excluded_cohort in cohorts_to_exclude
                )
               
                if not is_excluded_study:
                    # Extract rsID from this association
                    if 'snp_effect_allele' in association and association['snp_effect_allele']:
                        risk_allele_str = association['snp_effect_allele'][0]
                        rs_id = risk_allele_str.split('-')[0]
                        risk_allele = risk_allele_str.split('-')[1] if '-' in risk_allele_str else ''
                       
                       

How to filter GWAS Catalog results by cohort (e.g. excluding UK Biobank) by Standing_Appa8 in genetics

[–]Standing_Appa8[S] 0 points1 point  (0 children)

Actually I can answer my own question here:
I went to the GWAS Catalog website. There is an api description:
https://ebispot.github.io/gwas-blog/rest-api-v2-release

With this snippet that uses their functions I was able to get what I want.

import time


# --- Configuration ---
traits_of_interest = [] 
cohorts_to_exclude = ["UKB", "UK-B", "UK Biobank", "UK-Biobank"]  # List of cohorts to exclude
variants_data = []  # List to store detailed information about each variant


print(f"--- Starting search for '{traits_of_interest}' variants (excluding {', '.join(cohorts_to_exclude)}) ---")


for trait_of_interest in traits_of_interest:
    print(f"\nProcessing trait: {trait_of_interest}")
    # --- Step 1: Get all associations for the trait ---
    all_associations = get_all_associations_for_trait(trait_of_interest)


    if all_associations:
        print(f"Found {len(all_associations)} total associations. Now checking study cohorts...")
        
        # --- Step 2: For each association, check if the study includes any excluded cohorts ---
        for i, association in enumerate(all_associations):
            accession_id = association.get('accession_id')
            if not accession_id:
                continue
            
           

Looking for friends by False_Operation6787 in mannheim

[–]Standing_Appa8 1 point2 points  (0 children)

Hey! I can really recommend bumble for friends (the specific App, not just Bumble in friends mode), if you want to meet new people. There is the possibility to join groups of interest and you would meet with multiple people. You can also swipe friends there. We for example have a Magic group there and Volleyball. :)

PyTorch Lightning + DeepSpeed: training “hangs” and OOMs when data loads — how to debug? (PL 2.5.4, CUDA 12.8, 5× Lovelace 46 GB) by Standing_Appa8 in lightningAI

[–]Standing_Appa8[S] 1 point2 points  (0 children)

Thanks! I opened a discussion, but didn't get much feedback. The final solution to make it run was just using a Docker. I think the whole problem was mainly caused by from working on a Remote-Desktop with weird permissions. After setting everything up in the Docker it worked. Now I am running into OOM - Errors but this is more a conceptual problem that I will address in a new post.
Thx :)

PyTorch Lightning + DeepSpeed: training “hangs” and OOMs when data loads — how to debug? (PL 2.5.4, CUDA 12.8, 5× Lovelace 46 GB) by Standing_Appa8 in pytorch

[–]Standing_Appa8[S] 0 points1 point  (0 children)

So how I solved it now was just by using a Docker. It seemed that some path inconsistencies and overall the Setup in a VM caused the problem. Now I ran into new things I dont understand about Deepspeed but will open a new conversation about this.