File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/cool_seq_tool/mappers Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -840,6 +840,7 @@ async def _genomic_to_tx_segment(
840840 if not tx_exons :
841841 return GenomicTxSeg (errors = [f"No exons found given { transcript } " ])
842842
843+ # Determine if genomic_pos needs to be modified
843844 strand = Strand (tx_exons [0 ].alt_strand )
844845 params ["strand" ] = strand
845846 use_alt_start_i = self ._use_alt_start_i (
@@ -848,7 +849,7 @@ async def _genomic_to_tx_segment(
848849 if use_alt_start_i and coordinate_type == CoordinateType .RESIDUE :
849850 genomic_pos = genomic_pos - 1 # Convert residue coordinate to inter-residue
850851
851- # gene is not required to liftover coordinates if tx_ac and genomic_ac are given, but we should set the associated gene
852+ # Extract gene symbol given transcript accession
852853 if not gene :
853854 _gene , err_msg = await self ._get_tx_ac_gene (transcript )
854855 if err_msg :
You can’t perform that action at this time.
0 commit comments