github.com/hscells/guru@v0.0.0-20200207042420-2dabeb950d69/medline_test.go (about)

     1  package guru_test
     2  
     3  import (
     4  	"bytes"
     5  	"fmt"
     6  	"github.com/hscells/guru"
     7  	"testing"
     8  )
     9  
    10  func TestMedlineParse(t *testing.T) {
    11  	doc := new(bytes.Buffer)
    12  	doc.WriteString(`
    13  PMID- 24399179
    14  OWN - NLM
    15  STAT- MEDLINE
    16  DCOM- 20151117
    17  LR  - 20181113
    18  IS  - 1863-2661 (Electronic)
    19  IS  - 1863-2653 (Linking)
    20  VI  - 220
    21  IP  - 2
    22  DP  - 2015 Mar
    23  TI  - Definition and characterization of an extended social-affective default network.
    24  PG  - 1031-49
    25  LID - 10.1007/s00429-013-0698-0 [doi]
    26  AB  - Recent evidence suggests considerable overlap between the default mode network
    27        (DMN) and regions involved in social, affective and introspective processes. We
    28        considered these overlapping regions as the social-affective part of the DMN. In 
    29        this study, we established a robust mapping of the underlying brain network
    30        formed by these regions and those strongly connected to them (the extended
    31        social-affective default network). We first seeded meta-analytic connectivity
    32        modeling and resting-state analyses in the meta-analytically defined DMN regions 
    33        that showed statistical overlap with regions associated with social and affective
    34        processing. Consensus connectivity of each seed was subsequently delineated by a 
    35        conjunction across both connectivity analyses. We then functionally characterized
    36        the ensuing regions and performed several cluster analyses. Among the identified 
    37        regions, the amygdala/hippocampus formed a cluster associated with emotional
    38        processes and memory functions. The ventral striatum, anterior cingulum,
    39        subgenual cingulum and ventromedial prefrontal cortex formed a heterogeneous
    40        subgroup associated with motivation, reward and cognitive modulation of affect.
    41        Posterior cingulum/precuneus and dorsomedial prefrontal cortex were associated
    42        with mentalizing, self-reference and autobiographic information. The cluster
    43        formed by the temporo-parietal junction and anterior middle temporal sulcus/gyrus
    44        was associated with language and social cognition. Taken together, the current
    45        work highlights a robustly interconnected network that may be central to
    46        introspective, socio-affective, that is, self- and other-related mental
    47        processes.
    48  FAU - Amft, Maren
    49  AU  - Amft M
    50  AD  - Institute of Clinical Neuroscience and Medical Psychology, HHU Dusseldorf,
    51        Dusseldorf, Germany.
    52  FAU - Bzdok, Danilo
    53  AU  - Bzdok D
    54  FAU - Laird, Angela R
    55  AU  - Laird AR
    56  FAU - Fox, Peter T
    57  AU  - Fox PT
    58  FAU - Schilbach, Leonhard
    59  AU  - Schilbach L
    60  FAU - Eickhoff, Simon B
    61  AU  - Eickhoff SB
    62  LA  - eng
    63  GR  - R01 MH074457/MH/NIMH NIH HHS/United States
    64  GR  - R01-MH074457-01A1/MH/NIMH NIH HHS/United States
    65  PT  - Journal Article
    66  PT  - Meta-Analysis
    67  PT  - Research Support, N.I.H., Extramural
    68  PT  - Research Support, Non-U.S. Gov't
    69  DEP - 20140108
    70  PL  - Germany
    71  TA  - Brain Struct Funct
    72  JT  - Brain structure & function
    73  JID - 101282001
    74  SB  - IM
    75  MH  - Adult
    76  MH  - *Affect
    77  MH  - Brain/cytology/*physiology
    78  MH  - Brain Mapping/methods
    79  MH  - Cluster Analysis
    80  MH  - Cognition
    81  MH  - Databases, Factual
    82  MH  - Female
    83  MH  - Humans
    84  MH  - Magnetic Resonance Imaging
    85  MH  - Male
    86  MH  - Memory
    87  MH  - Middle Aged
    88  MH  - Models, Neurological
    89  MH  - Motivation
    90  MH  - Nerve Net/cytology/*physiology
    91  MH  - Retrospective Studies
    92  MH  - Self Concept
    93  MH  - *Social Behavior
    94  MH  - Theory of Mind
    95  MH  - Young Adult
    96  PMC - PMC4087104
    97  MID - NIHMS554054
    98  EDAT- 2014/01/09 06:00
    99  MHDA- 2015/11/18 06:00
   100  CRDT- 2014/01/09 06:00
   101  PHST- 2013/08/26 00:00 [received]
   102  PHST- 2013/12/26 00:00 [accepted]
   103  PHST- 2014/01/09 06:00 [entrez]
   104  PHST- 2014/01/09 06:00 [pubmed]
   105  PHST- 2015/11/18 06:00 [medline]
   106  AID - 10.1007/s00429-013-0698-0 [doi]
   107  PST - ppublish
   108  SO  - Brain Struct Funct. 2015 Mar;220(2):1031-49. doi: 10.1007/s00429-013-0698-0. Epub
   109        2014 Jan 8.
   110  `)
   111  
   112  	md := guru.UnmarshalMedline(doc)
   113  
   114  	for _, d := range md {
   115  		fmt.Println(d.String())
   116  	}
   117  }