An in vivo parallelized reporter assay to uncover tissue-specific splicing regulatory sequences in a multicellular animal.
The 1 match
- [1] § Materials and methods › Phylogenetically averaged motif score analysis on C. elegans neuronal/muscle switch-like splicing events ↔ gff_exon-intron_annotations.py, lines 567–615 · score 0.68 · retained introns, skipped exons, ss exons, GFF, metadata, splicing event
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 736 lines · 44 KB · Apache-2.0 · 1 match
- import os
- import sys
- import numpy as np
- import matplotlib.pyplot as plt
- gff_file = sys.argv[1]
- keywords_file = sys.argv[2]
- intron_annot_file = sys.argv[3]
- exon_intron_annot_file = sys.argv[4]
- intron_cords_file = sys.argv[5]
- coordinate_type = sys.argv[6] # relative coordinates or absolute coordinates.
- median = int(sys.argv[7])
- # Depending on the length you want your sequences to be resized to, you can either choose to enter a length here
- # alternatively if you want to use the median length for resizing you can comment this out and use the code below on
- # median = round_to_nearest_multiple_of_10(median_size)
- # To keep it simple, I have used the variable name median and it depends on user to use the actual median size or
- # specify a length they'd like the introns to be resized to.
- # CAN BE CONVERTED TO BED FILE EASILY WITH EXCEL AND R - crdnts_to_bed.r ###
- #Simple logic here is if the exon spans an intron, it likely is a retained intron event whereas if an intron spans an exon, that's not an actual intron and gets filtered out by intron_filter().
- def retained_introns(model):
- model['splicing_event'] = np.nan
- exons = model[model['group'] == 'exon']
- introns = model[model['group'] == 'intron']
- exoncoords = set(map(tuple, exons[['start', 'end']].values))
- for index, row in introns.iterrows():
- for exon_start, exon_end in exoncoords:
- if exon_start < row['start'] and exon_end > row['end']:
- model.loc[index, 'splicing_event'] = 'retained intron'
- exon_to_delete = exons[(exons['start'] == exon_start) & (exons['end'] == exon_end)]
- model.loc[exon_to_delete.index, 'splicing_event'] = 'drop'
- # I am dropping those exons which aren't real exons but two exons flanking a retained intron.
- model = model[model['splicing_event'] != 'drop']
- return model
- def exon_cat(gene_model):
- group=gene_model[gene_model['group']=='exon']
- group.sort_values(by=['transcript_id'],inplace=True)
- group['transcript_id'] = group['transcript_id'].astype(str).str.replace('transcript_id=','')
- smallest_exon_start_tr = group.groupby(['transcript_id'])[['start','end']].min().reset_index()
- greatest_exon_end_tr = group.groupby(['transcript_id'])[['start','end']].max().reset_index()
- group['splicing_event'] = np.nan
- smallest_exon_rows = group[group[['transcript_id','start', 'end']].apply(tuple, axis=1).isin(smallest_exon_start_tr[['transcript_id','start', 'end']].apply(tuple, axis=1))]
- greatest_exon_rows = group[group[['transcript_id','start', 'end']].apply(tuple, axis=1).isin(greatest_exon_end_tr[['transcript_id','start', 'end']].apply(tuple, axis=1))]
- if '+' in group['strand'].unique():
- group.loc[smallest_exon_rows.index, 'splicing_event'] = 'first_exon'
- group.loc[greatest_exon_rows.index, 'splicing_event'] = 'last_exon'
- elif '-' in group['strand'].unique():
- group.loc[smallest_exon_rows.index, 'splicing_event'] = 'last_exon'
- group.loc[greatest_exon_rows.index, 'splicing_event'] = 'first_exon'
- excluded = group[
- (group['splicing_event'] == 'first_exon') |
- (group['splicing_event'] == 'last_exon')
- ][['start','end', 'transcript_id']]
- excluded_set = set(map(tuple, excluded.values))
- excluded_tuples = group[['start', 'end', 'transcript_id']].apply(tuple, axis=1).isin(excluded_set)
- filtered_group = group[~(excluded_tuples)]
- constitutive_alltrs_dic={}
- tr_numfilter = filtered_group['transcript_id'].nunique()
- alltrexons = filtered_group.groupby(['start','end'])['transcript_id'].count().reset_index(name='transcript_id_count')
- Const_overall_trs_condition = alltrexons[alltrexons['transcript_id_count'] == tr_numfilter]
- if not Const_overall_trs_condition.empty:
- constitutive_alltrs_tuples = set(Const_overall_trs_condition[['start', 'end']].itertuples(index=False, name=None))
- else:
- constitutive_alltrs_tuples=set()
- #Processing skipped and constitutive separately.
- first_exon_rows = group[group['splicing_event'] == 'first_exon']
- first_exon_tuples = first_exon_rows[['start','end','transcript_id']].apply(tuple, axis=1)
- # Grouping transcripts by first exons.
- tr_subgroup_df = first_exon_rows.groupby(['start','end'])['transcript_id'].apply(list).reset_index()
- tr_subgroup = tr_subgroup_df['transcript_id'].to_dict()
- skipped_dic = {}
- constitutive_dic = {}
- # group transcripts into sub-groups based on first exon and then locate the exon under question in the transcripts that have first exons coordinates smaller than exon in quesstion !
- # I am creating transcript subgroups with all exons except the first ones. Hence, I use filtered_group for subgroup.
- for key in tr_subgroup:
- subgroup = group[group['transcript_id'].isin(tr_subgroup[key])]
- tr_num = subgroup['transcript_id'].nunique()
- subgroup_filter =subgroup[~(subgroup['splicing_event']=='first_exon') & ~(subgroup['splicing_event']=='last_exon')]
- ex_counts = subgroup_filter.groupby(['start', 'end'])['transcript_id'].count().reset_index(name='transcript_id_count')
- skipped_condition = ex_counts[ex_counts['transcript_id_count'] < tr_num]
- skipped = list(skipped_condition[['start', 'end']].itertuples(index=False, name=None))
- skipped_dic[key] = skipped
- constitutive_condition = ex_counts[ex_counts['transcript_id_count'] == tr_num]
- constitutive = list((constitutive_condition[['start', 'end']].itertuples(index=False, name=None)))
- constitutive_dic[key]=constitutive
- # Next approach will be parsing out the true constitutive and skipped based on first exon coordinates.
- constitutive_true_dic={}
- constitutive_tuples_pre = set(tuple_ for tuples_list in constitutive_dic.values() for tuple_ in tuples_list)
- for coords in constitutive_tuples_pre:
- start, end = coords
- if '+' in first_exon_rows['strand'].unique():
- # With this line of code I am checking if the exon in question is an internal exon in any of the transcripts.
- # Only when I locate transcript block by its first exon and then if the exon in question is internal to it ( start > tup[1] (or first_exon end)) then, I extract the transcript_ids
- subset_condition = group.loc[
- group.apply(
- lambda row: any(start > tup[1]
- for tup in first_exon_tuples
- if ((row['end'] == tup[1]) & (row['splicing_event'] == 'first_exon'))
- ),axis=1)]
- trs = subset_condition['transcript_id'].unique()
- subset_trs = filtered_group[filtered_group['transcript_id'].isin(trs)]
- elif '-' in first_exon_rows['strand'].unique():
- subset_condition = group.loc[
- group.apply(
- lambda row: any(start < tup[1]
- for tup in first_exon_tuples
- if ((row['end'] == tup[1]) & (row['splicing_event'] == 'first_exon'))
- ),axis=1)]
- trs = subset_condition['transcript_id'].unique()
- subset_trs = filtered_group[filtered_group['transcript_id'].isin(trs)]
- second_ex_counts = subset_trs.groupby(['start', 'end'])['transcript_id'].count().reset_index(name='transcript_id_count')
- tr_num_subset = subset_trs['transcript_id'].nunique()
- skipped_sec_condition = second_ex_counts[second_ex_counts['transcript_id_count'] < tr_num_subset][['start','end']]
- if start in list(skipped_sec_condition['start']):
- skipped_dic[start]=[]
- skipped_dic[start].append(coords)
- const_real = second_ex_counts[second_ex_counts['transcript_id_count'] == tr_num_subset][['start','end']]
- if start in list(const_real['start']):
- constitutive_true_dic[start]=[]
- constitutive_true_dic[start].append(coords)
- skipped_tuples = set(tuple_ for tuples_list in skipped_dic.values() for tuple_ in tuples_list)
- constitutive_tuples = set(tuple_ for tuples_list in constitutive_true_dic.values() for tuple_ in tuples_list)
- #I am accounting for first and last exons here, they need to be excluded when I am trying to classify exons of other transcripts in which the first exon of trs1 might be a second or third exon.
- tr_num = filtered_group['transcript_id'].nunique()
- ex_1start_more_ends = filtered_group.groupby(['start']).filter(lambda g: g['end'].nunique() > 1)
- ex_1start_more_ends_count = ex_1start_more_ends.groupby(['start'])['transcript_id'].transform('count')
- composite_condition1 = ex_1start_more_ends[(ex_1start_more_ends_count < tr_num)]
- ex_1end_more_starts = filtered_group.groupby(['end']).filter(lambda g: g['start'].nunique() > 1)
- ex_1end_more_starts_count = ex_1end_more_starts.groupby(['end'])['transcript_id'].transform('count')
- composite_condition2 = ex_1end_more_starts[(ex_1end_more_starts_count < tr_num)]
- if '+' in group['strand'].unique():
- group.loc[group['start'].isin(ex_1start_more_ends['start']), 'splicing_event'] ='alt_5_prime'
- group.loc[group['end'].isin(ex_1end_more_starts['end']), 'splicing_event'] ='alt_3_prime'
- if len(composite_condition1)>0:
- group.loc[group['start'].isin(composite_condition1['start']), 'splicing_event'] ='composite_alt_5_skipped'
- if len(composite_condition2)>0:
- group.loc[group['end'].isin(composite_condition2['end']), 'splicing_event'] ='composite_alt_3_skipped'
- group.loc[group.apply(lambda row: (row['start'], row['end']) in skipped_tuples and pd.isna(row['splicing_event']), axis=1),
- 'splicing_event'] = 'skipped_exon'
- group.loc[group.apply(lambda row: ((row['start'], row['end']) in constitutive_tuples) and ((row['start'], row['end']) in constitutive_alltrs_tuples), axis=1),
- 'splicing_event'] = 'constitutive'
- group.loc[group.apply(lambda row: ((row['start'], row['end']) in constitutive_tuples) and not ((row['start'], row['end']) in constitutive_alltrs_tuples), axis=1),
- 'splicing_event'] = 'constitutive_totranscript'
- elif '-' in group['strand'].unique():
- group.loc[group['start'].isin(ex_1start_more_ends['start']), 'splicing_event'] ='alt_3_prime(-)'
- if len(composite_condition1)>0:
- group.loc[group['start'].isin(composite_condition1['start']), 'splicing_event'] ='composite_alt_3_skipped(-)'
- group.loc[group['end'].isin(ex_1end_more_starts['end']), 'splicing_event'] ='alt_5_prime(-)'
- if len(composite_condition2)>0:
- group.loc[group['end'].isin(composite_condition2['end']), 'splicing_event'] ='composite_alt_5_skipped(-)'
- group.loc[group.apply(lambda row: (row['start'], row['end']) in skipped_tuples and pd.isna(row['splicing_event']), axis=1),
- 'splicing_event'] = 'skipped_exon(-)'
- group.loc[group.apply(lambda row: ((row['start'], row['end']) in constitutive_tuples) and ((row['start'], row['end']) in constitutive_alltrs_tuples), axis=1),
- 'splicing_event'] = 'constitutive(-)'
- group.loc[group.apply(lambda row: ((row['start'], row['end']) in constitutive_tuples) and not ((row['start'], row['end']) in constitutive_alltrs_tuples), axis=1),
- 'splicing_event'] = 'constitutive_totranscript(-)'
- # This snippet is repeated so that some exons, which get labelled wrongly as any other events, even though they show those characteristics, to keep it simple, this will override and will always label such exons as first exons over any other thing.
- if '+' in group['strand'].unique():
- group.loc[smallest_exon_rows.index, 'splicing_event'] = 'first_exon'
- group.loc[greatest_exon_rows.index, 'splicing_event'] = 'last_exon'
- elif '-' in group['strand'].unique():
- group.loc[smallest_exon_rows.index, 'splicing_event'] = 'last_exon'
- group.loc[greatest_exon_rows.index, 'splicing_event'] = 'first_exon'
- gene_model = gene_model.merge(
- group[['start', 'end', 'splicing_event']],
- on=['start', 'end'],
- how='left'
- )
- gene_model['splicing_event'] = gene_model['splicing_event_y'].combine_first(gene_model['splicing_event_x'])
- gene_model.drop(['splicing_event_x', 'splicing_event_y'], axis=1, inplace=True)
- return gene_model
- def intron_filter(group):
- exon_condition = group[
- group['splicing_event'].astype(str).str.contains('constitutive') |
- group['splicing_event'].astype(str).str.contains('skipped_exon') |
- group['splicing_event'].astype(str).str.contains('first') |
- group['splicing_event'].astype(str).str.contains('last')]
- exon_range = set(exon_condition[['start','end']].itertuples(index=False, name=None))
- first_exons = group[group['splicing_event'].astype(str).str.contains('first')]
- last_exons = group[group['splicing_event'].astype(str).str.contains('last')]
- alt_3_exons = group[group['splicing_event'].astype(str).str.contains('alt_3')]
- alt_5_exons = group[group['splicing_event'].astype(str).str.contains('alt_5')]
- skipped_exons = group[group['splicing_event'].astype(str).str.contains('skipped_exon')]
- skipped_range = set(skipped_exons[['start', 'end']].itertuples(index=False, name=None))
- constitutive = group[group['splicing_event'].astype(str).str.contains('constitutive')]
- if '+' in group['strand'].unique():
- limitcoord_alt3 = alt_3_exons.groupby('end').apply(
- lambda group: group.loc[group['start'].idxmin()]
- ).reset_index(drop=True)
- limitcoord_alt5 = alt_5_exons.groupby('start').apply(
- lambda group: group.loc[group['end'].idxmax()]
- ).reset_index(drop=True)
- elif '-' in group['strand'].unique():
- limitcoord_alt5 = alt_5_exons.groupby('end').apply(
- lambda group: group.loc[group['start'].idxmin()]
- ).reset_index(drop=True)
- limitcoord_alt3 = alt_3_exons.groupby('start').apply(
- lambda group: group.loc[group['end'].idxmax()]
- ).reset_index(drop=True)
- group['correct_coords'] = np.nan
- introns = group[group['group']=='intron'].copy()
- for index, row in introns.iterrows():
- start, end, strand = row['start'], row['end'], row['strand']
- tr_id = row['transcript_id']
- is_in_exon_range = any(
- (exon_start <= end and exon_end >= start)
- for exon_start, exon_end in exon_range)
- if strand == '+':
- matches_first = ((start in (first_exons['end'] + 1).values) or (end in (first_exons['start'] - 1).values)) & (tr_id in first_exons['transcript_id'])
- matches_last = ((start in (last_exons['end'] + 1).values) or (end in (last_exons['start'] - 1).values)) & (tr_id in last_exons['transcript_id'])
- matches_alt3 = not limitcoord_alt3.empty and (
- end in (limitcoord_alt3['start'] - 1).values)
- matches_alt5 = not limitcoord_alt5.empty and (
- start in (limitcoord_alt5['end'] + 1).values)
- matches_constitutive = not constitutive.empty and (
- start in (constitutive['end'] + 1).values or end in (constitutive['start'] - 1).values)
- matches_skipped = not skipped_exons.empty and (
- start in (skipped_exons['end'] + 1).values or end in (skipped_exons['start'] - 1).values)
- elif (strand == '-'):
- matches_first = ((start in (first_exons['end'] + 1).values) or (end in (first_exons['start'] - 1).values)) & (tr_id in first_exons['transcript_id'])
- matches_last = ((start in (last_exons['end'] + 1).values) or (end in (last_exons['start'] - 1).values)) & (tr_id in last_exons['transcript_id'])
- matches_alt3 = not limitcoord_alt3.empty and (
- start in (limitcoord_alt3['end'] + 1).values)
- matches_alt5 = not limitcoord_alt5.empty and (
- end in (limitcoord_alt5['start'] - 1).values)
- matches_constitutive = not constitutive.empty and (
- start in (constitutive['end'] + 1).values or end in (constitutive['start'] - 1).values)
- matches_skipped = not skipped_exons.empty and (
- start in (skipped_exons['end'] + 1).values or end in (skipped_exons['start'] - 1).values)
- if (matches_alt3 or matches_alt5 or matches_constitutive or matches_skipped or matches_first or matches_last) and not is_in_exon_range:
- group.at[index, 'correct_coords'] = 'True'
- else:
- group.at[index, 'correct_coords'] = None
- for index, row in group.iterrows():
- type = row['group']
- if type == 'intron' and pd.isna(row['correct_coords']):
- group.drop(index, inplace=True)
- return group
- def intron_cat(group):
- introns = group[group['group']=='intron']
- first_int = group[group['splicing_event'].str.contains('first', na = False)][['start','end','strand','transcript_id']]
- last_int = group[group['splicing_event'].str.contains('last', na = False)][['start','end','strand','transcript_id']]
- for index, row in introns.iterrows():
- if (row['strand']=='+'):
- if (row['start'] in first_int['end'].values + 1) and (row['transcript_id'] in first_int['transcript_id'].values):
- current_val = group.at[index, 'splicing_event']
- group.at[index, 'splicing_event'] = f"{current_val}, first_intron" if pd.notna(current_val) else "first_intron"
- elif (row['end'] in last_int['start'].values - 1) and (row['transcript_id'] in last_int['transcript_id'].values):
- current_val = group.at[index, 'splicing_event']
- group.at[index, 'splicing_event'] = f"{current_val}, last_intron" if pd.notna(current_val) else "last_intron"
- elif (row['strand']=='-'):
- if (row['end'] in first_int['start'].values - 1) and (row['transcript_id'] in first_int['transcript_id'].values):
- current_val = group.at[index, 'splicing_event']
- group.at[index, 'splicing_event'] = f"{current_val}, first_intron(-)" if pd.notna(current_val) else "first_intron(-)"
- elif (row['start'] in last_int['end'].values + 1) and (row['transcript_id'] in last_int['transcript_id'].values):
- current_val = group.at[index, 'splicing_event']
- group.at[index, 'splicing_event'] = f"{current_val}, last_intron(-)" if pd.notna(current_val) else "last_intron(-)"
- constex_1 = group[group['splicing_event'].str.contains('constitutive',na=False)][['start','end','strand']]
- # Labels introns flanking constitutive exons on both strands
- for index, row in introns.iterrows():
- if (row['start'] in constex_1['end'].values + 1):
- if (row['strand']=='+'):
- group.at[index, 'splicing_event'] = 'constitutive_downstream'
- elif (row['strand']=='-'):
- group.at[index, 'splicing_event'] = 'constitutive_upstream(-)'
- elif (row['end'] in constex_1['start'].values - 1):
- if (row['strand']=='+'):
- group.at[index, 'splicing_event'] = 'constitutive_upstream'
- elif (row['strand']=='-'):
- group.at[index, 'splicing_event'] = 'constitutive_downstream(-)'
- constex = group[group['splicing_event'].str.contains('constitutive_totranscript',na=False)][['start','end','strand']]
- # Labels introns flanking constitutive exons grouped by first exon coords, on both strands
- for index, row in introns.iterrows():
- if (row['start'] in constex['end'].values + 1):
- if (row['strand']=='+'):
- group.at[index, 'splicing_event'] = 'constitutive_totranscript_downstream'
- elif (row['strand']=='-'):
- group.at[index, 'splicing_event'] = 'constitutive_totranscript_upstream(-)'
- elif (row['end'] in constex['start'].values - 1):
- if (row['strand']=='+'):
- group.at[index, 'splicing_event'] = 'constitutive_totranscript_upstream'
- elif (row['strand']=='-'):
- group.at[index, 'splicing_event'] = 'constitutive_totranscript_downstream(-)'
- # Labels introns flanking skipped exons on both strands
- skipex = group[group['splicing_event'].str.contains('skipped_exon',na=False)][['start','end','strand']]
- for index, row in introns.iterrows():
- if (row['start'] in skipex['end'].values + 1):
- if (row['strand']=='+'):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', skipped_downstream'
- else:
- group.at[index, 'splicing_event'] = 'skipped_downstream'
- elif (row['strand']=='-'):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', skipped_upstream(-)'
- else:
- group.at[index, 'splicing_event'] = 'skipped_upstream(-)'
- elif (row['end'] in skipex['start'].values - 1):
- if (row['strand']=='+'):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', skipped_upstream'
- else:
- group.at[index, 'splicing_event'] = 'skipped_upstream'
- elif (row['strand']=='-'):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', skipped_downstream(-)'
- else:
- group.at[index, 'splicing_event'] = 'skipped_downstream(-)'
- #Labels alternative 5'ss exon flanking introns on both strands:
- alt_5 = group[group['splicing_event'].str.contains('alt_5_prime',na=False)][['gene_id','group','start','end','strand','transcript_id']]
- alt_5_ex = alt_5[alt_5['group']=='exon']
- if '+' in alt_5['strand'].unique():
- alt5_ends = alt_5_ex.groupby(['gene_id', 'end', 'start'])['transcript_id'].nunique().reset_index()
- max_end_indices = alt5_ends.groupby(['gene_id', 'start'])['end'].idxmax() #Now I am only selecting the start and end coordinates which are #containing a greater end position i.e. the second 5'ss Because this is where the intron truly begins.
- alt5_grt_end = alt5_ends.loc[max_end_indices]
- elif '-' in alt_5['strand'].unique():
- alt_5_starts = alt_5_ex.groupby(['gene_id', 'end', 'start'])['transcript_id'].nunique().reset_index()
- min_start_indices = alt_5_starts.groupby(['gene_id', 'end'])['start'].idxmin()
- neg_alt_small_starts = alt_5_starts.loc[min_start_indices]
- for index, row in introns.iterrows():
- if (row['strand']=='+') and not alt_5.empty:
- if (row['start'] in alt5_grt_end['end'].values + 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', alt_5_downstream'
- else:
- group.at[index, 'splicing_event'] = 'alt_5_downstream'
- elif (row['end'] in alt5_grt_end['start'].values - 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', alt_5_upstream'
- else:
- group.at[index, 'splicing_event'] = 'alt_5_upstream'
- elif (row['strand']=='-') and not alt_5.empty:
- if (row['start'] in neg_alt_small_starts['end'].values + 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', alt_5_upstream(-)'
- else:
- group.at[index, 'splicing_event'] = 'alt_5_upstream(-)'
- elif (row['end'] in neg_alt_small_starts['start'].values - 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', alt_5_downstream(-)'
- else:
- group.at[index, 'splicing_event'] = 'alt_5_downstream(-)'
- #Labelling composite alternative 5'ss skipped exon flanking introns
- composite_alt_5 = group[group['splicing_event'].str.contains('composite_alt_5_skipped',na=False)][['gene_id','group','start','end','strand','transcript_id']]
- composite_alt_5_ex = composite_alt_5[composite_alt_5['group']=='exon']
- if '+' in composite_alt_5['strand'].unique():
- comp_alt5_ends = composite_alt_5_ex.groupby(['gene_id', 'end', 'start'])['transcript_id'].nunique().reset_index()
- comp_max_end_indices = comp_alt5_ends.groupby(['gene_id', 'start'])['end'].idxmax() #Now I am only selecting the start and end coordinates which are #containing a greater end position i.e. the second 5'ss Because this is where the intron truly begins.
- comp_alt5_grt_end = comp_alt5_ends.loc[comp_max_end_indices]
- elif '-' in composite_alt_5['strand'].unique():
- composite_alt_5_starts = composite_alt_5_ex.groupby(['gene_id', 'end', 'start'])['transcript_id'].nunique().reset_index()
- comp_min_start_indices = composite_alt_5_starts.groupby(['gene_id', 'end'])['start'].idxmin()
- comp_neg_alt_small_starts = composite_alt_5_starts.loc[comp_min_start_indices]
- for index, row in introns.iterrows():
- if (row['strand']=='+') and not composite_alt_5.empty:
- if (row['start'] in comp_alt5_grt_end['end'].values + 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', composite_alt_5_downstream'
- else:
- group.at[index, 'splicing_event'] = 'composite_alt_5_downstream'
- elif (row['end'] in comp_alt5_grt_end['start'].values - 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', composite_alt_5_upstream'
- else:
- group.at[index, 'splicing_event'] = 'composite_alt_5_upstream'
- elif (row['strand']=='-') and not composite_alt_5.empty:
- if (row['start'] in comp_neg_alt_small_starts['end'].values + 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', composite_alt_5_upstream(-)'
- else:
- group.at[index, 'splicing_event'] = 'composite_alt_5_upstream(-)'
- elif (row['end'] in comp_neg_alt_small_starts['start'].values - 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', composite_alt_5_downstream(-)'
- else:
- group.at[index, 'splicing_event'] = 'composite_alt_5_downstream(-)'
- #Labels alternative 5'ss exon flanking introns on both strands:
- alt_3 = group[group['splicing_event'].str.contains('alt_3_prime',na=False)][['gene_id','group','start','end','strand','transcript_id']]
- alt_3_ex = alt_3[alt_3['group']=='exon']
- if '+' in alt_3['strand'].unique():
- alt3_starts = alt_3_ex.groupby(['gene_id', 'end', 'start'])['transcript_id'].nunique().reset_index()
- min_start_indices = alt3_starts.groupby(['gene_id', 'end'])['start'].idxmin()
- alt3_small_starts = alt3_starts.loc[min_start_indices]
- elif '-' in alt_3['strand'].unique():
- N_alt3_ends = alt_3_ex.groupby(['gene_id', 'start', 'end'])['transcript_id'].nunique().reset_index()
- max_end_indices = N_alt3_ends.groupby(['gene_id', 'start'])['end'].idxmax()
- N_alt3_grt_end = N_alt3_ends.loc[max_end_indices]
- for index, row in introns.iterrows():
- if (row['strand']=='+') and not alt_3.empty:
- if (row['start'] in alt3_small_starts['end'].values + 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', alt_3_downstream'
- else:
- group.at[index, 'splicing_event'] = 'alt_3_downstream'
- elif (row['end'] in alt3_small_starts['start'].values - 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', alt_3_upstream'
- else:
- group.at[index, 'splicing_event'] = 'alt_3_upstream'
- elif (row['strand']=='-') and not alt_3.empty:
- if (row['start'] in N_alt3_grt_end['end'].values + 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', alt_3_upstream(-)'
- else:
- group.at[index, 'splicing_event'] = 'alt_3_upstream(-)'
- elif (row['end'] in N_alt3_grt_end['start'].values - 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', alt_3_downstream(-)'
- else:
- group.at[index, 'splicing_event'] = 'alt_3_downstream(-)'
- #Labelling composite alternative 3'ss skipped exon flanking introns
- composite_alt_3 = group[group['splicing_event'].str.contains('composite_alt_3_skipped',na=False)][['gene_id','group','start','end','strand','transcript_id']]
- composite_alt_3_ex = composite_alt_3[composite_alt_3['group']=='exon']
- if '+' in composite_alt_3['strand'].unique():
- comp_alt3_starts = composite_alt_3_ex.groupby(['gene_id', 'end', 'start'])['transcript_id'].nunique().reset_index()
- comp_min_start_indices = comp_alt3_starts.groupby(['gene_id', 'end'])['start'].idxmin()
- comp_alt3_small_starts = comp_alt3_starts.loc[comp_min_start_indices]
- elif '-' in composite_alt_3['strand'].unique():
- comp_N_alt3_ends = composite_alt_3_ex.groupby(['gene_id', 'start', 'end'])['transcript_id'].nunique().reset_index()
- comp_max_end_indices = comp_N_alt3_ends.groupby(['gene_id', 'start'])['end'].idxmax()
- comp_N_alt3_grt_end = comp_N_alt3_ends.loc[comp_max_end_indices]
- for index, row in introns.iterrows():
- if (row['strand']=='+') and not composite_alt_3.empty:
- if (row['start'] in comp_alt3_small_starts['end'].values + 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', composite_alt_3_downstream'
- else:
- group.at[index, 'splicing_event'] = 'composite_alt_3_downstream'
- elif (row['end'] in comp_alt3_small_starts['start'].values - 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', composite_alt_3_upstream'
- else:
- group.at[index, 'splicing_event'] = 'composite_alt_3_upstream'
- elif (row['strand']=='-') and not composite_alt_3.empty:
- if (row['start'] in comp_N_alt3_grt_end['end'].values + 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', composite_alt_3_upstream(-)'
- else:
- group.at[index, 'splicing_event'] = 'composite_alt_3_upstream(-)'
- elif (row['end'] in comp_N_alt3_grt_end['start'].values - 1):
- current_val = group.at[index, 'splicing_event']
- if pd.notna(current_val):
- group.at[index, 'splicing_event'] = current_val + ', composite_alt_3_downstream(-)'
- else:
- group.at[index, 'splicing_event'] = 'composite_alt_3_downstream(-)'
- return group
- keywords = []
- import pandas as pd
- r2 = pd.read_csv(gff_file, sep='\t', names=['Chr', 'source', 'group', 'start', 'end', '_', 'strand', '-', 'info'])
- r2.dropna(axis=0, inplace=True)
- r2_Ex_Int = r2[(r2['group'] == 'exon') | (r2['group'] == 'intron')].copy()
- # r2_Ex_Int[['ID','Parent','gene_id', 'gene_symbol','transcript_id','transcript_symbol']] = r2_Ex_Int[
- # 'info'].str.split(';', expand=True) #- Drosophila gff has these entries in metadata column
- print('\n \\ The original gff dataframe. Parsing out the metadata column - info. \\\n')
- print(r2_Ex_Int.head(10))
- with open(keywords_file, 'r') as file:
- for w in file:
- keywords.append(str(w.rstrip()))
- # Converting metadata column identifiers (keywords) into columns and extracting relevant information.
- pattern = '|'.join(r'(?P<{}>{}=[^;]+)'.format(k, k) for k in keywords)
- extracted_info = r2_Ex_Int['info'].str.extractall(pattern)
- grouped_info = extracted_info.fillna('').astype(str).groupby(level=0).agg(lambda x: ';'.join(filter(None, x)))
- grouped_info.columns = [f'{col}' for col in grouped_info.columns]
- r2_Ex_Int = r2_Ex_Int.join(grouped_info, how='left')
- print('\n \\ Here\'s a glimpse of the modified gff dataframe. \\ \n')
- print(r2_Ex_Int.head(10))
- r2_Ex_Int.to_csv('gff_parsed_meta.csv', sep='\t')
- r2_Ex_Int.sort_values(by=['gene_id', 'start'], ascending=True, inplace=True)
- r2_Ex_Int.drop(labels='info', axis=1, inplace=True)
- r2_Ex_Int.loc[:, 'sort_order'] = r2_Ex_Int.apply(lambda x: x['start'] if x['strand'] == '+' else -x['start'], axis=1)
- r2_Ex_Int = r2_Ex_Int.sort_values(by=['sort_order'])
- r2_Ex_Int = r2_Ex_Int.drop(columns=['sort_order'])
- r2_Ex_Int['order_of_appearance'] = r2_Ex_Int.groupby(['group', 'transcript_id']).cumcount() + 1
- r2_Ex_Int_1 = r2_Ex_Int.groupby(['gene_id']).apply(lambda x: retained_introns(x))
- r2_Ex_Int_1.reset_index(drop=True, inplace=True)
- r2_Exons_annot_composite = r2_Ex_Int_1.groupby(['gene_id']).apply(lambda x: exon_cat(x))
- r2_Exons_annot_composite.reset_index(drop=True, inplace=True)
- retained_introns = len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'retained intron'])
- constitutive = len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'constitutive']) + len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'constitutive(-)'])
- skipped = len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'skipped_exon']) + len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'skipped_exon(-)'])
- alt_5 = len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'alt_5_prime']) + len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'alt_5_prime(-)'])
- alt_3 = len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'alt_3_prime']) + len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'alt_3_prime(-)'])
- composite = len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'composite_alt_3_skipped']) + len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'composite_alt_3_skipped(-)']) + len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'composite_alt_5_skipped']) + len(r2_Exons_annot_composite[r2_Exons_annot_composite['splicing_event'] == 'composite_alt_5_skipped(-)'])
- print(f'Total number of constitutive exons: {constitutive}')
- print(f'Total number of skipped exons: {skipped}')
- print(f'Total number of alternative 5\'ss exons: {alt_5}')
- print(f'Total number of alternative 3\'ss exons: {alt_3}')
- print(f'Total number of composite alternative 5\'ss or alternative 3\'ss containing and skipped exons: {composite}')
- print(f'Total number of retained introns: {retained_introns}')
- df_final = r2_Exons_annot_composite.groupby(['gene_id']).apply(lambda x: intron_filter(x))
- df_final.reset_index(drop=True, inplace=True)
- all_annot_df = df_final.groupby(['gene_id']).apply(lambda x: intron_cat(x))
- df_final.to_csv('./Exonslabelled_intronsnot.csv', sep='\t')
- print(all_annot_df.head(10))
- all_annot_df.reset_index(drop=True, inplace=True)
- all_annot_df.sort_values(by=['gene_id', 'transcript_id', 'order_of_appearance'], ascending=True, inplace=True)
- ############################################################# The functions below, scaled_coordinates () and scale_group () were written for cases where we only have sequence fasta files of orthologues and reference sps
- # For example, the analysis I did on C.elegans switch like splicing events. I had relative coordinates that were inferred from the fasta files. I didn't have absolute coordinates ######## If this isn't the case, the lines
- # where these functions are being called can be commented out. ##### The lines are only to represent everything in terms of sclaed or relative coordinates.#################################################################
- if coordinate_type == 'relative':
- def scale_coordinates(row, start, end):# removed strand from args, since same function works for both strands.
- max_length = start - end
- qstart = 0
- scaled_rstart = qstart + (row['start'] - start)
- scaled_rend = qstart + (row['end'] - start)
- return pd.Series([scaled_rstart, scaled_rend], index=['scaled_rstart', 'scaled_rend'])
- # Group by 'gene' and apply scaling function
- def scale_group(group):
- # For each group (gene), calculate min and max start and end, works for both strands since start and ends are always
- # smaller start and greater end, only the order in negative strand is reversed, i.e., exon with smallest start is the
- # last exon. Draw it out to avoid confusion.
- strand = group['strand'].iloc[0]
- min_rstart = group['start'].min()
- max_rend = group['end'].max()
- group[['scaled_rstart', 'scaled_rend']] = group.apply(scale_coordinates, axis=1, args=(min_rstart, max_rend))
- group = group.rename(columns={'start': 'absolute_start', 'end': 'absolute_end'})
- group = group.rename(columns={'scaled_rstart': 'start', 'scaled_rend': 'end'})
- return group
- # Assuming 'Parent' identifies different genes
- scaled_df = all_annot_df.groupby('Parent').apply(scale_group).reset_index(drop=True)
- # Assuming 'Parent' identifies different genes
- all_annot_Introns = scaled_df[scaled_df['group'] == 'intron']
- elif coordinate_type =='absolute':
- all_annot_Introns = all_annot_df[all_annot_df['group'] == 'intron']
- all_annot_Introns = all_annot_Introns.copy()
- #Unknown_Intron_indices = all_annot_Introns[all_annot_Introns['splicing_event_y_y'] == 'intron'].index
- #all_annot_Introns.drop(Unknown_Intron_indices, inplace=True)
- all_annot_Introns['ID'] = all_annot_Introns['Chr'].astype(str) + '_' + all_annot_Introns['start'].astype(str) + '_' + \
- all_annot_Introns['end'].astype(str)
- all_annot_Introns.groupby(['ID', 'gene_id', 'splicing_event'])['splicing_event'].nunique()
- Intron_df = all_annot_Introns
- # 1. Calculating size of introns
- all_annot_Introns['size'] = abs(all_annot_Introns['start'] - all_annot_Introns['end'])
- print('The median size of introns is : ')
- print(all_annot_Introns['size'].median())
- median_size = all_annot_Introns['size'].median()
- def round_to_nearest_multiple_of_10(number):
- return round(number / 10) * 10
- if median == 0:
- median = round_to_nearest_multiple_of_10(median_size)
- print('The introns bigger than the median size are being resized to - %d bp. \n' % median)
- # 2. Eliminating extremely small introns
- small_introns = all_annot_Introns[all_annot_Introns['size'] < 10].index
- all_annot_Introns = all_annot_Introns.drop(small_introns)
- # 3. Creating a separate dataframe for introns smaller than median bp in length
- Intron_size_median = all_annot_Introns[all_annot_Introns['size'] < median]
- # 4. Processing introns greater than median bp in length
- Intron_size_great_median = all_annot_Introns[all_annot_Introns['size'] >= median]
- Intron_size_great_median['End_medianbp_apart'] = Intron_size_great_median['start'] + median
- Intron_size_great_median['Start_medianbp_apart'] = Intron_size_great_median['end'] - median
- # Creating new ID columns for starting median bp and ending median bp of introns
- Intron_size_great_median['ID_Starting_median'] = Intron_size_great_median['Chr'].astype(str) + '_' + \
- Intron_size_great_median[
- 'strand'] + '_' + Intron_size_great_median['start'].astype(
- str) + '_' + Intron_size_great_median[
- 'End_medianbp_apart'].astype(str)
- Intron_size_great_median['ID_Ending_median'] = Intron_size_great_median['Chr'].astype(str) + '_' + \
- Intron_size_great_median[
- 'strand'] + '_' + Intron_size_great_median[
- 'Start_medianbp_apart'].astype(str) + '_' + Intron_size_great_median[
- 'end'].astype(str)
- merged_intron_df = pd.concat([Intron_size_great_median, Intron_size_median], ignore_index=True)
- merged_intron_df.drop_duplicates(inplace=True)
- merged_intron_df.to_csv(intron_annot_file, sep='\t')
- # Extracting the coordinates and arranging them based on their strands. ##
- # NOTE: THESE NEED TO BE CONVERTED TO BED FILE ###
- # CAN BE CONVERTED TO BED FILE EASILY WITH EXCEL AND R - GTF-to-bed.r###
- intron_beginningmedian = Intron_size_great_median[
- ['Parent','Chr','group', 'start', 'End_medianbp_apart', 'strand', 'ID_Starting_median']]
- intron_endingmedian = Intron_size_great_median[['Parent','Chr','group', 'Start_medianbp_apart', 'end', 'strand', 'ID_Ending_median']]
- small_intron_coordinates = Intron_size_median[['Parent','Chr','group', 'start', 'end', 'strand', 'ID']]
- intron_beginningmedian.rename(columns={'End_medianbp_apart': 'end', 'ID_Starting_median': 'ID'}, inplace=True)
- intron_endingmedian.rename(columns={'Start_medianbp_apart': 'start', 'ID_Ending_median': 'ID'}, inplace=True)
- big_introns = pd.concat([intron_beginningmedian, intron_endingmedian], ignore_index=True)
- all_intron_coordinates = pd.concat([small_intron_coordinates, big_introns], ignore_index=True)
- all_intron_coordinates.drop_duplicates(inplace=True)
- all_intron_coordinates.to_csv(intron_cords_file, sep='\t')
- if coordinate_type == 'relative':
- all_exon_coordinates = scaled_df[scaled_df['group']=='exon'][['gene_id','Parent','Chr','group','start', 'end','strand', 'ID']]
- all_coordinates = pd.concat([all_intron_coordinates, all_exon_coordinates], ignore_index=True)
- all_coordinates.sort_values(by=['gene_id', 'start'], ascending=[True, True], inplace=True)
- all_coordinates.to_csv('./CelsWS15_Exon_IntronFragment_coordinates_April2025.tsv', sep='\t', index=False)
- scaled_df.to_csv(exon_intron_annot_file, sep='\t')
- elif coordinate_type == 'absolute':
- all_exon_coordinates = all_annot_df[all_annot_df['group']=='exon'][['gene_id','Parent','Chr','group','start', 'end','strand', 'ID']]
- all_coordinates = pd.concat([all_intron_coordinates, all_exon_coordinates], ignore_index=True)
- all_coordinates.sort_values(by=['gene_id', 'start'], ascending=[True, True], inplace=True)
- all_coordinates.to_csv('./Exon_IntronFragment_April2025_coordinates.tsv', sep='\t', index=False)
- all_annot_df.to_csv(exon_intron_annot_file, sep='\t')
- # The end - this will give an annotated intron coordinates file which can be further analyzed in excel.###
- #%%
gff_exon-intron_annotations.py, under Apache-2.0 · at the source
Overview
- Department of Cell and Systems Biology, 25 Harbord Street, Toronto, Ontario, M5S 3G5, Canada
- Department of Ecology and Evolutionary Biology, 25 Willcocks Street, Toronto, Ontario, M5S 3B2, Canada
Abstract
Introns play a critical role in regulating alternative splicing. However, identifying functional intronic motifs is challenging due to their short and degenerate sequence composition. Massively parallel reporter assays have provided insights into cis-regulatory logic governing alternative splicing, but these approaches are generally performed in cell culture, limiting their ability to capture tissue-specific contexts. Here, we implemented in vivo parallelized reporter assays (PRA) in Caenorhabditis elegans neurons and muscle cells to screen for intronic enhancer and silencer motifs among thousands of randomized sequences. We identified nearly 200 sequences regulating splicing in these tissues. We uncovered core sub-sequences with tissue-biased enhancing and silencing activity, including motifs recognized by well-characterized RNA-binding proteins, and unmapped motifs with no obvious cognate binding protein. Mapping our PRA-derived motifs to native introns flanking tissue-biased alternative exons revealed their conservation across nematodes, supporting their functional relevance. Additionally, individual intronic regions frequently contained diverse combinations of these motifs, indicative of complex engagement of these sequences by RNA-binding proteins. Finally, we performed targeted mutagenesis of PRA-derived intronic enhancers flanking a neuronal microexon, identifying key cis-regulatory determinants of microexon splicing. Together, our study provides a framework to explore the role of intronic regions in tissue-specific splicing regulation within a multicellular organism.
Reproduced under the paper's license (CC BY-NC), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.
Zenodo 15757714
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
4 files
- crdnts_to_bed.R — R, 30 lines
- gff_exon-intron_annotati
ons.py — Python, 736 lines, 1 match - LICENSE — License, 201 lines
- README.md — Text, 107 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 2 scripts, each with its path and the digest of its content;
- 1 match between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- bioproject:PRJNA1359015 — at NCBI BioProject; found in “Data availability”
Data availability
The raw sequence data (fastq files) are available at the NCBI SRA:
https://
The code and additional data are available through Zenodo:
https://
Inferring Exon and Intron Metadata from .gff file (v1.0.1).
https://
Reproduced under the paper's license (CC BY-NC), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 11 authors, 11 MeSH terms, 3 funders, 134 references.
Cite
This paper
Bhatnagar, S., Ho, J., Sadek, N. H., Singh, I., Zoberman, M., Koterniak, B., Liu, Y., Fusca, D. D., Cutter, A. D., Moses, A. M., & Calarco, J. A. (2026). An in vivo parallelized reporter assay to uncover tissue-specific splicing regulatory sequences in a multicellular animal. Nucleic acids research, 54(10), gkag451. https://
BibTeX
@article{bhatnagar2026vi
author = {Bhatnagar, Sanjana and Ho, Jade and Sadek, Nour H and Singh, Isha and Zoberman, Michael and Koterniak, Bina and Liu, Yufang and Fusca, Daniel D and Cutter, Asher D and Moses, Alan M and Calarco, John A},
title = {{An in vivo parallelized reporter assay to uncover tissue-specific splicing regulatory sequences in a multicellular animal}},
journal = {Nucleic acids research},
year = {2026},
month = may,
volume = {54},
number = {10},
pages = {gkag451},
publisher = {Oxford University Press},
issn = {0305-1048},
doi = {10.1093/
url = {https://
pmid = {42179040},
pmcid = {PMC13199693}
}
RIS
TY - JOUR
AU - Bhatnagar, Sanjana
AU - Ho, Jade
AU - Sadek, Nour H
AU - Singh, Isha
AU - Zoberman, Michael
AU - Koterniak, Bina
AU - Liu, Yufang
AU - Fusca, Daniel D
AU - Cutter, Asher D
AU - Moses, Alan M
AU - Calarco, John A
TI - An in vivo parallelized reporter assay to uncover tissue-specific splicing regulatory sequences in a multicellular animal
T2 - Nucleic acids research
J2 - Nucleic Acids Res
PY - 2026
DA - 2026/
VL - 54
IS - 10
SP - gkag451
SN - 0305-1048
PB - Oxford University Press
DO - 10.1093/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1093/
"type": "article-journal",
"title": "An in vivo parallelized reporter assay to uncover tissue-specific splicing regulatory sequences in a multicellular animal",
"container-title": "Nucleic acids research",
"author": [
{
"family": "Bhatnagar",
"given": "Sanjana"
},
{
"family": "Ho",
"given": "Jade"
},
{
"family": "Sadek",
"given": "Nour H"
},
{
"family": "Singh",
"given": "Isha"
},
{
"family": "Zoberman",
"given": "Michael"
},
{
"family": "Koterniak",
"given": "Bina"
},
{
"family": "Liu",
"given": "Yufang"
},
{
"family": "Fusca",
"given": "Daniel D"
},
{
"family": "Cutter",
"given": "Asher D"
},
{
"family": "Moses",
"given": "Alan M"
},
{
"family": "Calarco",
"given": "John A"
}
],
"container-title-short":
"volume": "54",
"issue": "10",
"page": "gkag451",
"DOI": "10.1093/
"PMID": "42179040",
"PMCID": "PMC13199693",
"ISSN": "0305-1048",
"publisher": "Oxford University Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
1
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41467-026-76675-1 [code]
- Long-read proteogenomic atlas of human neuronal differentiation reveals isoform diversity informing neurodevelopmental risk mechanisms.Journal: Nature communicationsIn common: pandas, Matplotlib, NumPy, 2 references, author John A Calarco
- [2] doi:10.1038/s41467-026-76320-x [code]
- Intrinsic and non-cell-autonomous roles for the neurodevelopmental syndrome-linked transcription factor UNC-3/
EBF. Journal: Nature communicationsIn common: C. elegans, 4 references - [3] doi:10.1186/s13024-026-00944-2
- TDP-43: [GU]-ardian of the transcriptome.Journal: Molecular neurodegenerationIn common: cellular / molecular, 4 references
- [4] doi:10.1038/s41467-026-75352-7 [code]
- Mechanosensory encoding of surface mechanics optimizes locomotion.Journal: Nature communicationsIn common: pandas, Matplotlib, NumPy, C. elegans, cellular / molecular, 2 references
- [5] doi:10.1126/sciadv.aec9329
- Cohesin and NuRD antagonistically drive alternative neuronal fates via PLZF transcription factors.Journal: Science advancesIn common: C. elegans, cellular / molecular, 4 references
- [6] doi:10.1038/s41586-026-10501-y [code]
- Long-term editing of brain circuits using an engineered electrical synapse.Journal: NatureIn common: pandas, Matplotlib, NumPy, C. elegans, cellular / molecular, 2 references
- [7] doi:10.1016/j.celrep.2026.117288
- Interlocked transcription factor feedback loops maintain and restore adult touch sensation.Journal: Cell reportsIn common: cellular / molecular, 4 references
- [8] doi:10.1371/journal.pcbi.1013441 [code]
- Large vision model framework for automated C. elegans analysis: From static morphometry to dynamic neural activity.Journal: PLoS computational biologyIn common: pandas, Matplotlib, NumPy, C. elegans, 2 references
- [9] doi:10.1016/j.xhgg.2026.100629 [code]
- Positive selection on brain cis-regulatory elements in the human lineage drives changes in gene expression and susceptibility to neuropsychiatric disorders.Journal: HGG advancesIn common: pandas, Matplotlib, NumPy, cellular / molecular, 2 references
- [10] doi:10.1038/s41586-026-10348-3 [code]
- An enteric neuron ionotropic receptor regulates salt stress resistance.Journal: NatureIn common: pandas, Matplotlib, NumPy, C. elegans, cellular / molecular, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 2 scripts, and 1 match between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:5594f5c74267b56f…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
